Code::Blocks Forums

User forums => Help => Topic started by: Gazoo on December 11, 2008, 04:39:17 pm

Title: Can Code Blocks ignore the project Folder?
Post by: Gazoo on December 11, 2008, 04:39:17 pm
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
Title: Re: Can Code Blocks ignore the project Folder?
Post by: stahta01 on December 12, 2008, 06:36:46 am
Please turn on Full Compiler Logging; if you do not see the problem post the build log.

Tim S