problem compiling the engine this is the second post i made

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
bradford789
Posts: 2
Joined: Wed Oct 10, 2007 8:48 am

problem compiling the engine this is the second post i made

Post by bradford789 »

ok im having a problem here and i have no idea why it is happening im followed your tut to the letter and this is what i keep on getting when i go to compile

Switching to target: Release
Linking dynamic library: ..\..\bin\Win32-visualstudio\Irrlicht.dll
LINK : fatal error LNK1104: cannot open file '..\..\bin\Win32-visualstudio\Irrlicht.dll'
Process terminated with status 1 (0 minutes, 2 seconds)
1 errors, 0 warnings


and this is what i get when i reopen the project


19:53:40: The path 'C:changes.txt' contains too many ".."!
19:53:40: The path 'C:ECullingTypes.h' contains too many ".."!
19:53:40: The path 'C:EDebugSceneTypes.h' contains too many ".."!
19:53:40: The path 'C:EDriverTypes.h' contains too many ".."!
19:53:40: The path 'C:EGUIElementTypes.h' contains too many ".."!
19:53:40: The path 'C:ESceneNodeAnimatorTypes.h' contains too many ".."!
19:53:40: The path 'C:ESceneNodeTypes.h' contains too many ".."!
19:53:40: The path 'C:IAnimatedMesh.h' contains too many ".."!
19:53:40: The path 'C:IAnimatedMeshMD2.h' contains too many ".."!
19:53:40: The path 'C:IAnimatedMeshMD3.h' contains too many ".."!
19:53:40: The path 'C:IAnimatedMeshMS3D.h' contains too many ".."!
19:53:40: The path 'C:IAnimatedMeshSceneNode.h' contains too many ".."!
19:53:40: The path 'C:IAnimatedMeshX.h' contains too many ".."!
19:53:40: The path 'C:IAttributeExchangingObject.h' contains too many ".."!
19:53:40: The path 'C:IAttributes.h' contains too many ".."!
19:53:40: The path 'C:IBillboardSceneNode.h' contains too many ".."!
19:53:40: The path 'C:ICameraSceneNode.h' contains too many ".."!
19:53:40: The path 'C:ICursorControl.h' contains too many ".."!
19:53:40: The path 'C:IDummyTransformationSceneNode.h' contains too many ".."!
19:53:40: The path 'C:IEventReceiver.h' contains too many ".."!
19:53:40: The path 'C:IFileList.h' contains too many ".."!
19:53:40: The path 'C:IFileSystem.h' contains too many ".."!
19:53:40: The path 'C:IGPUProgrammingServices.h' contains too many ".."!
19:53:40: The path 'C:IGUIButton.h' contains too many ".."!
19:53:40: The path 'C:IGUICheckbox.h' contains too many ".."!
19:53:40: The path 'C:IGUIColorSelectDialog.h' contains too many ".."!
19:53:40: The path 'C:IGUIComboBox.h' contains too many ".."!
19:53:40: The path 'C:IGUIContextMenu.h' contains too many ".."!
19:53:40: The path 'C:IGUIEditBox.h' contains too many ".."!
19:53:40: The path 'C:IGUIElement.h' contains too many ".."!
19:53:40: The path 'C:IGUIEnvironment.h' contains too many ".."!
19:53:40: The path 'C:IGUIFileOpenDialog.h' contains too many ".."!
19:53:40: The path 'C:IGUIFont.h' contains too many ".."!
19:53:40: The path 'C:IGUIImage.h' contains too many ".."!
19:53:40: The path 'C:IGUIInOutFader.h' contains too many ".."!
19:53:40: The path 'C:IGUIListBox.h' contains too many ".."!
19:53:40: The path 'C:IGUIMeshViewer.h' contains too many ".."!
19:53:40: The path 'C:IGUIScrollBar.h' contains too many ".."!
19:53:40: The path 'C:IGUISkin.h' contains too many ".."!
19:53:40: The path 'C:IGUISpriteBank.h' contains too many ".."!
19:53:40: The path 'C:IGUIStaticText.h' contains too many ".."!
19:53:40: The path 'C:IGUITabControl.h' contains too many ".."!
19:53:40: The path 'C:IGUIToolbar.h' contains too many ".."!
19:53:40: The path 'C:IGUIWindow.h' contains too many ".."!
19:53:40: The path 'C:IImage.h' contains too many ".."!
19:53:40: The path 'C:IImageLoader.h' contains too many ".."!
19:53:40: The path 'C:ILightSceneNode.h' contains too many ".."!
19:53:40: The path 'C:ILogger.h' contains too many ".."!
19:53:40: The path 'C:IMaterialRenderer.h' contains too many ".."!
19:53:40: The path 'C:IMaterialRendererServices.h' contains too many ".."!
19:53:40: The path 'C:IMesh.h' contains too many ".."!
19:53:40: The path 'C:IMeshBuffer.h' contains too many ".."!
19:53:40: The path 'C:IMeshCache.h' contains too many ".."!
19:53:40: The path 'C:IMeshLoader.h' contains too many ".."!
19:53:40: The path 'C:IMeshManipulator.h' contains too many ".."!
19:53:40: The path 'C:IMeshSceneNode.h' contains too many ".."!
19:53:40: The path 'C:IMetaTriangleSelector.h' contains too many ".."!
19:53:40: The path 'C:IOSOperator.h' contains too many ".."!
19:53:40: The path 'C:IParticleAffector.h' contains too many ".."!
19:53:40: The path 'C:IParticleEmitter.h' contains too many ".."!
19:53:40: The path 'C:IParticleSystemSceneNode.h' contains too many ".."!
19:53:40: The path 'C:IQ3LevelMesh.h' contains too many ".."!
19:53:40: The path 'C:IQ3Shader.h' contains too many ".."!
19:53:40: The path 'C:IReadFile.H' contains too many ".."!
19:53:40: The path 'C:ISceneCollisionManager.h' contains too many ".."!
19:53:40: The path 'C:ISceneManager.h' contains too many ".."!
19:53:40: The path 'C:ISceneNode.h' contains too many ".."!
19:53:40: The path 'C:ISceneNodeAnimator.h' contains too many ".."!
19:53:40: The path 'C:ISceneNodeAnimatorCollisionResponse.h' contains too many ".."!
19:53:40: The path 'C:ISceneNodeAnimatorFactory.h' contains too many ".."!
19:53:40: The path 'C:ISceneNodeFactory.h' contains too many ".."!
19:53:40: The path 'C:ISceneNodeMeshLoader.h' contains too many ".."!
19:53:40: The path 'C:IShaderConstantSetCallBack.h' contains too many ".."!
19:53:40: The path 'C:IShadowVolumeSceneNode.h' contains too many ".."!
19:53:40: The path 'C:ITerrainSceneNode.h' contains too many ".."!
19:53:40: The path 'C:ITextSceneNode.h' contains too many ".."!
19:53:40: The path 'C:ITexture.h' contains too many ".."!
19:53:40: The path 'C:ITimer.h' contains too many ".."!
19:53:40: The path 'C:ITriangleSelector.h' contains too many ".."!
19:53:40: The path 'C:IUnknown.h' contains too many ".."!
19:53:40: The path 'C:IVideoDriver.h' contains too many ".."!
19:53:40: The path 'C:IVideoModeList.h' contains too many ".."!
19:53:40: The path 'C:IWriteFile.h' contains too many ".."!
19:53:40: The path 'C:IXMLReader.h' contains too many ".."!
19:53:40: The path 'C:IXMLWriter.h' contains too many ".."!
19:53:40: The path 'C:IrrCompileConfig.h' contains too many ".."!
19:53:40: The path 'C:IrrlichtDevice.h' contains too many ".."!
19:53:40: The path 'C:Keycodes.h' contains too many ".."!
19:53:40: The path 'C:S3DVertex.h' contains too many ".."!
19:53:40: The path 'C:SAnimatedMesh.h' contains too many ".."!
19:53:40: The path 'C:SColor.h' contains too many ".."!
19:53:40: The path 'C:SExposedVideoData.h' contains too many ".."!
19:53:40: The path 'C:SIrrCreationParameters.h' contains too many ".."!
19:53:40: The path 'C:SKeyMap.h' contains too many ".."!
19:53:40: The path 'C:SLight.h' contains too many ".."!
19:53:40: The path 'C:SMaterial.h' contains too many ".."!
19:53:40: The path 'C:SMesh.h' contains too many ".."!
19:53:40: The path 'C:SMeshBuffer.h' contains too many ".."!
19:53:40: The path 'C:SMeshBufferLightMap.h' contains too many ".."!
19:53:40: The path 'C:SMeshBufferTangents.h' contains too many ".."!
19:53:40: The path 'C:SParticle.h' contains too many ".."!
19:53:40: The path 'C:SViewFrustum.h' contains too many ".."!
19:53:40: The path 'C:SceneParameters.h' contains too many ".."!
19:53:40: The path 'C:aabbox3d.h' contains too many ".."!
19:53:40: The path 'C:coreutil.h' contains too many ".."!
19:53:40: The path 'C:dimension2d.h' contains too many ".."!
19:53:40: The path 'C:fast_atof.h' contains too many ".."!
19:53:40: The path 'C:heapsort.h' contains too many ".."!
19:53:40: The path 'C:irrAllocator.h' contains too many ".."!
19:53:40: The path 'C:irrArray.h' contains too many ".."!
19:53:40: The path 'C:irrList.h' contains too many ".."!
19:53:40: The path 'C:irrMap.h' contains too many ".."!
19:53:40: The path 'C:irrMath.h' contains too many ".."!
19:53:40: The path 'C:irrString.h' contains too many ".."!
19:53:40: The path 'C:irrTypes.h' contains too many ".."!
19:53:40: The path 'C:irrXML.h' contains too many ".."!
19:53:40: The path 'C:irrlicht.h' contains too many ".."!
19:53:40: The path 'C:line2d.h' contains too many ".."!
19:53:40: The path 'C:line3d.h' contains too many ".."!
19:53:40: The path 'C:matrix4.h' contains too many ".."!
19:53:40: The path 'C:plane3d.h' contains too many ".."!
19:53:40: The path 'C:position2d.h' contains too many ".."!
19:53:40: The path 'C:quaternion.h' contains too many ".."!
19:53:40: The path 'C:rect.h' contains too many ".."!
19:53:40: The path 'C:triangle3d.h' contains too many ".."!
19:53:40: The path 'C:vector2d.h' contains too many ".."!
19:53:40: The path 'C:vector3d.h' contains too many ".."!
19:53:40: The path 'C:readme.txt' contains too many ".."!
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Maybe I'm wrong, but why you link this?
Linking dynamic library: ..\..\bin\Win32-visualstudio\Irrlicht.dll
shouldn't you link your compiler to Irrlicht.lib?

by the way you posted at the wrong forum.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Indeed. LNK1104 is a MSVC link-time error. The file that you want to link with is either:

\lib\Win32-visualstudio\Irrlicht.lib

or

\lib\Win64-visualstudio\Irrlicht.lib

Depending on whether you want to target 32 or 64 bit Windows.

Note that most Irrlicht sample files contain the line:

#pragma comment(lib, "Irrlicht.lib")

This is a MSVC compiler directive which links with the correct library (assuming that the lib paths are correct, which they should be for all the sample apps). You shouldn't have to add a link to the library.

Help us to help you. What project are you opening, and what IDE are you opening it in?

I'm going to assume that you're using Microsoft Visual C++ 2005 Express. If so, then I suggest that you do this:

open examples\BuildAllExamples.sln

Build and run example 01. Hello World.

This should build and run without any modifications or problems. If it doesn't, then you have a problem with your build environment. Please give us more information on that i.e. what compiler you are using, and what other libraries and SDKs you have installed, e.g. DirectX SDK.

If you jump on IRC, you can get real time help.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply