Giter VIP home page Giter VIP logo

Comments (5)

hkrn avatar hkrn commented on June 26, 2024

Did you run cmake -P scripts/build.cmake as described in README? If you have already run it, did you set environment variable NANOEM_TARGET_COMPILER? For example, If you use clang for build, NANOEM_TARGET_COMPILER must be clang.

Currently the errors are unfriendly and will be improved in #198

from nanoem.

seigneurfuo avatar seigneurfuo commented on June 26, 2024

Yes I follow the steps described in the README. I did cmake -P scripts/build.cmake before.
NANOEM_TARGET_COMPILER is also set to clang:

env | grep -i nanoem

NANOEM_TARGET_COMPILER=clang
NANOEM_DISABLE_BUILD_SENTRY_NATIVE=1
NANOEM_DISABLE_BUILD_SPIRV_TOOLS=1

from nanoem.

seigneurfuo avatar seigneurfuo commented on June 26, 2024

I had try to recompile after pulling your modifications done in #198.
I get less errors messages but here the ones that left.
I am doing something wrong ?

[...]
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- [emapp] setup linkage of "nanoem_sapp"
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/seigneurfuo/src/nanoem/emapp/TBB_INCLUDE_DIR
   used as include directory in directory /home/seigneurfuo/src/nanoem/emapp
/home/seigneurfuo/src/nanoem/sapp/TBB_INCLUDE_DIR
   used as include directory in directory /home/seigneurfuo/src/nanoem/sapp
TBB_LIBRARY_DEBUG (ADVANCED)
    linked by target "nanoem_sapp" in directory /home/seigneurfuo/src/nanoem/sapp
TBB_LIBRARY_RELEASE (ADVANCED)
    linked by target "nanoem_sapp" in directory /home/seigneurfuo/src/nanoem/sapp

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

from nanoem.

hkrn avatar hkrn commented on June 26, 2024

There was a discrepancy between the build script defaults and nanoem's own CMake defaults, which was corrected in #199.

Or you can deal with it by setting NANOEM_ENABLE_TBB to OFF (This is enabled by default and therefore causes above error message).

from nanoem.

seigneurfuo avatar seigneurfuo commented on June 26, 2024

It works. Thanks for your quick response 👍 .

from nanoem.

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.