3rd Person Camera
Linking error
I put all the files in the same folder as you said in your post but I still get linking errors, what am I doing wrong?
-
- Posts: 158
- Joined: Wed Apr 28, 2004 11:03 am
- Location: Hungary
- Contact:
What compiler do you use? Other irrlicht things compile well?
This thing compiled OK on my PC (apart from a few compiler warnings maybe). I am using MSVC6++ , btw.
Rizzler, I know it's two weeks since you posted that, but I only got back here now. If you want me to check that code, fix the link - it's broken
This thing compiled OK on my PC (apart from a few compiler warnings maybe). I am using MSVC6++ , btw.
Rizzler, I know it's two weeks since you posted that, but I only got back here now. If you want me to check that code, fix the link - it's broken
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Are we controlled, or is our own will...?
(Edguy)
Linking error
I'm using MSVC6++ too, here is the error message I get, any ideas?
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/3rdPersonCamera.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/3rdPersonCamera.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
-
- Posts: 158
- Joined: Wed Apr 28, 2004 11:03 am
- Location: Hungary
- Contact:
Code: Select all
--------------------Configuration: NEWTON EXAMPLE - Win32 Release--------------------
Compiling...
g_cam.cpp
game.cpp
Main.cpp
Linking...
NEWTON EXAMPLE.exe - 0 error(s), 0 warning(s)
--------------------Configuration: NEWTON EXAMPLE - Win32 Debug--------------------
Compiling...
g_cam.cpp
game.cpp
Main.cpp
Linking...
NEWTON EXAMPLE.exe - 0 error(s), 0 warning(s)
What meets the eye is the name of the exe differs in my and your compilation. Note this means you changed something already. Try downloading a clean source from my site (link already posted in this thread) and see if that works. I cannot give help if you don't tell me what you changed, or if you are using someone else's source...
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Are we controlled, or is our own will...?
(Edguy)
thnx for ur help but i got it working thats why i took the link downAssiDragon wrote:What compiler do you use? Other irrlicht things compile well?
This thing compiled OK on my PC (apart from a few compiler warnings maybe). I am using MSVC6++ , btw.
Rizzler, I know it's two weeks since you posted that, but I only got back here now. If you want me to check that code, fix the link - it's broken
great cam btw very useful
-
- Posts: 158
- Joined: Wed Apr 28, 2004 11:03 am
- Location: Hungary
- Contact:
-
- Posts: 292
- Joined: Sun Mar 14, 2004 5:28 pm
- Location: Germany
- Contact:
the camera animators are (will be) implemented nativly in IrrlichtNX
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
When I try to compile this script, I keep getting this error message:
Can anyone tell me what needs to be fixed to update this script to the current version of Irrlicht?
Code: Select all
3person.cpp:1:9: warning: #pragma once is obsolete
3person.cpp:1:9: warning: #pragma once in main file
3person.cpp:57: error: invalid type `irr::core::vector3df' for default argument
to `irr::core::vector3df&'
3person.cpp: In constructor `
CSceneNodeAnimator3PPlayer::CSceneNodeAnimator3PPlayer(irr::scene::ISceneManager*,
irr::scene::ICameraSceneNode*, CSceneNodeAnimator3PCamera*, float)':
3person.cpp:390: warning: assignment of negative value `-1' to `u32'
3person.cpp:390: warning: argument of negative value `-1' to `unsigned int'
3person.cpp: In function `int main()':
3person.cpp:602: error: no matching function for call to `
CSceneNodeAnimator3PCamera::CSceneNodeAnimator3PCamera(
irr::scene::ISceneManager*&, irr::gui::ICursorControl*,
irr::scene::IAnimatedMeshSceneNode*&, int, int, int, irr::core::vector3df)'
3person.cpp:38: error: candidates are:
CSceneNodeAnimator3PCamera::CSceneNodeAnimator3PCamera(const
CSceneNodeAnimator3PCamera&)
3person.cpp:136: error:
CSceneNodeAnimator3PCamera::CSceneNodeAnimator3PCamera(irr::scene::ISceneManager*,
irr::gui::ICursorControl*, irr::scene::ISceneNode*, float, float, float,
irr::core::vector3df&, float, float, float, float, float, float, float)
g++.exe 3person.o -o "Project1.exe" -L"C:/DEV-CPP/lib" -L"C:/Programming/irrlicht-0.7/include" -L"C:/DXSDK/Lib" -L"C:/Programming/CS/libs" -L"C:/Programming/CS/CrystalSpaceLibs/lib" -L"C:/Programming/irrlicht-0.7/lib/DevCpp" ../../irrlicht-0.7/lib/DevCpp/libIrrlicht.a ../../irrlicht-0.7/lib/DevCpp/libjpeg.a ../../irrlicht-0.7/lib/DevCpp/libz.a
G__~1.EXE: 3person.o: No such file or directory
Execution terminated
here is list of my errors:
3rdPersonCamera.obj : error LNK2001: unresolved external symbol "public: __thiscall CSceneNodeAnimator3PPlayer::CSceneNodeAnimator3PPlayer(class irr::scene::ISceneManager *,class irr::scene::ICameraSceneNode *,class CSceneNodeAnimator3PCamera *,floa
t)" (??0CSceneNodeAnimator3PPlayer@@QAE@PAVISceneManager@scene@irr@@PAVICameraSceneNode@23@PAVCSceneNodeAnimator3PCamera@@M@Z)
3rdPersonCamera.obj : error LNK2001: unresolved external symbol "public: __thiscall CSceneNodeAnimator3PCamera::CSceneNodeAnimator3PCamera(class irr::scene::ISceneManager *,class irr::gui::ICursorControl *,class irr::scene::ISceneNode *,float,float,
float,class irr::core::vector3d<float> &,float,float,float,float,float,float,float)" (??0CSceneNodeAnimator3PCamera@@QAE@PAVISceneManager@scene@irr@@PAVICursorControl@gui@3@PAVISceneNode@23@MMMAAV?$vector3d@M@core@3@MMMMMMM@Z)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/3rdPersonCamera.exe : fatal error LNK1120: 3 unresolved externals
3rdPersonCamera.obj : error LNK2001: unresolved external symbol "public: __thiscall CSceneNodeAnimator3PPlayer::CSceneNodeAnimator3PPlayer(class irr::scene::ISceneManager *,class irr::scene::ICameraSceneNode *,class CSceneNodeAnimator3PCamera *,floa
t)" (??0CSceneNodeAnimator3PPlayer@@QAE@PAVISceneManager@scene@irr@@PAVICameraSceneNode@23@PAVCSceneNodeAnimator3PCamera@@M@Z)
3rdPersonCamera.obj : error LNK2001: unresolved external symbol "public: __thiscall CSceneNodeAnimator3PCamera::CSceneNodeAnimator3PCamera(class irr::scene::ISceneManager *,class irr::gui::ICursorControl *,class irr::scene::ISceneNode *,float,float,
float,class irr::core::vector3d<float> &,float,float,float,float,float,float,float)" (??0CSceneNodeAnimator3PCamera@@QAE@PAVISceneManager@scene@irr@@PAVICursorControl@gui@3@PAVISceneNode@23@MMMAAV?$vector3d@M@core@3@MMMMMMM@Z)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/3rdPersonCamera.exe : fatal error LNK1120: 3 unresolved externals
-
- Posts: 6
- Joined: Mon Nov 22, 2004 1:54 am
- Location: USA: Texas
- Contact:
broken links :/
Hi...
Have some one the this files ?
newtonirrlicht_3dcamera.ZIP
simple3rdview.zip
All postet links are dead
Ramirez
Have some one the this files ?
newtonirrlicht_3dcamera.ZIP
simple3rdview.zip
All postet links are dead
Ramirez