我有一个包含三个 C 文件和一个 .h 文件的 C 项目。我在 NetBeans 工作。当我尝试进行导入时,出现此错误:
gcc -o dist/Debug/GNU-Linux-x86/progetto build/Debug/GNU-Linux-x86/initialization.o build/Debug/GNU-Linux-x86/utility.o build/Debug/GNU-Linux-x86/model_parameters.o build/Debug/GNU-Linux-x86/condensation.o -L/usr/local/lib -lm I have to-lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_video -lXm -lXt -lXext -lX11 -lz -lpthread -lcurses -ldl
build/Debug/GNU-Linux-x86/model_parameters.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
我试图删除此导入,但错误并没有消失。我不明白问题出在哪里。