最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

linker - Eclipse Setup issue with include library - Stack Overflow

programmeradmin2浏览0评论

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.
发布评论

评论列表(0)

  1. 暂无评论