Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Hi there,
I tried to build a minimal C++ based on the latest nightly build of libtorch but got the following errors. Can someone help?
/lib/../lib64/crt1.o: In function
_start': (.text+0x20): undefined reference tomain'.../libtorch_nightly/lib/libtorch.so: undefined reference to
lgammaf@GLIBC_2.23' .../libtorch_nightly/lib/libtorch.so: undefined reference tolgamma@GLIBC_2.23'collect2: error: ld returned 1 exit status
gmake[3]: *** [stylegan] Error 1
gmake[2]: *** [CMakeFiles/mymodel.dir/all] Error 2
gmake[1]: *** [CMakeFiles/mymodel.dir/rule] Error 2
gmake: *** [mymodel] Error 2