Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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