Jitter library error

Apr 11, 2013 at 9:41am

Jitter library error

Hi guys :D

I am facing trouble with these errors in my programm..I think that they have to do with jitter libraries but i m not sure.Any idea??

Description Resource Path Location
Symbol ‘mode’ could not be resolved max.jit.iter.c /My_Proj2 line 47
Symbol ‘JIT_ATTR_SET_USURP_LOW’ could not be resolved max.jit.iter.c /My_Proj2 line 44
Symbol ‘JIT_ATTR_GET_DEFER_LOW’ could not be resolved max.jit.iter.c /My_Proj2 line 44
Symbol ‘obex’ could not be resolved max.jit.iter.c /My_Proj2 line 39
Symbol ‘JIT_MATRIX_MAX_DIMCOUNT’ could not be resolved max.jit.iter.c /My_Proj2 line 70
Symbol ‘A_CANT’ could not be resolved max.jit.iter.c /My_Proj2 line 56
Symbol ‘JIT_MATRIX_MAX_PLANECOUNT’ could not be resolved max.jit.iter.c /My_Proj2 line 109
Symbol ‘A_GIMME’ could not be resolved max.jit.iter.c /My_Proj2 line 42
Symbol ‘A_GIMME’ could not be resolved max.jit.iter.c /My_Proj2 line 37
Symbol ‘JIT_MATRIX_MAX_DIMCOUNT’ could not be resolved max.jit.iter.c /My_Proj2 line 66
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_char’
undefined reference to `__imp___jit_sym_err_calculate’
undefined reference to `__imp___jit_sym_lock’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_long’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_lock’
undefined reference to `__imp___jit_sym_class_jit_matrix’
undefined reference to `__imp___jit_sym_symbol’
undefined reference to `__imp___jit_sym_symbol’
undefined reference to `__imp___jit_sym_lock’
undefined reference to `__imp___jit_sym_err_calculate’
undefined reference to `__imp___jit_sym_getdata’
undefined reference to `__imp___jit_sym_getinfo’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_long’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_float64′
undefined reference to `__imp___jit_sym_float32′
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_float64′
undefined reference to `__imp___jit_sym_float32′
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_char’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_list’
undefined reference to `__imp___jit_sym_char’
undefined reference to `__imp___jit_sym_jit_attr_offset’
undefined reference to `__imp___jit_sym_symbol’
undefined reference to `__imp___jit_sym_symbol’
undefined reference to `__imp___jit_sym_long’

#67652
Apr 11, 2013 at 10:48am

I wanna add that i m working with eclipse and not with XCode :)

#243409
Apr 11, 2013 at 2:02pm

Hi,

Which SDK ? Which OS ?

Anyway it seems that your linker does not find the “JitterAPI.framework”. I get the kind of error below if i remove the jitter framework from my target in Xcode (and it is very similar). And maybe the compiler can not find the “jit.common.h” header neither.


Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
__jit_sym_char
__jit_sym_class_jit_matrix
__jit_sym_float32
__jit_sym_float64
__jit_sym_getdata
__jit_sym_getinfo
__jit_sym_lock
__jit_sym_long
_jit_atom_getsym
_jit_atom_setfloat
_jit_atom_setlong
_jit_object_findregistered
_jit_object_method

#243410
Apr 11, 2013 at 2:53pm

i have used SDK 6.1.1 but also SDK 5.0.7 and i have Windows 7 and eclipse…
Basically i dont understand what is Xcode (If i m sure its something like eclipse) and how to use it…
Could you indicate the certain steps of importing one of the SDK Jitter examples so it can be compileable in eclipse (without errors)??

#243411
Apr 11, 2013 at 3:54pm

Hi,

“Xcode” is an IDE (for Apple / Macintosh) like “Eclipse”. Maybe i’m wrong, but i guess that most of people that implement externals for Max/MSP on Windows platforms use “Visual Studio”.

IMHO, errors you get are related to compiler and linker search path failures. That is hell for newbies to understand how to configure that ; and personnaly last time i tried to compile my externals with “Visual Studio” on windows XP i gave up quickly. As the Max/MSP objects are bundles / DLL it is not really the easiest approach to learn how to use a new IDE and/or programming.

The only thing i can say is that your software need to find the “recipe” and the “stubs” to link your object against. And consequently you need somewhere to indicate where to find headers “c74support/max-includes” “c74support/jit-includes” and where to find the libraries “MaxAPI.framework” “JitterAPI.framework”.

1. Try “Visual Studio”.
2. Try first to compile a simple example provided with the SDK.

#243412
Apr 16, 2013 at 1:36am

Just in case as above I see some ambiguity.
XCode is Mac OSx only. There is no XCode for Windows. Nothing about XCode applies to Windows. They are mutually exclusive.

Cycling74 has tested compiling their SDK w/ Visual Studio and with Cgywin. Both of those two methods are described in the SDK pdf file in section 2.4. Using a workspace/compiler (e.g. eclipse) outside those two does introduce significant challenges for you if you are not deeply familiar with compilers, commandline options for compilers, linking with such compilers, etc.

If you have such advanced experience, I suspect that you can resolve these problems yourself. If you don’t have that experience, I recommend you use one of the two options Cycling74 has tested. If you continue to want to use Eclipse, then I wish you the best of luck and if you are successful, please share your success and methods here so that other Eclipse people may benefit from it.

#243413

You must be logged in to reply to this topic.