Hi Robert,
I fixed the problem. It is rather obvious, that the compiler/linker
barks here.
The macro DECLARE_TYPE(A,B) in PropertyInterface will create explicit
specialization of the getTypeEnum and GetTypeString function templates
which will be seen multiple times by the linker in different compilation
units.
Changing the macro to (note the inline specifier)
#define DECLARE_TYPE(A,B) \
template<> inline osgDB::BaseSerializer::Type getTypeEnum<A>() {
return osgDB::BaseSerializer::RW_##B; } \
template<> inline const char* getTypeString<A>() { return #B; }
will fix the problem.
I'll submit the whole file, so you can merge it.
Hi Raymond,
Lua itself is pretty widely used and it's *very* portable being Anscii
C. The new OSG Lua plugin includes the source and builds Lua locally
so there is no need to go chasing external dependencies.
The errors that Paul has published aren't to do with Lua but with
osgDB template methods that VisualStudio isn't handling correctly.
Robert.
On 29 April 2014 17:55, Raymond de Vries <[email protected]> wrote:
Hi,
Coincidence, or not, I was going to report the same :-)
On windows, lua is not a standard thing so I guess that it is not built often.
Nor used?
I am trying to build the plugin with lua from
https://code.google.com/p/luaforwindows/ (5.1.4) with 32 bit visual studio 2008
(vc9).
What option could be useful?
Btw where can I find an example how to use the plugin?
Cheers
Raymond
Sent from my iPad
On Apr 29, 2014, at 18:36, Robert Osfield <[email protected]> wrote:
Hi Paul,
The lua plugin has been checked in as it is for a couple of months
now, I'm surprised others haven't come across issues. This suggest
something either not many Windows are building the OSG and reporting
problems, or that there is something specific about the compiler or
build options you are using.
What compiler are you building with? Are they any non default build
options you are using? The Lua plugin doesn't have any specific GL
code in it so shouldn't be effect by GLCORE changes. It might be
worth just trying a default build though to see if something odd
happens with GLCORE build.
As for multiple defines, these are template definitions provided by
include/osgDB/PropetyInterface that the compiler should be handling
just fine. It could be that some extra option is required for it to
be a little more C++ compliant.
Robert.
On 29 April 2014 17:10, Paul Martz <[email protected]> wrote:
Hi Robert -- There is a new plugin, LUA, which fails to link on Windows when
building current trunk. It looks like multiply defined symbols. I'm building
for GLCORE, but that's probably irrelevant. I'm using the default setting
for the LUA local source CMake variable.
Here's the output:
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<char>(void)"
(??$getTypeEnum@D@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<unsigned char>(void)"
(??$getTypeEnum@E@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<short>(void)"
(??$getTypeEnum@F@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<unsigned short>(void)"
(??$getTypeEnum@G@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<int>(void)"
(??$getTypeEnum@H@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<unsigned int>(void)"
(??$getTypeEnum@I@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<float>(void)"
(??$getTypeEnum@M@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<double>(void)"
(??$getTypeEnum@N@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Image *>(void)"
(??$getTypeEnum@PEAVImage@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Object *>(void)"
(??$getTypeEnum@PEAVObject@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::BoundingBoxImpl<class osg::Vec3d>
(void)"
(??$getTypeEnum@V?$BoundingBoxImpl@VVec3d@osg@@@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::BoundingBoxImpl<class osg::Vec3f>
(void)"
(??$getTypeEnum@V?$BoundingBoxImpl@VVec3f@osg@@@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::BoundingSphereImpl<class osg::Vec3d>
(void)"
(??$getTypeEnum@V?$BoundingSphereImpl@VVec3d@osg@@@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::BoundingSphereImpl<class osg::Vec3f>
(void)"
(??$getTypeEnum@V?$BoundingSphereImpl@VVec3f@osg@@@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >(void)"
(??$getTypeEnum@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Matrixd>(void)"
(??$getTypeEnum@VMatrixd@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Matrixf>(void)"
(??$getTypeEnum@VMatrixf@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Plane>(void)"
(??$getTypeEnum@VPlane@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Quat>(void)"
(??$getTypeEnum@VQuat@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2b>(void)"
(??$getTypeEnum@VVec2b@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2d>(void)"
(??$getTypeEnum@VVec2d@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2f>(void)"
(??$getTypeEnum@VVec2f@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2i>(void)"
(??$getTypeEnum@VVec2i@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2s>(void)"
(??$getTypeEnum@VVec2s@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2ub>(void)"
(??$getTypeEnum@VVec2ub@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2ui>(void)"
(??$getTypeEnum@VVec2ui@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec2us>(void)"
(??$getTypeEnum@VVec2us@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3b>(void)"
(??$getTypeEnum@VVec3b@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3d>(void)"
(??$getTypeEnum@VVec3d@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3f>(void)"
(??$getTypeEnum@VVec3f@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3i>(void)"
(??$getTypeEnum@VVec3i@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3s>(void)"
(??$getTypeEnum@VVec3s@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3ub>(void)"
(??$getTypeEnum@VVec3ub@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3ui>(void)"
(??$getTypeEnum@VVec3ui@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec3us>(void)"
(??$getTypeEnum@VVec3us@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4b>(void)"
(??$getTypeEnum@VVec4b@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4d>(void)"
(??$getTypeEnum@VVec4d@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4f>(void)"
(??$getTypeEnum@VVec4f@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4i>(void)"
(??$getTypeEnum@VVec4i@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4s>(void)"
(??$getTypeEnum@VVec4s@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4ub>(void)"
(??$getTypeEnum@VVec4ub@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4ui>(void)"
(??$getTypeEnum@VVec4ui@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<class osg::Vec4us>(void)"
(??$getTypeEnum@VVec4us@osg@@@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already
defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "enum osgDB::BaseSerializer::Type
__cdecl osgDB::getTypeEnum<bool>(void)"
(??$getTypeEnum@_N@osgDB@@YA?AW4Type@BaseSerializer@0@XZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<char>(void)" (??$getTypeString@D@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<unsigned char>(void)"
(??$getTypeString@E@osgDB@@YAPEBDXZ) already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<short>(void)" (??$getTypeString@F@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<unsigned short>(void)"
(??$getTypeString@G@osgDB@@YAPEBDXZ) already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<int>(void)" (??$getTypeString@H@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<unsigned int>(void)"
(??$getTypeString@I@osgDB@@YAPEBDXZ) already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<float>(void)" (??$getTypeString@M@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<double>(void)" (??$getTypeString@N@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Image *>(void)"
(??$getTypeString@PEAVImage@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Object *>(void)"
(??$getTypeString@PEAVObject@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::BoundingBoxImpl<class osg::Vec3d> >(void)"
(??$getTypeString@V?$BoundingBoxImpl@VVec3d@osg@@@osg@@@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::BoundingBoxImpl<class osg::Vec3f> >(void)"
(??$getTypeString@V?$BoundingBoxImpl@VVec3f@osg@@@osg@@@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::BoundingSphereImpl<class osg::Vec3d>
(void)"
(??$getTypeString@V?$BoundingSphereImpl@VVec3d@osg@@@osg@@@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::BoundingSphereImpl<class osg::Vec3f>
(void)"
(??$getTypeString@V?$BoundingSphereImpl@VVec3f@osg@@@osg@@@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >(void)"
(??$getTypeString@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Matrixd>(void)"
(??$getTypeString@VMatrixd@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Matrixf>(void)"
(??$getTypeString@VMatrixf@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Plane>(void)"
(??$getTypeString@VPlane@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Quat>(void)"
(??$getTypeString@VQuat@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2b>(void)"
(??$getTypeString@VVec2b@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2d>(void)"
(??$getTypeString@VVec2d@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2f>(void)"
(??$getTypeString@VVec2f@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2i>(void)"
(??$getTypeString@VVec2i@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2s>(void)"
(??$getTypeString@VVec2s@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2ub>(void)"
(??$getTypeString@VVec2ub@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2ui>(void)"
(??$getTypeString@VVec2ui@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec2us>(void)"
(??$getTypeString@VVec2us@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3b>(void)"
(??$getTypeString@VVec3b@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3d>(void)"
(??$getTypeString@VVec3d@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3f>(void)"
(??$getTypeString@VVec3f@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3i>(void)"
(??$getTypeString@VVec3i@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3s>(void)"
(??$getTypeString@VVec3s@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3ub>(void)"
(??$getTypeString@VVec3ub@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3ui>(void)"
(??$getTypeString@VVec3ui@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec3us>(void)"
(??$getTypeString@VVec3us@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4b>(void)"
(??$getTypeString@VVec4b@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4d>(void)"
(??$getTypeString@VVec4d@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4f>(void)"
(??$getTypeString@VVec4f@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4i>(void)"
(??$getTypeString@VVec4i@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4s>(void)"
(??$getTypeString@VVec4s@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4ub>(void)"
(??$getTypeString@VVec4ub@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4ui>(void)"
(??$getTypeString@VVec4ui@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<class osg::Vec4us>(void)"
(??$getTypeString@VVec4us@osg@@@osgDB@@YAPEBDXZ) already defined in
LuaScriptEngine.obj
1>ReaderWriterLua.obj : error LNK2005: "char const * __cdecl
osgDB::getTypeString<bool>(void)" (??$getTypeString@_N@osgDB@@YAPEBDXZ)
already defined in LuaScriptEngine.obj
1>C:\Projects\deps\osg-332-gl3\bld\bin\osgPlugins-3.3.2\osgdb_lua.dll :
fatal error LNK1169: one or more multiply defined symbols found
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:09.30
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org