User forums > General (but related to Code::Blocks)

Error I could not avoid in wxWidget 2.8 and 2.9.3

(1/2) > >>

TomazVDSN:
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

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

Thank you for any help if possible !
     

Jenna:
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, 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.

stahta01:
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.

TomazVDSN:
Thank Friends,

I did read the link provided, download the wx...2.8.10, installed ..  there is only one error is:


--- Quote --- C:\wxWidgets-2.8.10\include\wx\platform.h|196|fatal error: wx/setup.h: No such file or directory|
--- End quote ---





--- Quote ---                 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
 
--- End quote ---

CB "claim"there is no platform.h but I looked at the folder and it is there...
Regards

MortenMacFly:

--- Quote from: TomazVDSN on September 18, 2012, 09:13:26 am ---
--- Quote ---                 from <command-line>:0:
fatal error: wx/setup.h: No such file or directory

--- End quote ---
CB "claim"there is no platform.h but I looked at the folder and it is there...

--- End quote ---
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.

Navigation

[0] Message Index

[#] Next page

Go to full version