Hi All,Yes, your setup is not correct.
I am working on a project that uses both glut and wxwidgets. I can make and compile a glut project on its own and wxwiwdgets but if I try to use both on the same project it doesn't work. Any ideas?
Regards,
GERILLA.
Hi All,Yes, your setup is not correct.
I am working on a project that uses both glut and wxwidgets. I can make and compile a glut project on its own and wxwiwdgets but if I try to use both on the same project it doesn't work. Any ideas?
Regards,
GERILLA.
Reading the FAQ maybe?
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
And if you can't find the problem in the output, paste it here
Ah, you have to setup you project manually.
I think it will be easier to create wx project, than make it use glut by copying options from a working glut project.
The project templates are made to ease the creation of common projects, your is not such.
In order to succeed you need to understand how compiling works (include dirs, compiler options, lib dirs, linker options), but I don't know where (except google) you can find that information.
... wxwidgets seems to work but GLUT doesn't. ...
... wxwidgets seems to work but GLUT doesn't. ...
What does that mean? The compiler/linker has told you what is the problem, you just need to decipher it!
That's why I told you to enable full logging, so you can see how the compiler/linker is run (what options are passed to it).
And if you know the required options you would know what is missing...
p.s. if you can't fix you problem you could post the full log here, so someone could spot the problem...
typedef unsigned short wchar_t;
Trying google I've found this:
http://forums.codeblocks.org/index.php?topic=1000.msg6876
p.s. I've not read the whole topic, but I should have some clues what is needed...
error: redeclaration of C++ built-in type `short'