You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
agrif
Post
by agrif » Sat Mar 13, 2004 3:31 pm
I've been trying to compile Irrlicht 0.6 in Dev-C++, and ran into one major problem. Here's my log:
Code: Select all
Compiler: Default compiler
Building Makefile: "D:\irrlicht6\source\real\Makefile.win"
Executing make...
make.exe -f "D:\irrlicht6\source\real\Makefile.win" all
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 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 CDirectX9Texture.o CGUIContextMenu.o CGUIEditBox.o CGUIMenu.o CGUITabControl.o COSOperator.o CSceneNodeAnimatorFollowSpline.o CVideoDirectX9.o CXAnimationPlayer.o CXFileReader.o CXMeshFileLoader.o CTextReader.o CXMLReader.o CWriteFile.o CGUIComboBox.o CGUIToolBar.o CXMLWriter.o CGUICheckBox.o -L"C:/Dev-Cpp/lib" -L"D:/irrlicht6/source/real/jpeglib" -L"D:/irrlicht6/source/real/zlib" --no-export-all-symbols --add-stdcall-alias -lgdi32 -lglu32 -lopengl32 -ljpeg -lz -o Irrlicht.dll
The input line is too long.
make.exe: *** [Irrlicht.dll] Error 255
Execution terminated
Am I reading this wrong, or are there just too many files?
How do I fix this?
Sorry if this is the wrong forum...
agrif
dingo at work
Post
by dingo at work » Sun Mar 14, 2004 2:10 am
I'm probably not the most knowledgable person to answer this but I have come across this in other areas.
Short answer is yes I think it is too many files. I believe this is caused by multiple files calling others or even recurrsion of the calls (I think).
The solution can be to increase the number of files your compiler is happy with - usually a compiler switch. But usually the solution i sto fix a problem that is calling all the extra files "behind the scenes".
Have a very close look at which libraries are being called and what their versions are (debug/multithread vs debug/single-threaded for example) - what ever you do make sure you are not mixing up the version especially multithreaded runtimes vs silnglethread runtime libraries
Hope that helps to track down the problem
Dingo
alexem
Posts: 35 Joined: Sun Feb 29, 2004 4:55 pm
Post
by alexem » Fri Mar 19, 2004 9:03 am
what project are you compiling. I have problem compiling the TechDemo.
Code: Select all
Compiler: Default compiler
Building Makefile: "D:\irrlicht-0.6\examples\Techdemo\Makefile.win"
Executing make clean
rm -f CDemo.o CMainMenu.o main.o Techdemo_private.res Techdemo.exe
g++.exe -c CDemo.cpp -o CDemo.o -I"D:/tools/prog/Dev-Cpp/include/c++" -I"D:/tools/prog/Dev-Cpp/include/c++/mingw32" -I"D:/tools/prog/Dev-Cpp/include/c++/backward" -I"D:/tools/prog/Dev-Cpp/include" -I"D:/irrlicht-0.6/include" -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS
CDemo.cpp: In member function `void CDemo::switchToNextScene()':
CDemo.cpp:245: warning: assignment of negative value `-1' to `u32'
CDemo.cpp:245: warning: argument of negative value `-1' to `unsigned int'
g++.exe -c CMainMenu.cpp -o CMainMenu.o -I"D:/tools/prog/Dev-Cpp/include/c++" -I"D:/tools/prog/Dev-Cpp/include/c++/mingw32" -I"D:/tools/prog/Dev-Cpp/include/c++/backward" -I"D:/tools/prog/Dev-Cpp/include" -I"D:/irrlicht-0.6/include" -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS
g++.exe -c main.cpp -o main.o -I"D:/tools/prog/Dev-Cpp/include/c++" -I"D:/tools/prog/Dev-Cpp/include/c++/mingw32" -I"D:/tools/prog/Dev-Cpp/include/c++/backward" -I"D:/tools/prog/Dev-Cpp/include" -I"D:/irrlicht-0.6/include" -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS
windres.exe -i Techdemo_private.rc -I rc -o Techdemo_private.res -O coff
windres.exe: no resources
make.exe: *** [Techdemo_private.res] Error 1
Execution terminated
This is my problem.
Did you follow the instructions in the tutorial setting up devcpp in the tutorials page?
Yours sencerely,
Alexander Milanoff