3rd Person Camera

A forum to store posts deemed exceptionally wise and useful

What do you think of the camera?

Great!!
33
46%
Good
25
35%
Bad
7
10%
Terrible
7
10%
 
Total votes: 72

Guest

Linking error

Post by Guest »

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? :cry:
AssiDragon
Posts: 158
Joined: Wed Apr 28, 2004 11:03 am
Location: Hungary
Contact:

Post by AssiDragon »

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
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Guest

Linking error

Post by Guest »

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.
AssiDragon
Posts: 158
Joined: Wed Apr 28, 2004 11:03 am
Location: Hungary
Contact:

Post by AssiDragon »

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)
I just downloaded my example and compiled it... see it worked.

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)
RizzleR
Posts: 15
Joined: Tue Jun 15, 2004 10:12 am

Post by RizzleR »

AssiDragon 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
thnx for ur help but i got it working thats why i took the link down
great cam btw very useful
AssiDragon
Posts: 158
Joined: Wed Apr 28, 2004 11:03 am
Location: Hungary
Contact:

Post by AssiDragon »

Oh, good then :) Glad you liked it.
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Peter Müller
Posts: 292
Joined: Sun Mar 14, 2004 5:28 pm
Location: Germany
Contact:

Post by Peter Müller »

the camera animators are (will be) implemented nativly in IrrlichtNX
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
eeheeehe
Posts: 22
Joined: Tue Sep 28, 2004 3:33 am

Post by eeheeehe »

When I try to compile this script, I keep getting this error message:

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
Can anyone tell me what needs to be fixed to update this script to the current version of Irrlicht?
Kyx

Post by Kyx »

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
TheGoldeagle
Posts: 6
Joined: Mon Nov 22, 2004 1:54 am
Location: USA: Texas
Contact:

Post by TheGoldeagle »

The .exe does not work for my as well as trying to compile it. I use Microsoft Visual Studio. I get a linker error.
Guest

Post by Guest »

I get exactly the same error as kyx.
Guest

Post by Guest »

Yeah the .exe nor the proj. works for me :\, in both there are errors..
Ramirez
Posts: 3
Joined: Fri Mar 04, 2005 10:37 am

broken links :/

Post by Ramirez »

Hi...

Have some one the this files ?

newtonirrlicht_3dcamera.ZIP
simple3rdview.zip

All postet links are dead :(

Ramirez
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Post by Nemesis »

Same here :( !
S.T.A.R.S.! (Resident Evil 3)
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Post by Nemesis »

Maybe I'm wrong, but I don't think this file isn't interesting :( ... But also if this is a new topic, there's no file in the link :( ... Anyone can upload it please :( ?
S.T.A.R.S.! (Resident Evil 3)
Post Reply