Irrlicht->Dev-C++->DX8 problem
As I stated beforehand, you may need to make a modification ( see my previous post ). For DLL, you must also need to add them in your project, just try to play around with the settings and find out where dll files are defined for ypur project. You should be really more careful ( if it doesn't find your dll, it is because your output makefile doesn't acknowledge it, so you must add them in the settings )
I don't know if the other libs i posted here were useful, anyway here are the DirectX8-enhanced libs that i use with Dev-C++ :
http://lebrodeldenop.free.fr/irrlicht/0.4.2/0.4.2.zip
http://lebrodeldenop.free.fr/irrlicht/0.4.2/0.4.2.zip
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
Hi !
I also can't compile the engine at my pc (Win2K Prof. + DevCpp 4.9.8.5 + MingW + Gcc 3.3.1). It brakes while linking and shows this message:
------------------------------------------------------------------------------------
dllwrap.exe --output-def libIrrlicht.def --driver-name c++ --implib libIrrlicht.a CAnimatedMeshMD2.o CAnimatedMeshMS3D.o CAnimatedMeshSceneNode.o CBillboardSceneNode.o CBspTree.o CBspTreeSceneNode.o CCameraMayaSceneNode.o CCameraSceneNode.o CColorConverter.o CDirectX8Texture.o CFileList.o CFileSystem.o CFPSCounter.o CGUIButton.o CGUICheckbox.o CGUIEnvironment.o CGUIFileOpenDialog.o CGUIFont.o CGUIImage.o CGUIListBox.o CGUIMeshViewer.o CGUIScrollBar.o CGUISkin.o CGUIStaticText.o CGUIWindow.o CIrrDeviceWin32.o CLightSceneNode.o CLimitReadFile.o CMemoryReadFile.o CMeshSceneNode.o COctTreeSceneNode.o COpenGLTexture.o CQ3LevelMesh.o CReadFile.o CSceneManager.o CSceneNodeAnimatorFlyCircle.o CSceneNodeAnimatorRotation.o CSoftwareTexture.o CStaticMeshOBJ.o CTestSceneNode.o CTRFlat.o CTRFlatWire.o CTRGouraud.o CTRGouraudWire.o CTRTextureFlat.o CTRTextureFlatWire.o CTRTextureGouraud.o CTRTextureGouraudWire.o CVideoDirectX8.o CVideoNull.o CVideoOpenGL.o CVideoSoftware.o CZBuffer.o CZipReader.o Irrlicht.o os.o CCameraFPSSceneNode.o CGeometryCreator.o CSceneNodeAnimatorFlyStraight.o CSceneNodeAnimatorTexture.o CDefaultMeshFormatLoader.o CSkyBoxSceneNode.o CShadowVolumeSceneNode.o C3DSMeshFileLoader.o CSceneCollisionManager.o CIrrDeviceStub.o CParticleSystemSceneNode.o CParticleFadeOutAffector.o CParticleBoxEmitter.o CParticlePointEmitter.o CParticleGravityAffector.o CDummyTransformationSceneNode.o CGUIInOutFader.o CIrrDeviceLinux.o CMeshManipulator.o CMetaTriangleSelector.o COctTreeTriangleSelector.o CSceneNodeAnimatorCollisionResponse.o CSceneNodeAnimatorDelete.o CTriangleBBSelector.o CTriangleSelector.o CVideoModeList.o CWaterSurfaceSceneNode.o CGUIMessageBox.o CGUIModalScreen.o CEmptySceneNode.o CImage.o CImageLoaderBmp.o CImageLoaderJPG.o CImageLoaderPCX.o CImageLoaderPSD.o CImageLoaderTGA.o CLogger.o CTerrainSceneNode.o -L"F:/Coding/MinGW/lib" -L"F:/Coding/FMode/api/lib" -L"F:/Coding/IrrLicht/lib/DevCpp" -L"F:/Coding/MinGW/lib/jpeglib" -L"F:/Coding/MinGW/lib/zlib" -L"jpeglib" -L"zlib" --no-export-all-symbols --add-stdcall-alias -lgdi32 -lglu32 -lopengl32 -lz -ld3d8 -ld3dx8d -o Irrlicht.dll
Die eingegebene Zeile ist zu lang.
---------------------------------------------------------------------------------
mingw32-make.exe: *** [Irrlicht.dll] Error 255
Does anyone have suggestions for solving this problem ?
Greetings, Thomas
I also can't compile the engine at my pc (Win2K Prof. + DevCpp 4.9.8.5 + MingW + Gcc 3.3.1). It brakes while linking and shows this message:
------------------------------------------------------------------------------------
dllwrap.exe --output-def libIrrlicht.def --driver-name c++ --implib libIrrlicht.a CAnimatedMeshMD2.o CAnimatedMeshMS3D.o CAnimatedMeshSceneNode.o CBillboardSceneNode.o CBspTree.o CBspTreeSceneNode.o CCameraMayaSceneNode.o CCameraSceneNode.o CColorConverter.o CDirectX8Texture.o CFileList.o CFileSystem.o CFPSCounter.o CGUIButton.o CGUICheckbox.o CGUIEnvironment.o CGUIFileOpenDialog.o CGUIFont.o CGUIImage.o CGUIListBox.o CGUIMeshViewer.o CGUIScrollBar.o CGUISkin.o CGUIStaticText.o CGUIWindow.o CIrrDeviceWin32.o CLightSceneNode.o CLimitReadFile.o CMemoryReadFile.o CMeshSceneNode.o COctTreeSceneNode.o COpenGLTexture.o CQ3LevelMesh.o CReadFile.o CSceneManager.o CSceneNodeAnimatorFlyCircle.o CSceneNodeAnimatorRotation.o CSoftwareTexture.o CStaticMeshOBJ.o CTestSceneNode.o CTRFlat.o CTRFlatWire.o CTRGouraud.o CTRGouraudWire.o CTRTextureFlat.o CTRTextureFlatWire.o CTRTextureGouraud.o CTRTextureGouraudWire.o CVideoDirectX8.o CVideoNull.o CVideoOpenGL.o CVideoSoftware.o CZBuffer.o CZipReader.o Irrlicht.o os.o CCameraFPSSceneNode.o CGeometryCreator.o CSceneNodeAnimatorFlyStraight.o CSceneNodeAnimatorTexture.o CDefaultMeshFormatLoader.o CSkyBoxSceneNode.o CShadowVolumeSceneNode.o C3DSMeshFileLoader.o CSceneCollisionManager.o CIrrDeviceStub.o CParticleSystemSceneNode.o CParticleFadeOutAffector.o CParticleBoxEmitter.o CParticlePointEmitter.o CParticleGravityAffector.o CDummyTransformationSceneNode.o CGUIInOutFader.o CIrrDeviceLinux.o CMeshManipulator.o CMetaTriangleSelector.o COctTreeTriangleSelector.o CSceneNodeAnimatorCollisionResponse.o CSceneNodeAnimatorDelete.o CTriangleBBSelector.o CTriangleSelector.o CVideoModeList.o CWaterSurfaceSceneNode.o CGUIMessageBox.o CGUIModalScreen.o CEmptySceneNode.o CImage.o CImageLoaderBmp.o CImageLoaderJPG.o CImageLoaderPCX.o CImageLoaderPSD.o CImageLoaderTGA.o CLogger.o CTerrainSceneNode.o -L"F:/Coding/MinGW/lib" -L"F:/Coding/FMode/api/lib" -L"F:/Coding/IrrLicht/lib/DevCpp" -L"F:/Coding/MinGW/lib/jpeglib" -L"F:/Coding/MinGW/lib/zlib" -L"jpeglib" -L"zlib" --no-export-all-symbols --add-stdcall-alias -lgdi32 -lglu32 -lopengl32 -lz -ld3d8 -ld3dx8d -o Irrlicht.dll
Die eingegebene Zeile ist zu lang.
---------------------------------------------------------------------------------
mingw32-make.exe: *** [Irrlicht.dll] Error 255
Does anyone have suggestions for solving this problem ?
Greetings, Thomas
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
-
- Posts: 92
- Joined: Sat Nov 29, 2003 8:30 pm
- Contact:
This is the infamous "The input line is too long" error. I had to make a batch procedure like this:Monkey wrote:Die eingegebene Zeile ist zu lang.
DLLWRAPDX.BAT:
Code: Select all
dllwrap.exe --output-def ../bin/DevCpp/libIrrlicht.def --driver-name c++ --implib ../bin/DevCpp/libIrrlicht.a *.o -L"C:/Programmi/Dev-Cpp/lib" -L"jpeglib" -L"zlib" --no-export-all-symbols --add-stdcall-alias -lgdi32 -lglu32 -lopengl32 -ld3d8 -ld3dx8d -ljpeg -lz -o ../bin/DevCpp/Irrlicht.dll
By the way, I compiled the engine to work with DX8 in Dev-C++ and all is OK... but a small issue: addAmbientLight does nothing at all.
Meanwhile I've managed it with a modified MAKEFILE, in which all the objects given to dllwrap are replaced by a *.o (@madinitaly: I had read your thread due to this, thanks ...)
Now the Irrlicht DLL has got a size of 1 MB ! And thats too much as the downloadable versions from NOP have only about 25 % of this size.
Any suggestions how to manage this ?
The configs I use now in the MAKEFILE are:
CXXFLAGS = -s $(CXXINCS)-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DIRRLICHT_EXPORTS -mcpu=i686 -O3
CFLAGS = -s $(INCS)-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DIRRLICHT_EXPORTS -mcpu=i686 -O3
$(BIN): $(LINKOBJ)
$(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) Objects/*.o $(LIBS) -o $(BIN)
Greetings, Thomas
Now the Irrlicht DLL has got a size of 1 MB ! And thats too much as the downloadable versions from NOP have only about 25 % of this size.
Any suggestions how to manage this ?
The configs I use now in the MAKEFILE are:
CXXFLAGS = -s $(CXXINCS)-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DIRRLICHT_EXPORTS -mcpu=i686 -O3
CFLAGS = -s $(INCS)-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DIRRLICHT_EXPORTS -mcpu=i686 -O3
$(BIN): $(LINKOBJ)
$(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) Objects/*.o $(LIBS) -o $(BIN)
Greetings, Thomas
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
-
- Posts: 602
- Joined: Sat Aug 23, 2003 2:03 am
- Location: Pottstown, PA
- Contact:
-
- Posts: 92
- Joined: Sat Nov 29, 2003 8:30 pm
- Contact:
-
- Posts: 602
- Joined: Sat Aug 23, 2003 2:03 am
- Location: Pottstown, PA
- Contact:
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
-
- Posts: 92
- Joined: Sat Nov 29, 2003 8:30 pm
- Contact:
Just click -> HERE <-
(And let me know if it works well eheh )
(And let me know if it works well eheh )