Coder Social home page Coder Social logo

Comments (8)

Karsten1987 avatar Karsten1987 commented on August 19, 2024 1

are you trying to compile ROS2? If so, the current ROS2.repos contains a poco-vendor package, which downloads 1.7.7. The way I managed to compile ROS2 is to unlink poco from brew and install the poco-vendor package.

brew unlink poco
ament build 

While this solution works, I am hesitating to close this issue, because I believe that's not a long-term solution.

Please report here on that issue whether this workout works for you or not.

from class_loader.

t0ny-peng avatar t0ny-peng commented on August 19, 2024 1

from class_loader.

TateXu avatar TateXu commented on August 19, 2024

Hi, I met the same problem when I was installing ROS, did you manage to figure it out?

from class_loader.

mikaelarguedas avatar mikaelarguedas commented on August 19, 2024

Tested with @Karsten1987 on a High Sierra Sierra machine with recently released poco 1.9.0. It seems to not be an issue anymore. I'll give it a shot on a Sierra machine and close this if it's resolved there as well

from class_loader.

mikaelarguedas avatar mikaelarguedas commented on August 19, 2024

CI on the ros2 branch for macos (using high sierra) passes as of #106 so I'm going to close this. Feel free to comment if you face ethe issue again and we can reopen

from class_loader.

t0ny-peng avatar t0ny-peng commented on August 19, 2024

@Karsten1987 Hi. I'm building ROS2 with Clang 6.0/libc++ 6.0 on Ubuntu and also had the same error with package libclass_loader. My Poco vendor version is 1.9.0. The error message is:

libclass_loader.so: undefined reference to `Poco::SharedLibrary::SharedLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'

Have you found a long term solution?

from class_loader.

Karsten1987 avatar Karsten1987 commented on August 19, 2024

So the latest master repo definitely compiles correctly with the poco vendor package with clang (osx though).
I haven't tested it on ubuntu with clang and i believe the buildfarm is using gcc on ubuntu.

Are you running into this problem also when compiling with the latest repos file? also make sure that no ros1 components are sourced at compile time, as they could interfere with it.

I try to give it a shot in a docker container as soon as i have some time.

from class_loader.

kongdaqing avatar kongdaqing commented on August 19, 2024

are you trying to compile ROS2? If so, the current ROS2.repos contains a poco-vendor package, which downloads 1.7.7. The way I managed to compile ROS2 is to unlink poco from brew and install the poco-vendor package.

brew unlink poco
ament build 

While this solution works, I am hesitating to close this issue, because I believe that's not a long-term solution.

Please report here on that issue whether this workout works for you or not.

thanks!

from class_loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.