Hi all,
Just checked out the latest SVN and I'm having a few problems building
the wxWidgets example under Windoze.
Using WinXP, VS 7.1, plus totally new to CMake, so be kind ...
PROBLEM 1:
During linking the following error occurs:
Examples osgsimpleviewerWX error LNK2019: unresolved external symbol
_main referenced in function _mainCRTStartup
This can be fixed by changing the /SUBSYSTEM:CONSOLE option to
/SUBSYSTEM:WINDOWS.
I don't know how to do this in CMake. If someone can point me at an
example of what to do, I'll patch and test ...
PROBLEM 2:
wxWidgets requires certain pre-processor defines for correct
compilation. In the CMakeLists.txt file there is the line:
ADD_DEFINITIONS( ${wxWidgets_DEFINITIONS} )
which looks likely, but using CMakeSetup doesn't let me edit the
"wxWidgets_DEFINITIONS" value. Is this just a place holder? Again, if
someone can point me at an example of what to do, I'll patch with the
appropriate values ...
Otherwise, CMake is sweet ... :-)
Gian
Gian Lorenzetto
Software & IT Manager
Anatomics Pty Ltd
Suite 4 Level 1, 568 St Kilda Rd, Melbourne VIC 3004 Australia
Telephone +61 (0) 3 9529 8088
Facsimile +61 (0) 3 9529 8099
Email [EMAIL PROTECTED]
www.anatomics.com <http://www.anatomics.com/>
The information transmitted is intended solely for the person or entity
to which it is addressed to and may contain confidential and /or
privileged materials. If you are not the intended recipient of this
message, you are hereby notified that any use, review, retransmissions
or dissemination is prohibited. If you received this email in error,
please notify the sender and delete the email and attached material. Any
views expressed in this message are those of the individual sender and
may not necessarily reflect the views of the company.
<<image001.jpg>>
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
