Open bcaddy opened 3 years ago
cnpy builds just fine when I link it to my project I get the following error
/usr/local/bin/g++-11 -std=c++17 -Wall -Wextra -Wpedantic -g -O0 -fopenmp src/rw-main.cpp -o bin/rw-main.exe -I/Users/Bob/Desktop/cnpy -L/Users/Bob/Desktop/cnpy/build -lcnpy -lz Undefined symbols for architecture x86_64: "__ZN4cnpy16parse_npy_headerEP7__sFILERmRSt6vectorImSaImEERb", referenced from: __ZN4cnpy8npy_saveIdEEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_St6vectorImSaImEES6_ in ccUV67L8.o "__ZN4cnpypLINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERSt6vectorIcS5_ES9_T_", referenced from: __ZN4cnpy17create_npy_headerIdEESt6vectorIcSaIcEERKS1_ImSaImEE in ccUV67L8.o "__ZN4cnpypLIPKcEERSt6vectorIcSaIcEES6_T_", referenced from: __ZN4cnpy17create_npy_headerIdEESt6vectorIcSaIcEERKS1_ImSaImEE in ccUV67L8.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *** [rw-main.exe] Error 1
I'm trying to install and build it in cnpy/build since I don't have permission to install in the standard locations on the clusters I use
cnpy builds just fine when I link it to my project I get the following error
I'm trying to install and build it in cnpy/build since I don't have permission to install in the standard locations on the clusters I use