[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] [PATCH] Add OpenSceneGraph
From: |
Martin Lambers |
Subject: |
Re: [Mingw-cross-env-list] [PATCH] Add OpenSceneGraph |
Date: |
Tue, 12 Jan 2010 17:38:45 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Jan 12, 2010 at 04:36:38PM +0100, Volker Grabsch wrote:
> Can anyone provide the correct Debian/FreeBSD/OpenSolaris/...
> package names for CMake?
Debian: cmake
FreeBSD: cmake (according to freshports.org)
> I think that your comments are great, although a bit verbose.
> Can't the long compiler line be reduced to something like this?
>
> i686-pc-mingw32-g++ `pkg-config osc --cflags` `pkg-config osc --libs` ...
Unfortunately not, for the following reasons:
- 'i686-pc-mingw32-pkg-config --libs openscenegraph' lists all base OSG libs,
but in the wrong order, so that linking fails.
- The plugin library directory (lib/osgPlugins-2.8.2) is not added with -L, and
no plugin libraries are reported by pkg-config. This is because OSG is
designed to load dynamic plugins at runtime itself.
> Anyway, I think that it shouldn't go into the Makefile, because
> it's somewhat hidden there. I think it would fit well in the
> tutorial as:
>
> Step 5d: Cross compile your Project (OpenSceneGraph)
>
> Would you mind providing a documentation patch for "doc/index.html"
> of the current development version?
I have a attached a patch.
Martin
openscenegraph-doc.patch
Description: Text Data