Giter VIP home page Giter VIP logo

Comments (8)

why986 avatar why986 commented on May 18, 2024

It seems that the bug is fixed after I add the following codes to the CMakeLists.txt:

if(APPLE)
    enable_language(OBJC)
endif()

Find solution in here
Will update if more bugs are found.

from luisarender.

Mike-Leo-Smith avatar Mike-Leo-Smith commented on May 18, 2024

Hi, @why986.

A recent fix in LuisaCompute should have resolved this issue, and I just updated the dependencies in LuisaRender.

Would you please git pull and git submodule update --init --recursive to see if this fixes your errors?

from luisarender.

why986 avatar why986 commented on May 18, 2024

Thanks. I will try now.

from luisarender.

Mike-Leo-Smith avatar Mike-Leo-Smith commented on May 18, 2024

It seems that the bug is fixed after I add the following codes to the CMakeLists.txt:

if(APPLE)
    enable_language(OBJC)
endif()

Find solution in here Will update if more bugs are found.

Yes. This is the same fix we did.

from luisarender.

why986 avatar why986 commented on May 18, 2024

See. Thanks for your reply!

from luisarender.

why986 avatar why986 commented on May 18, 2024

It occurs another small bug after I pull the update and reconfigure the project (already deleted the built files):

CMake Error at src/compute/src/ext/CMakeLists.txt:168 (add_subdirectory):
  The source directory

    /Users/why/Desktop/LuisaRender/src/compute/src/ext/embree

  does not contain a CMakeLists.txt file.

There seems nothing under LuisaRender/src/compute/src/ext/embree.

from luisarender.

Mike-Leo-Smith avatar Mike-Leo-Smith commented on May 18, 2024

Looks like the submodule is not correctly cloned. Would a git submodule update --recursive --init fix this issue? Otherwise, you could probably try cd into LuisaRender/src/compute/src/ext/embree and git checkout.

from luisarender.

why986 avatar why986 commented on May 18, 2024

OK. It seems work. Thanks for your help!

from luisarender.

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.