wx-config is a command which outputs the flags you need to pass
to the compiler/linker to build your wxWidgets program.
=20
To get your makefile to execute the command and pass the output
to g++ as opposed to just the command text=2C you need to add back-quotes
around the call to wx-config=2C as in:
=20
`wx-config --cxxflags`
=20
The back-quote character should be just to the left of the "1"
character on your keyboard.
=20
Regards=2C
Nathan. =20
_________________________________________________________________
Eligible CDN College & University students can upgrade to Windows 7 before =
Jan 3 for only $39.99. Upgrade now!
http://go.microsoft.com/?linkid=3D9691819=
You did build the wxWidgets libraries=2C right?
=20
Assuming you did=2C wx-config should be located in the folder
where you built wxWidgets=2C usually something like
C:\wxWidgets-2.8.10\build-gcc\. You may need too specify
this absolute path when you're invoking wx-config=2C
or put this folder in your PATH environment variable
so that make can find it.
=20
Regards=2C
Nate.
=20
p.s. I apologize for the weird symbols that show up
at the end of lines. This just started happening
recently. Any idea how to fix it? =20
> Use "-I path_to_wx_headers" option if you don't have pkg-config
> installed in your cygwin configuration.
Note that if you do it this way you will need to provide two paths:
=20
-I C:\wxWidgets-2.8.10\include
=20
and
=20
-I C:\wxWidgets-2.8.10\[build directory]\lib\wx\include
=20
or something similar.
=20
Regards=2C
Nate. =20
_________________________________________________________________
Windows Live: Friends get your Flickr=2C Yelp=2C and Digg updates when they=
e-mail you.
http://go.microsoft.com/?linkid=3D9691817=