recurring trunk build issue

Everything related to the code /
Tout ce qui touche au code
Post Reply
User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

recurring trunk build issue

Post by yoshi314 » Sun Oct 26, 2008 10:05 pm

Code: Select all

/usr/src/ta3d/src/3do.cpp:2129: undefined reference to `TA3D::Math::RandFromTable()'
/usr/src/ta3d/src/3do.cpp:2136: undefined reference to `TA3D::Math::RandFromTable()'
i've been getting this quite often since a month or two. sometimes it goes away.

do you have any clue whether i need some extra libraries/etc?

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Post by milipili » Tue Oct 28, 2008 9:55 pm

This method is provided by the files trunk/src/misc/math.h and trunk/src/misc/math.cpp. Make sure your sources are up to date. The latest revision is r1279 if you're using directly svn.
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sun Nov 02, 2008 11:09 am

you may need to delete CMakeCache.txt if it still doesn't work.
=>;-D Penguin Powered

Doors
Posts: 114
Joined: Wed Jan 09, 2008 7:53 pm
Contact:

Re: recurring trunk build issue

Post by Doors » Sun Nov 02, 2008 5:49 pm

yoshi314 wrote:

Code: Select all

/usr/src/ta3d/src/3do.cpp:2129: undefined reference to `TA3D::Math::RandFromTable()'
/usr/src/ta3d/src/3do.cpp:2136: undefined reference to `TA3D::Math::RandFromTable()'
i've been getting this quite often since a month or two. sometimes it goes away.

do you have any clue whether i need some extra libraries/etc?
This may make no sense but if you run cmake on win32 be sure to run the cmake-gui not the commandline, it goofs for some reason.

Second be sure to define the directories EVERY TIME even if it lists the correct one and kill the cache EVERY TIME.

Failure to do both of these WILL lead to cmake confusing itself.

If I was a better C or C++ programmer I would try to fix the bloody thing using the registry, registry is evil, no self respecting programmer should use it.

Failure to define and purge every time will confuse cmake about a third of the time leading to interesting interactions of you run multiple compiler installs like I do.
Don't just look at the future through a window.
Open a door and go there.
http://ta3d.freedoors.org
http://www.freedoors.org
http://baencd.freedoors.org

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests