我有一个包含三个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
我尝试删除此导入,但错误不会消失。我不明白问题出在哪里。