Eclipse CDT Auto Include Shared Libraries

前端 未结 2 800
被撕碎了的回忆
被撕碎了的回忆 2021-01-07 10:10

I am working in Eclipse: Helios Service Release 1 using Eclipse CDT compiling using g++

I have just started to have a go at using Shared Libraries in my projects but

2条回答
  •  自闭症患者
    2021-01-07 10:33

    You just need to set LD_LIBRARY_PATH to include the folder in which the shared libraries are. Something like this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/lib/

提交回复
热议问题