Tofame / TMS

TMS - The Modern Server, originating from TFS 1.4.2 (The Forgotten Server). Developed and maintained by Tofame.
GNU General Public License v2.0
4 stars 7 forks source link

Error Compiling Ubuntu 20.04 #9

Open mushokubt opened 11 months ago

mushokubt commented 11 months ago

It's giving an error when compiling.

**-- The CXX compiler identification is GNU 11.4.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find cryptopp (missing: cryptopp_DIR) -- Found Crypto++: /usr/include
-- Could NOT find unofficial-libmariadb (missing: unofficial-libmariadb_DIR) -- MySQL Include dir: /usr/include/mysql library dir: /usr/lib/x86_64-linux-gnu -- MySQL client libraries: /usr/lib/x86_64-linux-gnu/libmysqlclient.so;-ldl -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "2.1.0-beta3") -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.66.0") found components: system iostreams -- IPO / LTO enabled -- Configuring done CMake Error at CMakeLists.txt:17 (add_executable): Target "tfs" links to target "pugixml::pugixml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.** image

leo36dff commented 23 hours ago

Just chatgpt it, easy fix