[osg-users] Did anyone compile osg 2.2 with MINGW?
Antoine Hue
tonio_73 at tiscali.fr
Sun Nov 4 01:43:34 PDT 2007
Robert Osfield wrote:
> Hi Antoine,
>
> On 10/13/07, Antoine Hue <tonio_73 at tiscali.fr> wrote:
>
>> Under 2.2, I get a compiling error of the TXP plugin. Compiler is not
>> able to find includes because:
>> - 1- local includes are written as #include <> and not #include ""
>> -2- compiler does not like -I..../src/osgPlugins/txp/. => fixed removing
>> the trailing /. within generated makefiles :-(
>>
>> Otherwise, it works really fine for me.
>>
>
> Could you try the attached src/osgPlugins/txp/CMakeLists.txt to see if
> it fixes the Mingw build error on the txp plugin.
>
> It replaces:
> INCLUDE_DIRECTORIES(.)
>
> With the more long winded:
> INCLUDE_DIRECTORIES(${OpenSceneGraph_SOURCE_DIR}/src/osgPlugins/txp)
>
Hi Robert,
This works fine on my MingW version.
Thanks a lot,
Antoine
More information about the osg-users
mailing list