News:

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

Main Menu

Can Code Blocks ignore the project Folder?

Started by Gazoo, December 11, 2008, 04:39:17 PM

Previous topic - Next topic

Gazoo

Hey codeblockers,

I've decided to have a look around for a more light-weight IDE and code blocks seems quite nice, but already I've hit a wall by wanting to add some additional include directories. I've created the simple hello world project, it compiles and runs nicely... Then I go into the "Build Options..." enter the "Search directories" tab, and add a single folder under the "Linker" tab...

The result is that mingw suddenly says I have no input files:

mingw32-g++.exe: Documents\Hobby\CodeBlocksProjects\testproject\main.cpp -o obj\Release\main.o: No such file or directory
mingw32-g++.exe: no input files

Removing the directory from the list magically fixes the problem... What's going on? I read somewhere that "Search directories" was the proper place to setup additional includes... Am I mistaken? Or does CodeBlocks just ignore the project dir when I add a new one?

Searching the forum I found a similar post back from 2006 without any replies... I must be doing something wrong... But what?

Regards,

Gazoo

stahta01

Please turn on Full Compiler Logging; if you do not see the problem post the build log.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]