Page 1 of 1

Problems compiling burrtools 0.6.3 for OS X

Posted: December 31st, 2015, 3:01 am
by DavidAHood
I'm having some trouble trying to compile burrtools 0.6.3 for OS X; when I run make I get:

CXX help/help_helpviewer-flstring.o
CXXLD help/helpviewer
duplicate symbol _fl_strlcpy in:
help/help_helpviewer-flstring.o
/usr/local/lib/libfltk.a(flstring.o)
duplicate symbol _fl_strlcat in:
help/help_helpviewer-flstring.o
/usr/local/lib/libfltk.a(flstring.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [help/helpviewer] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

I understand that I am accessing two different copies of flstring.o, but I have no clue which library should be used or how to remove the other; any help would be much appreciated. They didn't teach this stuff when I was in engineering school 40 years ago, but if anyone needs help with Fortran II, I'm your man.

Re: Problems compiling burrtools 0.6.3 for OS X

Posted: December 31st, 2015, 5:21 pm
by bluesign2k
Are you trying to do this as an exercise or because you're trying to get a 0.6.3 binary for OSX? If it's the latter, then did you know that it already exists on sourceforge?

Re: Problems compiling burrtools 0.6.3 for OS X

Posted: December 31st, 2015, 6:06 pm
by DavidAHood
I did not know that; thank you very much!

David

P.S. See previous regarding my software training.