Hello Neil,
Thanks for the response. I have spent a considerable amount of time on this.
I went thru the steps for EclipseCDT in Win XP more than once several ways.
/wiki/Support/PlatformSpecifics/MingwColladaEclipse which seems to be outdated.
It's possible it's outdated. We rely on people using a particular
environment to update the information relative to it, since there are so
many different possible build environments.
Built from source once with Cmake, that does take time.
mingw32-make
mingw32-make install
The second make put bin, include and lib in C:\Program Files\OpenSceneGraph
even though I specified it to go to C:\OpenSceneGraph
How did you specify that it should put it in C:\OpenSceneGraph? The way
to do this is to change the CMAKE_INSTALL_PREFIX variable in CMake. I do
this all the time and it works great for me. Can you show me what your
CMake window looks like?
"Note that you'll need to have a build of OSG for the same compiler as
you'll want to use for your own project."
The pre built that was downloaded may not have been done with MinGW-gcc440_1
Probably not, it's probably a little-used compiler (I guess). On Windows
the most used compiler is Visual C++ (8.0/2005 or 9.0/2008 at the
moment). MinGW is a niche compiler, though last time I tried the OSG
build worked (I submitted a few small changes to make some parts compile
but most of it compiled correctly out of the box).
It would be good if the information on how to install was updated.
As I said, there are just so many different environments. If you tell us
what compiler you're using there are more chances someone who's using
the same one will chime in to give you advice. You mention
MinGW-gcc440_1, is that what you're using? Also, with MinGW I would
suggest you use the latest SVN trunk source, it will be the most up to
date (and contains my patches as well as more recent ones for MinGW
compilation) plus if you find you need to make changes to get things to
compile for you, you will be able to submit your changed files and get
the changes merged into the source so they profit others using the same
environment as you.
I don't know what to try next, I would like to get OSG working.
Let's start with telling us what doesn't work. Try this:
1. Choose your compiler. Is it MinGW-gcc440_1 as you said?
2. Check out the latest SVN source (see
http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN )
3. Run CMake, point it to where you checked out the source, set the
build directory to some other place (like <your source dir>\build) and
change CMAKE_INSTALL_PREFIX to where you want the "install" target to
copy the built files.
4. Build.
Did you have any trouble doing these steps? What went wrong (please give
us the error messages, anything to help us help you).
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org