forum.alglib.net
http://forum.alglib.net/

ALGLIB on MAC OS X
http://forum.alglib.net/viewtopic.php?f=2&t=495
Page 1 of 1

Author:  cppdev [ Mon Nov 28, 2011 11:05 pm ]
Post subject:  ALGLIB on MAC OS X

I'm trying to use in with MAC OS X latest version

both gcc and Xcode give the same error when I try to compile test program:

pp2pp-gpib02:src ttttt$ gcc -o exec_my test_c.cpp *.cpp -lm
ld: duplicate symbol alglib_impl::getrdfserializationcode(alglib_impl::ae_state*)in /var/folders/2t/jqrmlcmn0rn71lzxsl1yzzhr0000gn/T//ccaODpDg.o and /var/folders/2t/jqrmlcmn0rn71lzxsl1yzzhr0000gn/T//ccXeiFTP.o for architecture x86_64
collect2: ld returned 1 exit status

changing architecture to 32 but doesn't give any results.

Can anyone help me with this issue? I'm not an expert in c++, so maybe it is something very basic..

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/