GithubHelp home page GithubHelp logo

Comments (13)

mitsudome-r avatar mitsudome-r commented on August 27, 2024 3

I was able to build on arm with the following workaround:

  1. Use Embree 3.13.5 and cherry-pick RenderKit/embree@82ca6b5 as mentioned in this issue. I've created a fork of embree_vendor with the fix so you can use the following:
cd autoware/src/universe/external
git clone -b v3.13.5_arm https://github.com/mitsudome-r/embree_vendor
  1. Modify simple_sensor_simulator's dependency in package.xml to use embree_vendor instead of embree.
  2. Even with the above fix, I still had errors from Eigen in openscenario_visualization package related to this issue. I added this warning as exception in the compile option as a quick fix.

For 2 and 3, you can checkout my fork:

cd autoware/src/simulator/scenario_simulator
git remote add https://github.com/mitsudome-r/scenario_simulator_v2
git fetch mitsudome-r
git checkout arm

from autoware.

oguzkaganozt avatar oguzkaganozt commented on August 27, 2024 1

I was able to build on arm with the following workaround:

  1. Use Embree 3.13.5 and cherry-pick embree/embree@82ca6b5 as mentioned in this issue. I've created a fork of embree_vendor with the fix so you can use the following:
cd autoware/src/universe/external
git clone -b v3.13.5_arm https://github.com/mitsudome-r/embree_vendor
  1. Modify simple_sensor_simulator's dependency in package.xml to use embree_vendor instead of embree.
  2. Even with the above fix, I still had errors from Eigen in openscenario_visualization package related to this issue. I added this warning as exception in the compile option as a quick fix.

For 2 and 3, you can checkout my fork:

cd autoware/src/simulator/scenario_simulator
git remote add https://github.com/mitsudome-r/scenario_simulator_v2
git fetch mitsudome-r
git checkout arm

Thanks @mitsudome-r that solved the issue.

from autoware.

stale avatar stale commented on August 27, 2024

This pull request has been automatically marked as stale because it has not had recent activity.

from autoware.

esteve avatar esteve commented on August 27, 2024

@kenji-miyake what do you think of having an embree_vendor package and have scenario_simulator depend on it? If libembree-dev is installed on the system, that'll be used, and if not, build it.

from autoware.

kenji-miyake avatar kenji-miyake commented on August 27, 2024

@esteve I think it's great! @hakuturu583 What do you think?

from autoware.

hakuturu583 avatar hakuturu583 commented on August 27, 2024

I arleady developed embree_vendor package, but it takes a lot of time.

https://github.com/OUXT-Polaris/embree_vendor

from autoware.

hakuturu583 avatar hakuturu583 commented on August 27, 2024

And also, I have not tested this vendor package on arm CPU.

from autoware.

oguzkaganozt avatar oguzkaganozt commented on August 27, 2024

Hi, any updates on this issue ?

@hakuturu583 Can we use embree_vendor package on arm CPU ?

from autoware.

hakuturu583 avatar hakuturu583 commented on August 27, 2024

@hakuturu583 Can we use embree_vendor package on arm CPU ?

Yes, I tested on qemu and it works.

from autoware.

oguzkaganozt avatar oguzkaganozt commented on August 27, 2024

Hi @hakuturu583,
I've tried with Scenario Simulator master branch and embree_vendor. It uses embree version 4.2.0 and when I try to do:
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to simple_sensor_simulator

I got following error on compilation:
error: ‘RTCIntersectContext’ has not been declared

I also checked with the original Embree version 4.0 changelog and it says:
RTCIntersectContext is renamed to RTCRayQuery context and most members moved to new RTCIntersectArguments and RTCOccludedArguments structures.

So it appears that embree version 4.x is not fit for Scenario simulator. How should I proceed do you have any suggestions ?

Thanks in advance.

from autoware.

mitsudome-r avatar mitsudome-r commented on August 27, 2024

I just checked installed embree apt package in my amd64 platform. It looks like I have version 3.12.2 installed.
May be you could try changing this line to v3.12.2.

from autoware.

oguzkaganozt avatar oguzkaganozt commented on August 27, 2024

I tried building with v3.12.2 and it requires libTBB version 2021.1.1 and is incompatible with 2021.5.0 that we have on Ubuntu22/arm64. Also tried version v3.13.5 and it failed with error: unrecognized command-line option ‘-msse2’ seems like the flag incompatibility with arm64.

from autoware.

mitsudome-r avatar mitsudome-r commented on August 27, 2024

Related Issue: tier4/scenario_simulator_v2#1094

from autoware.

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.