A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Auradrummer » Tue Aug 18, 2009 4:26 pm
Hello All,
I'm facing some problems linking the Newton at Dev-C++.
I'm getting this error:
[Linker error] undefined reference to `dMatrix::RotateVector(dVector const&) const'
Someone knows what is causing this? I'm new at Dev-C++.
Developing a racing game.
-
Auradrummer
-
- Posts: 132
- Joined: Sat May 17, 2008 9:17 am
by Julio Jerez » Tue Aug 18, 2009 4:51 pm
you have the source for those functions
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JernejL » Tue Aug 18, 2009 5:05 pm
look around the sdk for these headers and code, it is all there.
-
JernejL
-
- Posts: 1578
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
by Auradrummer » Tue Aug 18, 2009 8:33 pm
What I'm not understanding is that the RotateVector is inside dMatrix.h and i have included and using dMatrixes. Why only this function is with trouble?
In Linux I don't have those issues. This is the reason I'm a bit lost.
Developing a racing game.
-
Auradrummer
-
- Posts: 132
- Joined: Sat May 17, 2008 9:17 am
by Julio Jerez » Tue Aug 18, 2009 8:39 pm
what is the exact error mmessage.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by hpesoj » Wed Aug 19, 2009 5:39 am
Why are you using Dev-C++? It stopped being developed over 4 years ago. Code::Blocks, Eclipse IDE or Visual Studio Express are all far better options.
-
hpesoj
-
- Posts: 90
- Joined: Sun Jan 09, 2005 4:36 pm
- Location: Cambridge/Bristol, UK
by Auradrummer » Wed Aug 19, 2009 3:50 pm
Julio,
is exactly this:
[Linker error] undefined reference to `dMatrix::RotateVector(dVector const&) const'
hpsoj:
Hey, this is serious. What you recommend me? I think Visual Studio is the better supported by Newton, right?
Developing a racing game.
-
Auradrummer
-
- Posts: 132
- Joined: Sat May 17, 2008 9:17 am
by hpesoj » Wed Aug 19, 2009 4:44 pm
It's better supported in general, although I'm not saying your problem will be fixed by switching IDE (Code::Blocks and Eclipse also use the GCC compiler). I also used Dev-C++ when I was new to C++, but I quickly realised there are better alternatives.
Your problem is that the function RotateVector is not defined anywhere in your code, or in any libraries you are linking to. Have you added dMatrix.cpp to your project?
-
hpesoj
-
- Posts: 90
- Joined: Sun Jan 09, 2005 4:36 pm
- Location: Cambridge/Bristol, UK
by Auradrummer » Thu Aug 20, 2009 10:18 am
Hpesoj:
BINGO!
Solved and thank you!
I need a really light IDE to work with, because I'll use Newton at my class (I'm a teacher) and my school have some outdated machines. Do you have some idea what IDE can be used? I was informed that Visual Studio is a bit heavy.
Developing a racing game.
-
Auradrummer
-
- Posts: 132
- Joined: Sat May 17, 2008 9:17 am
by hpesoj » Thu Aug 20, 2009 11:20 am
Code::Blocks is also a fairly lightweight IDE, and you could also try out CodeLite (I've never used it, but it looks ok). I don't know how well Visual Studio will run on your machines, but the only way to find out is to give it a go.
If your machines are really slow, perhaps you will have to stick with Dev-C++. It's not the end of the world though.
-
hpesoj
-
- Posts: 90
- Joined: Sun Jan 09, 2005 4:36 pm
- Location: Cambridge/Bristol, UK
by Auradrummer » Sun Aug 23, 2009 10:57 am
We made some tests at school with Dev-C++ and runs fine. We'll keep it, at least while it is usable.
Is better than one that they are using, the "Turbo C IDE". (I'm not sure if you were born when it was used ...)
Developing a racing game.
-
Auradrummer
-
- Posts: 132
- Joined: Sat May 17, 2008 9:17 am
by kallaspriit » Sun Aug 23, 2009 12:04 pm
Do try Code::Blocks too, it is also lightweight and should have no problems running on mediocre hardware
-
kallaspriit
-
- Posts: 216
- Joined: Sun Aug 14, 2005 6:31 pm
by agi_shi » Sun Aug 23, 2009 12:11 pm
I use Code::Blocks on my school machines via a USB drive.
-
agi_shi
-
- Posts: 263
- Joined: Fri Aug 17, 2007 6:54 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 49 guests