Odd library issue

Sysprogs forums Forums VisualGDB Odd library issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6487
    rohmer
    Participant

    I have installed libcurl on my raspberry pi, and sync’d via tools/VisualGDB Source Cache Manager.

    Within that I have both /usr/local/lib and /usr/local/include.

     

    Yet, when I try to build I get:

    C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe -ggdb -ffunction-sections -O0 -I../../3rdParty/logging/include -I/usr/include/curl -DDEBUG -fPIC -c WUndergroundAPI.cpp -o Debug/WUndergroundAPI.o -MD -MF Debug/WUndergroundAPI.dep

    1> C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe -shared -o Debug/WeatherUndergroundAPI.so -Wl,-gc-sections -Wl,–start-group Debug/WUndergroundAPI.o -lpthread -lcurl -Wl,–rpath=’$ORIGIN’ -Wl,-soname,WeatherUndergroundAPI.so -Wl,–end-group

    1> c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lcurl

    1>collect2.exe : error : ld returned 1 exit status

     

     

    Am I missing a step here?

    #6488
    rohmer
    Participant

    Figured it out, was syncing in the wrong place 🙁

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.