User forums > Help

hello and question about setting project global variable base directory for wx

(1/3) > >>

ghostcoder:
Hello,

I'm trying to run the wxSmith tutorial found here http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world

I've installed CodeBlocks into a directory on my C drive, so it looks like c:\CodeBlocks

When I run the wizard to start a wxWidgets project, I get to the page where it wants wxWidgets location.

The generic $(#wx) is in place, but then it shows the dialog to set the base directory, and everything I set does not work.
I get the error: The path you entered seems valid, but the wizard can't locate wxWidgets files in it.

Can someone help me out and tell me which directory I should be setting this to in order to get the wizard to accept it?

Thanks very much!

Jenna:
Are you aware , that wxWidgets itself do not provide precompiled binaries, but only the sources on windows ?

See http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef .

ghostcoder:
No I was not aware of this. Thank you for the link and the tip! I'll check it out and go from there...

ghostcoder:
Ok I'm back. I believe I successfully compiled wxWidgets. I was able to make a project and I followed the first tutorial.

However, when I then tried to build the application, I'm getting an error in platform.h on line 196
error: wx/setup.h: no such file or directory

ok let me edit this. I found a tip somewhere that suggested I move the setup.h file from the msw folder to the wx folder, so I did.

This worked! However, I still get one final error when I build.

ld.exe         cannot find -lwsmsw28ud

I don't know what this is but I'm looking for some info on it.

Jenna:
This is the wxwidgets debug library, you most likely "only" have a release build and not also made a debug-build of wxWidgets.

Navigation

[0] Message Index

[#] Next page

Go to full version