News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

New tab with the same file on compilation!!!

Started by neo1691, August 06, 2012, 02:35:17 PM

Previous topic - Next topic

neo1691

Recently I am facing a weird problems while using codeblocks. I upgraded to svn 8150 but the problem persists.
Whenever i build a code, it gives me only one error, ie, undefined reference to main.

On observing a little, I found out that the source was not getting saved whenever i press f9 (build). So after doing a ctrl+s followed by f9, this is what used to happen:
1) A new tab is opened with the same file.
2) The file in the new tab is compiled successfully.

I will be try to post more about the problem as I am still trying to figure out what is triggering the problem.

Jenna

A little less information.

I guess you are on linux and probaly use symlinks for files or directories.

If that's the case, this might help: http://forums.next.codeblocks.org/index.php/topic,7751.msg58365.html#msg58365

neo1691

Yes you got me there, I am using linux (ubuntu 12.04 precise with pasgui's repo for codeblocks)

Okay so the symlinks are causing the problem. I have also auto mounted the other drivers on boot, so i will try to directly access the source files from the drives rather than symlinks on linux. If it works ( and it should looking it has a backing from you :P ), i will say good bye to symlinks.