User forums > Help

Can Code Blocks ignore the project Folder?

(1/1)

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

Navigation

[0] Message Index

Go to full version