Giter Site home page Giter Site logo

Issue building for osx about protongraph HOT 4 CLOSED

token-cjg avatar token-cjg commented on June 11, 2024
Issue building for osx

from protongraph.

Comments (4)

HungryProton avatar HungryProton commented on June 11, 2024

Right, the commit number for mesh_optimizer was never updated, it should be edcf00c7fe9d168f39e4ed0ad75fb95ed8a1611c

However even though the compilation works, it's missing symbols and can't be opened, so I pushed a few commits on the develop branch to disable it while I'm working on a fix. You can build the application in the mean time, but you won't have access to the remesh node until I figure this out.

from protongraph.

token-cjg avatar token-cjg commented on June 11, 2024

Thanks for looking into this matter.

I tried again to rebuild it with the latest commit on the develop branch and I obtained a few linker errors:

➜  native git:(develop) ./compile_all.sh osx release
[...many, many clang compilation lines...]
clang++ -o src/gen/MultiMesh.o -c -std=c++14 -arch x86_64 -O3 -I. -Igodot_headers -Iinclude -Iinclude/gen -Iinclude/core src/gen/MultiMesh.cpp
scons: `bin/libgodot-cpp.osx.release.64.a' is up to date.
scons: done building targets.
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o bin/osx/libmeshoptimizer.dylib -arch x86_64 -dynamiclib gdnative/gdlibrary.os gdnative/mesh_optimizer.os -L/Users/Chris/code/token-cjg/protongraph/native/godot-cpp/bin -lgodot-cpp.osx.release.64
Undefined symbols for architecture x86_64:
  "_meshopt_optimizeOverdraw", referenced from:
      godot::MeshOptimizer::optimize_mesh(godot::Ref<godot::Mesh>, float, bool) in mesh_optimizer.os
  "_meshopt_optimizeVertexCache", referenced from:
      godot::MeshOptimizer::optimize_mesh(godot::Ref<godot::Mesh>, float, bool) in mesh_optimizer.os
  "_meshopt_simplify", referenced from:
      godot::MeshOptimizer::optimize_mesh(godot::Ref<godot::Mesh>, float, bool) in mesh_optimizer.os
  "_meshopt_simplifySloppy", referenced from:
      godot::MeshOptimizer::optimize_mesh(godot::Ref<godot::Mesh>, float, bool) in mesh_optimizer.os
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [bin/osx/libmeshoptimizer.dylib] Error 1
scons: building terminated because of errors.

Note that I was building it from within osx (10.14.6) for an osx target.

from protongraph.

token-cjg avatar token-cjg commented on June 11, 2024

I managed to unblock myself with this commit token-cjg@61c5f4d. I can build protongraph with that added to a branch that I created off develop.

from protongraph.

token-cjg avatar token-cjg commented on June 11, 2024

Since the "kick the tires" branch has been merged I will move to close this issue. Thanks for your review and assistance.

from protongraph.

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.