problems compiling
-
- Posts: 26
- Joined: Mon Aug 03, 2009 2:16 pm
problems compiling
I am using vs 2008 express edition The erros are linking errors. Here is waht i did I went to tools/options / vC++directories then i added the include and the lib files When i try to compile the heelo world examplei get
------ Build started: Project: hhhhh, Configuration: Debug Win32 ------
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
main.cpp
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1104: cannot open file 'Irrlicht.lib'
Build log was saved at "file://c:\3Dfish\gameengine\irrlicht-1.5\examples\01.HelloWorld\Debug\BuildLog.htm"
hhhhh - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I thought i did eberything okay tell me what's wrong
Thanks
inovermyhead
------ Build started: Project: hhhhh, Configuration: Debug Win32 ------
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
main.cpp
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1104: cannot open file 'Irrlicht.lib'
Build log was saved at "file://c:\3Dfish\gameengine\irrlicht-1.5\examples\01.HelloWorld\Debug\BuildLog.htm"
hhhhh - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I thought i did eberything okay tell me what's wrong
Thanks
inovermyhead
-
- Posts: 26
- Joined: Mon Aug 03, 2009 2:16 pm
My path is different but everything is there include and lib files and i went to tools options projects solutions/ VC++ directories I can't see the problem
C:\3Dfish\gameengine\irrlicht-1.5\lib
C:\3Dfish\gameengine\irrlicht-1.5\include
It should work. I did something worng. Thanks anyway
inovermyhead
C:\3Dfish\gameengine\irrlicht-1.5\lib
C:\3Dfish\gameengine\irrlicht-1.5\include
It should work. I did something worng. Thanks anyway
inovermyhead
The lib folder has some subfolders where the actual libraries are stored. For Visual Studio this would be win32-visualstudioinovermyhead wrote:C:\3Dfish\gameengine\irrlicht-1.5\lib
So the path should be:
C:\3Dfish\gameengine\irrlicht-1.5\lib\win32-visualstudio
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
-
- Posts: 26
- Joined: Mon Aug 03, 2009 2:16 pm
have you compiled irrlicht? do you mean irrlicht.dll not found?
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Posts: 26
- Joined: Mon Aug 03, 2009 2:16 pm
Drag Irrlicht.dll into the folder that your application is in.
If that doesn't work, are you running the application from inside MSVC? Like testing it? If you are, make sure you set the working directory of your application to the folder that your executable is in that so it can find the .dll. Run the application from the folder and not from inside MSVC, and see if that works.
If that doesn't work, are you running the application from inside MSVC? Like testing it? If you are, make sure you set the working directory of your application to the folder that your executable is in that so it can find the .dll. Run the application from the folder and not from inside MSVC, and see if that works.
-
- Posts: 26
- Joined: Mon Aug 03, 2009 2:16 pm