Closed xiangzhai closed 6 years ago
Hi ScaffCC developers,
$ make make[1]: Entering directory '/data/project/xiangzhai/ScaffCC/Rotations/sqct' g++ -static-libstdc++ -static-libgcc -static -I/usr/include/boost -L/usr/lib/boost_1_48_0 hprhelpers.o resring.o rint.o matrix2x2.o vector2.o vector3hpr.o output.o numbersgen.o gatelibrary.o optsequencegenerator.o seqlookupcliff.o exactdecomposer.o epsilonnet.o netgenerator.o unitaryapproximator.o gcommdecomposer.o sk.o skdecomposer.o numbers-stat.o theoremverification.o toptimalitytest.o hoptimalitytest.o rotZ.o -o rotZ -Wl,-Bstatic -lboost_program_options -lboost_timer -lboost_chrono -lboost_system -Wl,-Bstatic -lgomp -lpthread -lmpfr -lgmpxx -lgmp -lrt /usr/bin/ld: cannot find -lboost_program_options /usr/bin/ld: cannot find -lboost_timer /usr/bin/ld: cannot find -lboost_chrono /usr/bin/ld: cannot find -lboost_system /usr/bin/ld: cannot find -lmpfr collect2: error: ld returned 1 exit status Makefile:50: recipe for target 'rotZ' failed make[1]: *** [rotZ] Error 1 make[1]: Leaving directory '/data/project/xiangzhai/ScaffCC/Rotations/sqct' Makefile:148: recipe for target 'Sqct' failed make: *** [Sqct] Error 2
So I simply add DISABLE_STATIC=1 support for linking with boost, gmp, and mpfr shared libraries, please review my patch, thanks a lot!
DISABLE_STATIC=1
Regards, Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/
Hi ScaffCC developers,
So I simply add
DISABLE_STATIC=1
support for linking with boost, gmp, and mpfr shared libraries, please review my patch, thanks a lot!Regards, Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/