Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a C++ Expert!

Join 244,307 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 791 people online right now. Registration is fast and FREE... Join Now!




Using wxWidgets

 
Reply to this topicStart new topic

Using wxWidgets, Steps to download

annamathew
21 Nov, 2008 - 01:05 AM
Post #1

New D.I.C Head
*

Joined: 21 Nov, 2008
Posts: 19

hi...

im tryin to use wxWidgets.....

IVE DOWNLOADED wxWidgets 2.8.9...

NOW IVE TO GENERATE THE LIBRARIES....

IVE READ A POST.... FOR wxWidgets 2.6.4 that ive to BUILD
wxWindows.dsw and wx.dsw in all project configurations...

IN THE LATEST RELEASE....wxWindows.dsw is not present...
SO is BUILDING wx.dsw ALONE ENOUGH??

User is offlineProfile CardPM
+Quote Post


muballitmitte
RE: Using WxWidgets
21 Nov, 2008 - 01:33 AM
Post #2

D.I.C Head
Group Icon

Joined: 5 Nov, 2008
Posts: 81



Thanked: 9 times
Dream Kudos: 75
My Contributions
i used 2.8.8 and I just built wx.dsw.. it worked perfectly...

This post has been edited by muballitmitte: 21 Nov, 2008 - 01:33 AM
User is offlineProfile CardPM
+Quote Post

annamathew
RE: Using WxWidgets
21 Nov, 2008 - 02:40 AM
Post #3

New D.I.C Head
*

Joined: 21 Nov, 2008
Posts: 19

QUOTE(muballitmitte @ 21 Nov, 2008 - 01:33 AM) *

i used 2.8.8 and I just built wx.dsw.. it worked perfectly...




u have to build wx.dsw in all proj configurations right?????

mine failed at....DEBUG DLL, RELEASE DLL, UNICODE DEBUG DLL AND
UNICODE RELEASE DLL......

I GOT A SAMPLE 'HELLO WORLD ' PROGRAM...

i tried to build it in debug n relese config.... and i get the following error
...................
HelloWorld fatal error LNK1181: cannot open input file 'zlib.lib'
.......

this file is not there........

WHAT SHOULD I DO?
User is offlineProfile CardPM
+Quote Post

muballitmitte
RE: Using WxWidgets
21 Nov, 2008 - 03:01 AM
Post #4

D.I.C Head
Group Icon

Joined: 5 Nov, 2008
Posts: 81



Thanked: 9 times
Dream Kudos: 75
My Contributions
No

just build debug and release without DLL. It will work fine. And be sure that in your project(when you use wxWidgets) you have the following settings:
Runtime library: Multi-threaded Debug DLL for debug configuration and
Runtime library: Multi-threaded DLL for release configuration
Always do it this way.

For unicode support do this:

#open wx.dsw
#go to base project and open setup.h. It is located in the Setup filter
#locate the line #define wxUSE_UNICODE 0
#change it to #define wxUSE_UNICODE 1
#build wx.dsw

and voila

look at this as well

http://wiki.wxwidgets.org/Microsoft_Visual_CPP_Guide

This post has been edited by muballitmitte: 21 Nov, 2008 - 02:59 AM
User is offlineProfile CardPM
+Quote Post

annamathew
RE: Using WxWidgets
23 Nov, 2008 - 08:45 PM
Post #5

New D.I.C Head
*

Joined: 21 Nov, 2008
Posts: 19

QUOTE(muballitmitte @ 21 Nov, 2008 - 03:01 AM) *

No

just build debug and release without DLL. It will work fine. And be sure that in your project(when you use wxWidgets) you have the following settings:
Runtime library: Multi-threaded Debug DLL for debug configuration and
Runtime library: Multi-threaded DLL for release configuration
Always do it this way.

For unicode support do this:

#open wx.dsw
#go to base project and open setup.h. It is located in the Setup filter
#locate the line #define wxUSE_UNICODE 0
#change it to #define wxUSE_UNICODE 1
#build wx.dsw

and voila

look at this as well

http://wiki.wxwidgets.org/Microsoft_Visual_CPP_Guide



thanks...it worked

thanks...it worked
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 7/4/09 06:49PM

Live C++ Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month