User forums > Help

Erros with wxwidgets and Codeblock debaugging/building

(1/2) > >>

crzyone9584:
Im trying to follow this tutorial on wxwidgets and c++

http://zetcode.com/tutorials/wxwidgetstutorial/firstprograms/

These are the errors i get.


--- Quote ---||=== Ventaio Project, Debug ===|
/home/xxx/Documents/test/Ventaio Project/main.h|1|error: wx/wx.h: No such file or directory|
/home/xxx/Documents/test/Ventaio Project/main.h|4|error: expected class-name before ‘{’ token|
/home/xxx/Documents/test/Ventaio Project/simple.h|4|error: expected class-name before ‘{’ token|
/home/xxx/Documents/test/Ventaio Project/simple.h|6|error: expected ‘,’ or ‘...’ before ‘&’ token|
/home/xxx/Documents/test/Ventaio Project/simple.h|6|error: ISO C++ forbids declaration of ‘wxString’ with no type|
/home/xxx/Documents/test/Ventaio Project/main.cpp|6|error: expected constructor, destructor, or type conversion before ‘bool’|
||=== Build finished: 6 errors, 0 warnings ===|

How would i fix this?I tried searching google at no luck.


--- End quote ---

ollydbg:
Did you carefully configure the wxWidgets' header file and libraries?

It seems the compiler can't find the wx/wx.h in the "include search path". :D

crzyone9584:
See i love forums. Im use to Visual Studio and VB.net so have a suggestion on how i go about this and where thw wx folder is included. and on that not once compiled will i need to inlude the folder wx so the files are there.

forgot to mention im running ubuntu 9.04

Jenna:
Create a standard wxWidgets preoject with the wizard and look at the build options to see how it can be done.

crzyone9584:
i didnt see anything about it. unless its part of the BUild/Release part of the setup. but like i said   i didnt see anything.

Navigation

[0] Message Index

[#] Next page

Go to full version