-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Does anybody have problem with the hal2vg compilation? The following error occured on OSX:
2 warnings generated.
h5c++ -O3 -g -Wall -funroll-loops -DNDEBUG -I../../sonLib/lib -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -Wno-sign-compare -I../api/inc -Iimpl -Iinc -I../liftover/inc -I../liftover/inc -I tests -o ../bin/hal2synteny ../objs/synteny/impl/main.o ../objs/synteny/impl/hal2psl.o ../objs/synteny/impl/psl_io.o ../objs/synteny/impl/psl_merger.o ../lib/libHalLiftover.a ../lib/libHal.a ../../sonLib/lib/sonLib.a ../../sonLib/lib/cuTest.a
cd deps/hal2sg && make
cd .//sgExport && make
h5c++ -O3 -g -Wall -funroll-loops -DNDEBUG -I ../../sonLib/lib -I ../../hal/api/inc -I ../../hal/liftover/inc -I ../sgExport -UNDEBUG -I . sidegraph.cpp -c
h5c++ -O3 -g -Wall -funroll-loops -DNDEBUG -I ../../sonLib/lib -I ../../hal/api/inc -I ../../hal/liftover/inc -I ../sgExport -UNDEBUG -I . sglookup.cpp -c
sglookup.cpp:133:20: error: ordered comparison between pointer and zero ('sg_int_t *' (aka 'long *') and 'int')
assert(outDist >= 0);
~~~~~~~ ^ ~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
1 error generated.
make[2]: *** [sglookup.o] Error 1
make[1]: *** [sgExport/sgExport.a] Error 2
make: *** [deps/hal2sg/libhal2sg.a] Error 2
Metadata
Metadata
Assignees
Labels
No labels