User forums > Using Code::Blocks

Need help with code::blocks and gtk

<< < (2/3) > >>

stahta01:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

stahta01:
Build -> Rebuild is how to rebuild a project.

Please try to follow the links I posted or I will have to just ignore you.

Tim S.

nikel:
I rebuilded the project and here's its build log:


--- Quote ----------------- Clean: Debug in testproject01 (compiler: GNU GCC Compiler)---------------

Cleaned "testproject01 - Debug"

-------------- Build: Debug in testproject01 (compiler: GNU GCC Compiler)---------------

gcc -Wall -g  -c /home/nikel/Desktop/testproject01/testproject01/main.c -o obj/Debug/main.o
/home/nikel/Desktop/testproject01/testproject01/main.c:2:21: fatal error: gtk/gtk.h: No such file or directory
 #include <gtk/gtk.h>
                     ^
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End quote ---

BlueHazzard:
Have you created the project via the gtk project wizard from codeblocks, or did you created a c++ project?

nikel:
I created it via gtk project wizard. I'm trying to build c project.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version