You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cmake installation of interp2d on my Mac completed only partially. The static library was built successfully, but the linking of the interp2dtest failed:
[ 71%] Built target interp2d_static
[ 85%] Linking C executable interp2dtest
ld: library not found for -lgsl
collect2: error: ld returned 1 exit status
make[2]: *** [interp2dtest] Error 1
make[1]: *** [CMakeFiles/interp2dtest.dir/all] Error 2
make: *** [all] Error 2
The CMakeCache.txt contains all the necessary entries for gsl:
Yep, it took a little while to track down what needed to be done, but I'd omitted the command to add the directory to the linker search path. It works for me now. Check out commit 59e8038 and let me know whether it fixes the issue for you too.
The cmake installation of interp2d on my Mac completed only partially. The static library was built successfully, but the linking of the
interp2dtest
failed:The
CMakeCache.txt
contains all the necessary entries for gsl:I wonder whether this info didn't trickle down into the link command for
interp2dtest
.The text was updated successfully, but these errors were encountered: