Horde3D
http://horde3d.org/forums/

Error building ColladaConverter on Linux
http://horde3d.org/forums/viewtopic.php?f=3&t=1682
Page 1 of 1

Author:  kariem2k [ 14.06.2012, 02:02 ]
Post subject:  Error building ColladaConverter on Linux

Hi

I have got an error while trying to build Horde3d on Fedora Linux 17 - GCC 4.7.0

Code:
/home/kariem2k/horde3d/Horde3D/Source/ColladaConverter/main.cpp: In function ‘int main(int, char**)’:
/home/kariem2k/horde3d/Horde3D/Source/ColladaConverter/main.cpp:166:54: error: no matching function for call to ‘remove_if(std::basic_string<char>::iterator, std::basic_string<char>::iterator, <unresolved overloaded function type>)’


Apparently GCC did not recognize STl's isspace, it used C isspace instead. so i added :: before isspace and it compiled on linux, but i never tried it on VS.

Attached a patch for latest SVN trunk code

Attachments:
isspaceerror.patch [531 Bytes]
Downloaded 957 times

Author:  Volker [ 14.06.2012, 10:59 ]
Post subject:  Re: Error building ColladaConverter on Linux

Thanks fixed it (works under VS2005 without problems, and shouldn't make problems on other compilers too)

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/