Author Topic: Can Code Blocks ignore the project Folder?  (Read 2717 times)

Gazoo

  • Guest
Can Code Blocks ignore the project Folder?
« 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7590
    • My Best Post
Re: Can Code Blocks ignore the project Folder?
« Reply #1 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org