User forums > Help
problem at compiling a project with wxWidgets
mkd:
I don't have any *.c files in my project and in the Compiler Toolchain is g++ for *.cpp files. I think I'm going to reinstall Codeblocks and MinGW and see if it works then.
Thanks anyways,
mkd
Jenna:
--- Quote from: mkd on March 25, 2009, 04:58:52 pm ---I don't have any *.c files in my project and in the Compiler Toolchain is g++ for *.cpp files. I think I'm going to reinstall Codeblocks and MinGW and see if it works then.
Thanks anyways,
mkd
--- End quote ---
Before you do that, it would be nice if you can change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and post the appropriate content of the build log, that leads to this error.
mkd:
--- Quote from: jens on March 25, 2009, 05:16:01 pm ---Before you do that, it would be nice if you can change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and post the appropriate content of the build log, that leads to this error.
--- End quote ---
Sorry, I already uninstalled Codeblocks :(.
I compiled wxWidgets myself and, atleast Codeblocks begins to compile, I don't know if this strange error will occur once more because, at the moment I'm facing a different problem. I have added these paths to the Compiler search directories and only my lib path to the Linker directories:
The errors I'm now getting are also on the image. The file is definitely existing! Path: "C:\Frameworks\wxWidgets-2.8.10\include\wx\msw".
Is there any way to compile a project with wxWidgets and not have all these paths under Search directories?
Greets,
mkd
MortenMacFly:
--- Quote from: mkd on March 25, 2009, 06:13:46 pm ---The errors I'm now getting are also on the image. The file is definitely existing! Path: "C:\Frameworks\wxWidgets-2.8.10\include\wx\msw".
--- End quote ---
If you read carefully what the error tells you that you realise that the RESOURCE compiler complains (as you are compiling a resource here). Thus, add the compiler's include path's (as shown on the image) to the RESOURCE compiler include path's, too and you are done.
mkd:
Ok, I finally found the problem. I told you wrong before, I had a *.c file in my project... the sqlite3 library...
I don't know why, but if I remove all the sqlite3 *.c files from the project it compiles well.
There's another problem. I think it's because I compiled wxWidgets on my own:
The program compiles but when I'm trying to run it, there's message box telling me that the "wxmsw28d_gcc_custom.dll" and "wxmsw28_gcc_custom.dll" are missing. Could it be about changed paths or something? May I fix this per hand or do I have to redo the project (or atleast create a new project and copy my files)?
Greets,
mkd
#edit: I just tried to create a new project with the wxWidgets wizard, this isn't working too. There's this message box telling me that there weren't found any matching files to compile a debug or release version.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version