~/vidmodel/wvsn-model-omnetpp-v4/geometry/Triangle.o ~/vidmodel/wvsn-model-omnetpp-v4/geometry/Polygon.o ~/vidmodel/wvsn-model-omnetpp-v4/geometry/triangulation.o -Wl,--no-as-needed -Wl,--whole-archive -lSDL -lpng -ljpeg -lz -lSDL_image -Wl,--no-whole-archive -L"/home/sreeram/omnetpp-4.2.2/lib/gcc" -L"/home/sreeram/omnetpp-4.2.2/lib" -loppmain -u _cmdenv_lib -Wl,--no-as-needed -loppcmdenv -loppenvir -loppsim -ldl -lstdc++
/usr/bin/ld:
cannot find -lSDL
/usr/bin/ld:
cannot find -lpng
/usr/bin/ld: cannot find -ljpeg
/usr/bin/ld: cannot find -lSDL_image
collect2: ld returned 1 exit
谁能帮帮我吗
答案1
您需要安装开发文件。这些文件通常称为 libfoo-dev,例如 libjpeg8-dev 或 libsdl2-dev。