请教,关于g++ -l的问题# Programming - 葵花宝典
P*e
1 楼
小弟初学linux prog, 大虾帮忙看一下:
g++ a.cpp b.cpp -lcad
我想连一个libcad.la的文件,编译没错误
运行./a.out
error message: ./a.out: error while loading shared libraries: libcad.so.1:
cannot open shared object file: No such file or directory
g++ a.cpp b.cpp -lcad
我想连一个libcad.la的文件,编译没错误
运行./a.out
error message: ./a.out: error while loading shared libraries: libcad.so.1:
cannot open shared object file: No such file or directory