Disabled formats: AMF AC ASE ASSBIN ASSXML B3D BVH DXF CSM HMP IRRMESH IRR LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OGRE OPENGEX PLY MS3D COB IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD Enabled formats: 3DS COLLADA LWO OBJ BLEND glTF import/export will be built without Open3DGC-compression. Build an import-only version of Assimp. Forcing assimp option ASSIMP_NO_EXPORT to on Forcing assimp option ASSIMP_BUILD_STATIC_LIB to on ![]() Rts/lib/minizip/CMakeLists.txt:4 (FIND_PACKAGE_STATIC) Rts/build/cmake/PreferStaticLibs.cmake:64 (find_package) Rts/build/cmake/FindMiniZip.cmake:24 (Find_Package_Handle_Standard_Args) (e.g., `_FOUND`) to follow a certain pattern. Problems in calling code that expects `find_package` result variables The package name passed to `find_package_handle_standard_args` (MINIZIP)ĭoes not match the name of the calling package (MiniZip). Rts/build/cmake/FindGit.cmake:51 (find_package_handle_standard_args) In calling code that expects `find_package` result variables (e.g., Not match the name of the calling package (Git). The package name passed to `find_package_handle_standard_args` (GIT) does Checking to see if CXX compiler accepts flag -fdiagnostics-color=auto - yesĬMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message): Checking to see if CXX compiler accepts flag -fdiagnostics-color=auto Could NOT find DevIL (missing: IL_LIBRARIES ILU_LIBRARIES IL_INCLUDE_DIR) See also "/home/jeff/dev-game/spring/CMakeFiles/CMakeError.log". See also "/home/jeff/dev-game/spring/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! usr/share/cmake/Modules/FindBoost.cmake:2145 (find_package_handle_standard_args) usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) Checking to see if CXX compiler accepts flag -std=gnu++11 - yesĬMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):Ĭould NOT find Boost (missing: Boost_INCLUDE_DIR regex system) (Required is Checking to see if CXX compiler accepts flag -std=gnu++11 Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes I am running g++ (Raspbian 8.3.0-6+rpil) 8.3.0 on the Raspberry Pi 4 B (4GB).- Checking to see if CXX compiler accepts flag -fvisibility=hidden P.S: I added -lpthread because I was getting errors about pthread, and I added -lboost_system because I already did research on the errors (which used to be a much larger paragraph) and it got rid of most of them. How do I go around working out why this won't compile? I installed Boost using this command: sudo apt install libboost-dev Main.cpp:(.text._ZN5boost4asio5error19get_system_categoryEv+0x8): undefined reference to `boost::system::system_category()'Ĭollect2: error: ld returned 1 exit status usr/bin/ld: /tmp/ccGWgmo2.o: in function `boost::asio::error::get_system_category()': usr/bin/ld: main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei+0x1fc): undefined reference to `boost::system::generic_category()' usr/bin/ld: main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei+0x118): undefined reference to `boost::system::generic_category()' Main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei+0xcc): undefined reference to `boost::system::generic_category()' usr/bin/ld: /tmp/ccGWgmo2.o: in function `boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': usr/bin/ld: main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition+0x118): undefined reference to `boost::system::generic_category()' Main.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition+0xcc): undefined reference to `boost::system::generic_category()' usr/bin/ld: /tmp/ccGWgmo2.o: in function `boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': Main.cpp:(.text._ZN5boost6system10error_codeC2Ev+0x1c): undefined reference to `boost::system::system_category()' St::cout << "Socket closed." << std::endl Īnd this is the compile command: g++ -lpthread -lboost_system main.cpp -o testīut when I try to compile the program I get this error: /usr/bin/ld: /tmp/ccGWgmo2.o: in function `boost::system::error_code::error_code()': ![]() ![]() Std::cout << "Socket opened!" << std::endl Std::cout << "Hello World!" << std::endl I created a simple program in C++ on my RPi to test the Boost library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |