Open tiankangbo2019 opened 5 years ago
when I execute make command, an error occurred. ########################################## root@ubuntu-VirtualBox:~/RemoteDisplay# cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . . . . Linking CXX executable ../RemoteDisplayExample ../libRemoteDisplay.so: undefined reference to `bitmap_decompress(unsigned char, unsigned char, int, int, int, int, int)' collect2: error: ld returned 1 exit status make[2]: [RemoteDisplayExample] Error 1 make[1]: [example/CMakeFiles/RemoteDisplayExample.dir/all] Error 2 make: *** [all] Error 2 root@ubuntu-VirtualBox:~/RemoteDisplay# #########################################################
why is a function undefined?
when I execute make command, an error occurred. ########################################## root@ubuntu-VirtualBox:~/RemoteDisplay# cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . . . . Linking CXX executable ../RemoteDisplayExample ../libRemoteDisplay.so: undefined reference to `bitmap_decompress(unsigned char, unsigned char, int, int, int, int, int)' collect2: error: ld returned 1 exit status make[2]: [RemoteDisplayExample] Error 1 make[1]: [example/CMakeFiles/RemoteDisplayExample.dir/all] Error 2 make: *** [all] Error 2 root@ubuntu-VirtualBox:~/RemoteDisplay# #########################################################
why is a function undefined?