Hi Cedric,

I have just done a Windows build and am getting the following build error
with the osgjs plugin:

8>osgDB.lib(osg119-osgDB.dll) : error LNK2005: "public: bool __cdecl
std::basic_ofstream<char,struct std::char_traits<char>
>::is_open(void)const " (?is_open@?$basic_ofstream@DU?$char_traits@D@std@
@@std@@QEBA_NXZ) already defined in Animation.obj
8>C:\Users\Robert
Osfeld\Documents\OpenSceneGraph-build\bin\osgPlugins-3.3.6\osgdb_osgjs.dll
: fatal error LNK1169: one or more multiply defined symbols found

I can't spot how the plugin is particularly different from other OSG
plugins so don't know why it's tripped up here.

Any ideas?  Suggestion for a solution?

Cheers,
Robert.


On 9 March 2015 at 16:47, Robert Osfield <[email protected]> wrote:

> Hi Jordi and Cedric,
>
> Thanks for the clarifications and instructions.  I've tried out the
> osgconv and webkuex.com/osgjs-test and it works great ;-)
>
> Robert.
>
> On 9 March 2015 at 14:58, Cedric Pinson <[email protected]> wrote:
>
>> Hi Robert,
>>
>> Sorry no deps are required. I thought you suggested to use an external
>> dependencies instead of embeding a small json 'lib' in the plugin.
>>
>> Cedric
>>
>> Robert Osfield <[email protected]> writes:
>>
>> > Hi Cedric,
>> >
>> > On 9 March 2015 at 10:57, Robert Osfield <[email protected]>
>> wrote:
>> >
>> >> I'm now a bit confused.  Because of the orignal build errors I had
>> assumed
>> >> that JSON was an external dependency of the osgjs plugin, but now can't
>> >> find an external reference in the source and headers to JSON.  Are all
>> the
>> >> JSON classes required contained the plugin?
>> >>
>> >> Does the osgjs plugin have any external dependencies?
>> >>
>> >
>> > I have gone ahead with the assumption the osgjs plugin doesn't have any
>> > external dependencies, as I can't spot any and things are now
>> compiling...
>> > I have merged and checked in the changes to svn/trunk.  Is there a way I
>> > can test a workflow of converting OSG models to run with osgjs?
>> >
>> > Robert.
>> > _______________________________________________
>> > osg-submissions mailing list
>> > [email protected]
>> >
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to