What is the reason for this error?

BlitzMax Forums/BlitzMax Programming/What is the reason for this error?

xMicky(Posted 2008) [#1]
Trying to compile a program using a mod I get the error "undefined reference to ...", in detail:

Building CartoonShader
Compiling:CartoonShader.bmx
flat assembler version 1.66
4 passes, 10743 bytes.
Linking:CartoonShader.debug.exe
C:/Program Files/BlitzMax/mod/glimmer.mod/tv3d65.mod/tv3d65.debug.win32.x86.a(tv3dwrapper.cpp.debug.win32.x86.o):tv3dwrapper.cpp:(.text+0x141e): undefined reference to `CTVActor::Load(char*)'

This error is thrown for plenty of such undefined references.
Can anyone tell me how to avoid this error ?


plash(Posted 2008) [#2]
Uh, wrong forum.


Gabriel(Posted 2008) [#3]
Looks like you haven't put libctv3d65.a in the BlitzMax\Lib\ folder.


xMicky(Posted 2008) [#4]
@Plash: What would be the right forum ?

@Gabriel: I purchased a TV3D 6.3 license and downloaded the 6.5 beta.
I got libtv3dc65.a and copied it in the BlitzMax's Lib folder, but I haven't got a file "libctv3d65.a". I shall ask TrueVision.com for it, thank you so far.


plash(Posted 2008) [#5]
What would be the right forum ?

Not to be offensive or anything, this has nothing to do with a module tweak (modification), I would of posted in Blitzmax Programming.


Gabriel(Posted 2008) [#6]
@Gabriel: I purchased a TV3D 6.3 license and downloaded the 6.5 beta.
I got libtv3dc65.a and copied it in the BlitzMax's Lib folder, but I haven't got a file "libctv3d65.a". I shall ask TrueVision.com for it, thank you so far.

Sorry, that's the file I meant. Is it in the lib folder?


xMicky(Posted 2008) [#7]
Yes, libtv3dc65.a (23.09.2007, 1.421 kB) is in the folder BlitzMax/Lib (while the error mentioned above is thrown).

I had copied it already at the time I wrote my first post above (as it was told in readme.txt from glimmer games).


xMicky(Posted 2008) [#8]
I wonder about that fact too:

The tv3d65.debug/release.win32.x86.a, i -files of the lite version from glimmer games are from 24.09.2007.

The tv3d65.debug/release.win32.x86.a, i -files of the Pro Version from glimmer games are from 20.08.2006.

libtv3dc65.a is from 23.09.2007. Shouldn't this be a versions conflict ? With the lite version the samples run without problems. Are there any diferences in funcionality or features of the a,i-files shipped with the lite version and those of the Pro-version, so that one could use the lite versions files anyway ?