irrlicht svn version build problems

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Cezaro
Posts: 18
Joined: Fri Jul 07, 2006 2:31 pm
Location: Korytow Poland

irrlicht svn version build problems

Post by Cezaro »

Hello!

I cannot build irrlicht current svn version using visual c++ 2005 express
edition and latest dev c++ , my question is what compiler using to compile latest svn version????

thanks
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I'm always compiling my SVN version with Dev-c++ 4.9.9.2 (and of course under Linux, using gcc 3.X/4.x and icc). So it should work, though sometimes there's a small time in between where it does not compile. E.g. when I've developed some code under Linux and did not check it under Windows, yet. But these things will usually get fixed within 24 hours. So what's the error you get and did you succeed with an Irrlicht compile before?
Cezaro
Posts: 18
Joined: Fri Jul 07, 2006 2:31 pm
Location: Korytow Poland

Post by Cezaro »

CPakReader.cpp
CMemoryReadFile.cpp
CFileSystem.cpp
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : error C2143: syntax error : missing ';' before '*'
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : error C2433: 'irr::io::CFileSystem::IAttributes' : 'virtual' not permitted on data declarations
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : error C2653: 'video' : is not a class or namespace name
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : error C2061: syntax error : identifier 'IVideoDriver'
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(79) : warning C4183: 'createEmptyAttributes': missing return type; assumed to be a member function returning 'int'
.\CFileSystem.cpp(272) : error C2511: 'irr::io::IAttributes *irr::io::CFileSystem::createEmptyAttributes(irr::video::IVideoDriver *)' : overloaded member function not found in 'irr::io::CFileSystem'
d:\irrlicht-1.0\engine source\irrlicht 1.1\CFileSystem.h(23) : see declaration of 'irr::io::CFileSystem'
CAttributes.cpp
d:\irrlicht-1.0\engine source\irrlicht 1.1\CAttributeImpl.h(48) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
d:\irrlicht-1.0\engine source\irrlicht 1.1\CAttributeImpl.h(133) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
d:\irrlicht-1.0\engine source\irrlicht 1.1\CAttributeImpl.h(203) : warning C4996: 'sprintf' was declared deprecated


when i compile stable version there no errors, but under the stable i compile visual c++ 2005 solution file(8.0) , in svn include only version 7.1
of the solution file but visual studio 2005 express convert it to 8.0
ofcourse i compile svn version using svn header files
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hmm, never saw this error. But you could try to include IAttributes.h in CFileSystem.h and see if it recognizes the IAttributes type. Or add the io:: namespace to it.
Cezaro
Posts: 18
Joined: Fri Jul 07, 2006 2:31 pm
Location: Korytow Poland

Post by Cezaro »

Solved!!!

today(31.07.2006) i copy svn version and my vs 2005 express convert project .dsw file(no .sln) , and build succesfull , so naw i can use blitz3d format is little bit faster than my3d...
Post Reply