admin管理员组

文章数量:1432594

On MacOS using Eclipse with g++ and c++17 dialect. When trying to build my project there is an issue with the library. The library isnt found, which in turn doesn't let me include basic headers such as "<iostream>".

This Problem doesn't occur using XCode, but we are forced to use Eclipse so it isn't an option to switch IDEs.

**** Incremental Build of configuration 
Debug for project Aufgabenblock_2 
**** make all 
Building target: Aufgabenblock_2 Invoking: MacOS X C++ Linker g++  -o "Aufgabenblock_2"  ./Fahrzeug.o    
-l/Users/MyName/boost/libs ld: library '/Users/MyName/boost/libs' not found 
clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Aufgabenblock_2] Error 1 "make all" terminated with exit code 2. Build might be incomplete.

本文标签: linkerEclipse Setup issue with include libraryStack Overflow