我试图使用Netbeans,犰狳及其库来实现我的工作。构建代码后,编译器给出以下信息:
mkdir -p dist/Debug/GNU-Linux
g++ -o dist/Debug/GNU-Linux/boussinesqv2 build/Debug/GNU-Linux/main.o -L. blas_win64_MT.dll lapack_win64_MT.dll blas_win64_MT.a lapack_win64_MT.a
/usr/bin/ld: blas_win64_MT.a(blas_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: blas_win64_MT.a(blas_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: lapack_win64_MT.a(lapack_win64_MT.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
/usr/bin/ld: dist/Debug/GNU-Linux/boussinesqv2: Unable to sort relocs - they are of an unknown size
make[2]: Leaving directory '/home/nutthavuth/NetBeansProjects/BoussinesqV2'
make[1]: Leaving directory '/home/nutthavuth/NetBeansProjects/BoussinesqV2'
BUILD SUCCESSFUL (total time: 2s)
在那之后,我决定运行代码。节段发生为
RUN FINISHED; Segmentation fault; core dumped; real time: 4s; user: 80ms; system: 4s
以下图片可能有帮助 c++ compiler,linker
您对这个问题有想法吗? T ^ T