Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: TomazVDSN on September 17, 2012, 10:36:33 pm
-
Hi. I not a machine, I don't know almost anything on Code Blocks or C++
1) Installed wxPack_v22.8.12.01
I follow the wxSmith tutorial : "Hello World"
I have got the following error see text file attached:
http://www.mediafire.com/view/?bs15c0zz1qr9khn (http://www.mediafire.com/view/?bs15c0zz1qr9khn)
2) So I did install the wxMSW-Setup-2.9.3 (wxWidgets2.9.3)
I try to run the tutorial "Hello World" example again and I still got a minimum error.
http://www.mediafire.com/view/?chprwd1y1q7l5al (http://www.mediafire.com/view/?chprwd1y1q7l5al)
Thank you for any help if possible !
-
Your error-messages do not hel much, because the right part of it is cut.
A text based site (like pastebin) would be better to upload thes messages.
Nevertheless:
for the first question read http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef), especially the faq-section at the bottom of the article.
For the second question:
are you aware, that wxwidgets 2.9.3 is not provided as binary download, but only as source ?
The setup-file just installs the sources.
The link above should help you to build it.
-
IIRC, you are mixing version of MinGW GCC for the first error message.
Likely mixing SJLJ and Dwarf 2 version of MinGW GCC object files.
Second message implies you did NOT build wxWidgets as was mentioned by prior poster (jens).
Tim S.
-
Thank Friends,
I did read the link provided, download the wx...2.8.10, installed .. there is only one error is:
C:\wxWidgets-2.8.10\include\wx\platform.h|196|fatal error: wx/setup.h: No such file or directory|
(https://lh4.googleusercontent.com/-fXoDqS_W9KQ/UFgdBRjCd5I/AAAAAAAADX0/on7_3r-KjLI/h120/error_01.png)
from <command-line>:0:
C:\wxWidgets-2.8.10\include/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
CB "claim"there is no platform.h but I looked at the folder and it is there...
Regards
-
from <command-line>:0:
fatal error: wx/setup.h: No such file or directory
CB "claim"there is no platform.h but I looked at the folder and it is there...
Oh dear... that's wrong - as you see above.
This file is missing because you forgot to compile wxWidgets yourself. Please read the instructions how to build C::B yourself more carefully - especially the pre-requisite, or simply use a nightly, if you don't know how to compile wxWidgets/Code::Blocks.
-
Jens,
MortenMacFly,
Thank you...!
I will read again the instruction and start from beginning. ;)
This is so difficult, it is not easy for me come from MS-Excel and try to set up CODE::BLOCKS with wxWidgets. :'(
Note: Anyway CB installation is very fast, much more than MSVC++ and more than Netbeans. ;), I just like it !
Regards,