Giter VIP home page Giter VIP logo

Comments (5)

BachiLi avatar BachiLi commented on August 11, 2024

what happens if you change the following lines

find_package(Embree REQUIRED)
set(EMBREE_INCLUDE_PATH embree/include)
include_directories(${EMBREE_INCLUDE_PATH})
link_libraries(${EMBREE_LIBRARY})

link_directories(embree/lib-macos)

to

set(EMBREE_INCLUDE_PATH ${CMAKE_SOURCE_DIR}/embree/include)
set(EMBREE_LIBRARY ${CMAKE_SOURCE_DIR}/embree/lib-macos)
include_directories(${EMBREE_INCLUDE_PATH})
link_libraries(${EMBREE_LIBRARY})

from lajolla_public.

jalencato avatar jalencato commented on August 11, 2024

Nothing changes at all

from lajolla_public.

BachiLi avatar BachiLi commented on August 11, 2024

if you do

make clean
make VERBOSE=1

what do you see?

from lajolla_public.

jalencato avatar jalencato commented on August 11, 2024

/usr/local/Cellar/cmake/3.22.1/bin/cmake -E cmake_link_script CMakeFiles/lajolla.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -O2 -g -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/lajolla.dir/src/main.cpp.o -o lajolla liblajolla_lib.a
Undefined symbols for architecture x86_64:
"_rtcAttachGeometry", referenced from:
register_embree_op::operator()(Sphere const&) const in liblajolla_lib.a(shape.cpp.o)
register_embree_op::operator()(TriangleMesh const&) const in liblajolla_lib.a(shape.cpp.o)
decltype(auto) std::__1::__variant_detail::__visitation::__base::__dispatcher<0ul>::__dispatch<std::__1::__variant_detail::__visitation::__variant::__value_visitor<register_embree_op>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, Sphere, TriangleMesh> const&>(std::__1::__variant_detail::__visitation::__variant::__value_visitor<register_embree_op>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, Sphere, TriangleMesh> const&) in liblajolla_lib.a(shape.cpp.o)
"_rtcCommitGeometry", referenced from:
register_embree_op::operator()(Sphere const&) const in liblajolla_lib.a(shape.cpp.o)
register_embree_op::operator()(TriangleMesh const&) const in liblajolla_lib.a(shape.cpp.o)
decltype(auto) std::__1::__variant_detail::__visitation::__base::__dispatcher<0ul>::__dispatch<std::__1::__variant_detail::__visitation::__variant::__value_visitor<register_embree_op>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, Sphere, TriangleMesh> const&>(std::__1::__variant_detail::__visitation::__variant::__value_visitor<register_embree_op>&&, std::__1::__variant_detail::__base<(std::__1::__variant_detail::_Trait)1, Sphere, TriangleMesh> const&) in liblajolla_lib.a(shape.cpp.o)

from lajolla_public.

BachiLi avatar BachiLi commented on August 11, 2024

This issue was automatically closed by the PR above. Reopen if it doesn't work.

from lajolla_public.

Related Issues (5)

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.