My conversation to myself could turn out to be a long one J
I have managed to compile vpb against the trunk after reverting back to 32
bit build and libraries and from VS2010 to VS2008.
Now even stranger for me, I am getting a crash when running OSGDEM.
The strange thing is I have reverted GDAL back to 1.6.3 and now get the
following, which seems related to the first error message in my first post.
Is my std library screwed?
gdal16.dll!std::char_traits<char>::assign(char & _Left=0,
const char & _Right=0) Line 527 + 0x8 bytes C++
gdal16.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char
> >::_Eos(unsigned int _Newsize=1646407946) Line 1954 + 0x22 bytes C++
gdal16.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char
> >::erase(unsigned int _Off=1646407946, unsigned int _Count=1806408899)
Line 1121 C++
gdal16.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char
> >::assign(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
_Right=<Bad Ptr>, unsigned int _Roff=1646407946, unsigned int _Count=0)
Line 901 + 0x15 bytes C++
gdal16.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char
> >::assign(const char * _Ptr=0x6222310a, unsigned int _Count=0) Line 918 +
0x1e bytes C++
gdal16.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char
> >::assign(const char * _Ptr=0x6222310a) Line 932 C++
gdal16.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char
> >::operator=(const char * _Ptr=0x6222310a) Line 770 C++
vpbd.dll!vpb::BuildOptions::BuildOptions() Line 23 + 0x16
bytes C++
vpbd.dll!`dynamic initializer for 'BuildOptions_Proxy''()
Line 404 + 0x91 bytes C++
msvcr90d.dll!_initterm(void (void)* * pfbegin=0x62220194,
void (void)* * pfend=0x622205a8) Line 903 C
vpbd.dll!_CRT_INIT(void * hDllHandle=0x61fd0000, unsigned
long dwReason=1, void * lpreserved=0x00bffbbc) Line 318 + 0xf bytes
C
vpbd.dll!__DllMainCRTStartup(void * hDllHandle=0x61fd0000,
unsigned long dwReason=1, void * lpreserved=0x00bffbbc) Line 540 + 0x11
bytes C
vpbd.dll!_DllMainCRTStartup(void * hDllHandle=0x61fd0000,
unsigned long dwReason=1, void * lpreserved=0x00bffbbc) Line 510 + 0x11
bytes C
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin
Naylor
Sent: 30 April 2010 18:50
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] build errors in VPB and latest trunks.
OK bit of an update, I think its my GDAL version giving grief with
cpl_string.h, I will grab 1.6 and try that as mine is 1.7 .10( something
like that).
Martin.
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin
Naylor
Sent: 30 April 2010 16:20
To: 'OpenSceneGraph Users'
Subject: [osg-users] build errors in VPB and latest trunks.
Hi all,
I am getting a linker error when trying to build the latest vpb against the
trunk of OSG.
Error is as follows:
Error 1 error LNK2005: "public: void __cdecl
std::basic_ofstream<char,struct std::char_traits<char> >::`vbase
destructor'(void)"
(??_d?$basic_ofstr...@du?$char_traits@d...@std@@@std@@QEAAXXZ) already defined
in SpatialProperties.obj
D:\Coding\OSG\VirtualPlanetBuilder\src\vpb\osgDB.lib(osgDB.dll) vpb
Error 2 error LNK1169: one or more multiply defined
symbols found
D:\Coding\OSG\VirtualPlanetBuilder\lib\Debug\vpbd.dll 1
1 vpb
Anyone have any ideas?
Am running Visual Studio 2010! And trying to build 64 bit version.
Martin.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org