Error compile C++ project on Ubuntu 16.04 (Netbeans) after accidently remove python3

asked 2019-01-23 08:32:01 -0500

jody gravatar image

I accidently remove python 3 on my Ubuntu. After reinstall Python3, compiling C++ projects get error as below

/usr/bin/ld: warning:, needed by /usr/local/lib/, not found (try using -rpath or -rpath-link) build/Debug/GNU-Linux/main.o: In function `main':

/usr/local/lib/ undefined reference to' /usr/local/lib/ undefined reference' /usr/local/lib/ undefined reference to' /usr/local/lib/ undefined reference Blockquote

I checked and found, cuda 8.0 and 10.0. are present in usr/local/ but i don't know how to configure again.

Could you please advise me how to fix this error? I am using Netbeans

edit retag flag offensive close merge delete