I have finally managed to get my project to compile but I get an error from linking.
I think it has to do with Code::Blocks linker settings.
Build log output,
-
------------- Build: Debug in GrUFFF (compiler: GNU GCC Compiler)---------------
g++ -L/usr/include/wx-2.8/ -o bin/Debug/GrUFFF obj/Debug/frmGrUFFF.o obj/Debug/main.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype -pg /usr/include/wx-2.8/
/usr/bin/ld: cannot find /usr/include/wx-2.8/: File format not recognized
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
, the error is in bold, /usr/include/wx-2.8/ does exist.
This is my first project in C++ and my first use of Code::Blocks, so assume that I do not know the simplest, most obvious things. Experts tend to forget that what is obvious to them is completely unknown to beginners.
The project currently is just the user interface, it doesn't do any thing yet, might that be the problem?
If this is not the proper place for my post kindly point me in the right direction.