User forums > Using Code::Blocks

Is there an easy way to import a project?

<< < (3/4) > >>

BlueHazzard:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

greetings

density:
I am running Code::Blocks version 10.05 on Ubuntu 12.10. The compiler I use is gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2 .


When I ...
push build the build dies with . . .

Description of problem.
... that "fatal error: .h: no such file or directory"  and pointing a little red thing at the include statement as if the included file is nowhere to be found.  but the file is right there under headers in the tree on the left side of the screen??

Build log:

--- Code: ---
-------------- Build: Debug in demo ---------------

Compiling: ../op25_decoder_bf.cc
/home/matt/Desktop/demo/op25_decoder_bf.cc:29:29: fatal error: gr_io_signature.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
 


--- End code ---

Crash report:

--- Code: ---no crash

--- End code ---

 what i have done so far:
i add the path the directory with all the relevant files via build options>search directories.   my program builds with gcc in terminal.   

oBFusCATed:
Check this: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
And compare with you command line log.

density:
im sorry i am soo dense but i dont see what on that page helps me.  i have also tried changing the <> in the #include <> statements and this seems to fix the issue but it would be way to inefficient to change them all. 
Thanks!

BlueHazzard:
You have to look in the build log tab if the command line there is the same as the command line when you build your program with make.

if you can't figure out your problem, please post the build log here. What you have posted in the last post are the build messages not the build log (i have updated the wiki, so this is more clear)

greetings

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version