i'm trying to compile and build the latest irrlicht 1.1 release using Dev c++ 4.9.9.2 and the directX 9.0c devpak made by g-production but i got finally the link error
"C:\irrlicht-1.1\source\Irrlicht\Makefile.win [Build Error] [Irrlicht.dll] Error 255 "
i got the same error when trying irrlicht 1.0.
error building irrlicht 1.1 with dev c++ 4.9.9.2
-
- Posts: 46
- Joined: Mon Jun 12, 2006 9:42 am
this is a problem with ms-dos not allowing >255 chars on a command line.
go into the build log, copy the failed command, replace the object file names with wildcards... so "a/a.o a/b.o a/c.o b/a.o b/b.o" becomes "a/*.o b/*.o", then run the last step manually through dos. or use code::blocks, which is actively being developed unlike dev-cpp
go into the build log, copy the failed command, replace the object file names with wildcards... so "a/a.o a/b.o a/c.o b/a.o b/b.o" becomes "a/*.o b/*.o", then run the last step manually through dos. or use code::blocks, which is actively being developed unlike dev-cpp
-
- Posts: 46
- Joined: Mon Jun 12, 2006 9:42 am
Want something more weird ? This is what happens when I try to compile IrrLicht 1.1 source in DevC++ 4.9.9.2 with GCC 3.4 -.-"
In file included from CSoftwareDriver.h:9,
from CSoftwareDriver.cpp:5:
CNullDriver.h:345: error: ISO C++ forbids declaration of `IAttributes' with no type
CNullDriver.h:345: error: invalid use of `::'
CNullDriver.h:345: error: `IAttributes' declared as a `virtual' field
CNullDriver.h:345: error: expected `;' before '*' token
CNullDriver.h:348: error: `irr::io::IAttributes' has not been declared
CNullDriver.h:348: error: ISO C++ forbids declaration of `attributes' with no type
CNullDriver.h:255: error: conflicting return type specified for `virtual const irr::core::matrix4& irr::video::CNullDriver::getTransform(irr::video::E_TRANSFORMATION_STATE)'
C:/Dev-Cpp/include/irrlicht/IVideoDriver.h:157: error: overriding `virtual irr::core::matrix4 irr::video::IVideoDriver::getTransform(irr::video::E_TRANSFORMATION_STATE)'
CNullDriver.h: In member function `bool irr::video::CNullDriver::SSurface::operator<(const irr::video::CNullDriver::SSurface&) const':
CNullDriver.h:405: error: 'class irr::video::ITexture' has no member named 'getName'
CNullDriver.h:405: error: 'class irr::video::ITexture' has no member named 'getName'
CNullDriver.h: In constructor `irr::video::CNullDriver::SDummyTexture::SDummyTexture(const char*)':
CNullDriver.h:417: error: no matching function for call to `irr::video::ITexture::ITexture(const char*&)'
C:/Dev-Cpp/include/irrlicht/ITexture.h:94: note: candidates are: irr::video::ITexture::ITexture()
C:/Dev-Cpp/include/irrlicht/ITexture.h:94: note: irr::video::ITexture::ITexture(const irr::video::ITexture&)
CSoftwareDriver.cpp: In member function `virtual void irr::video::CSoftwareDriver::setViewPort(const irr::core::rect<irr::s32>&)':
CSoftwareDriver.cpp:308: error: 'class irr::core::rect<irr::s32>' has no member named 'getSize'
CSoftwareDriver.cpp: In function `irr::video::IVideoDriver* irr::video::createSoftwareDriver(const irr::core::dimension2d<irr::s32>&, bool, irr::io::IFileSystem*, irr::video::IImagePresenter*)':
CSoftwareDriver.cpp:761: error: cannot allocate an object of type `irr::video::CSoftwareDriver'
CSoftwareDriver.cpp:761: error: because the following virtual functions are abstract:
C:/Dev-Cpp/include/irrlicht/IVideoDriver.h:699: error: virtual irr::s32 irr::video::IVideoDriver::addMaterialRenderer(irr::video::IMaterialRenderer*)
make.exe: *** [CSoftwareDriver.obj] Error 1
I can fix the first problem (CNullDriver.h:345: error: ISO C++ forbids declaration of `IAttributes' with no type) by adding "IAttriutes.h", but I still get the "conflicting return error...
Ah, and DevC++ complains about two missing files "CImageLoaderMisc.cpp" and "CImageLoaderMisc.h"... but I suppose these have been removed, because I can't find them in the SVN repositry...
In file included from CSoftwareDriver.h:9,
from CSoftwareDriver.cpp:5:
CNullDriver.h:345: error: ISO C++ forbids declaration of `IAttributes' with no type
CNullDriver.h:345: error: invalid use of `::'
CNullDriver.h:345: error: `IAttributes' declared as a `virtual' field
CNullDriver.h:345: error: expected `;' before '*' token
CNullDriver.h:348: error: `irr::io::IAttributes' has not been declared
CNullDriver.h:348: error: ISO C++ forbids declaration of `attributes' with no type
CNullDriver.h:255: error: conflicting return type specified for `virtual const irr::core::matrix4& irr::video::CNullDriver::getTransform(irr::video::E_TRANSFORMATION_STATE)'
C:/Dev-Cpp/include/irrlicht/IVideoDriver.h:157: error: overriding `virtual irr::core::matrix4 irr::video::IVideoDriver::getTransform(irr::video::E_TRANSFORMATION_STATE)'
CNullDriver.h: In member function `bool irr::video::CNullDriver::SSurface::operator<(const irr::video::CNullDriver::SSurface&) const':
CNullDriver.h:405: error: 'class irr::video::ITexture' has no member named 'getName'
CNullDriver.h:405: error: 'class irr::video::ITexture' has no member named 'getName'
CNullDriver.h: In constructor `irr::video::CNullDriver::SDummyTexture::SDummyTexture(const char*)':
CNullDriver.h:417: error: no matching function for call to `irr::video::ITexture::ITexture(const char*&)'
C:/Dev-Cpp/include/irrlicht/ITexture.h:94: note: candidates are: irr::video::ITexture::ITexture()
C:/Dev-Cpp/include/irrlicht/ITexture.h:94: note: irr::video::ITexture::ITexture(const irr::video::ITexture&)
CSoftwareDriver.cpp: In member function `virtual void irr::video::CSoftwareDriver::setViewPort(const irr::core::rect<irr::s32>&)':
CSoftwareDriver.cpp:308: error: 'class irr::core::rect<irr::s32>' has no member named 'getSize'
CSoftwareDriver.cpp: In function `irr::video::IVideoDriver* irr::video::createSoftwareDriver(const irr::core::dimension2d<irr::s32>&, bool, irr::io::IFileSystem*, irr::video::IImagePresenter*)':
CSoftwareDriver.cpp:761: error: cannot allocate an object of type `irr::video::CSoftwareDriver'
CSoftwareDriver.cpp:761: error: because the following virtual functions are abstract:
C:/Dev-Cpp/include/irrlicht/IVideoDriver.h:699: error: virtual irr::s32 irr::video::IVideoDriver::addMaterialRenderer(irr::video::IMaterialRenderer*)
make.exe: *** [CSoftwareDriver.obj] Error 1
I can fix the first problem (CNullDriver.h:345: error: ISO C++ forbids declaration of `IAttributes' with no type) by adding "IAttriutes.h", but I still get the "conflicting return error...
Ah, and DevC++ complains about two missing files "CImageLoaderMisc.cpp" and "CImageLoaderMisc.h"... but I suppose these have been removed, because I can't find them in the SVN repositry...