Giter Club home page Giter Club logo

Comments (3)

d3cod3 avatar d3cod3 commented on July 28, 2024

Hi Daan,

the problem is probably about the osx version, do you mean 10.12 (Sierra) ?

I'm compiling on High Sierra (10.13) and Mojave (10.14) without problem, while the rest is the same, latest Mosaic code, OF 0.11.0 (works with 0.10.0 and 0.10.1 too) and QT Creator 4.6.1.

Another problem could be the Apple Clang++, i'm compiling with GCC (/usr/bin/) for both C and C++ x86 64bit.

I hope that helps, let me know if more problems appears.

from mosaic.

Daandelange avatar Daandelange commented on July 28, 2024

Thanks for these infos. (yes I meant 10.12)
I got it compiling with /usr/bin/ but no change.
So I guess it's my OS, which I can't upgrade right now. :(

I isolated the issue to ofxPython (so it's not directly Mosaic) and found a dirty workaround. Alternatively Python 2.7.13 should also fix this.

Getting closer : Now I'm running into some linker errors, many *.a files are for 10.11 while I'm linking for 10.9. That might be more related to OF in general.
Do you link against 10.9 ? (I suppose yes, as the release runs on 10.9?)

For now, adding 'QTKit' to the .qbs's of.frameworks and adding cpp.minimumOsxVersion: "10.11" lets me compile a custom-build binary !
Running it requires me to manually copy libndi.3.dylib next to the binary (and run your script).

🎉
mosaic-first-launch
There's some crashes, but at least I got it compiling.

from mosaic.

d3cod3 avatar d3cod3 commented on July 28, 2024

I'm happy you got it compiling!

About the errors/warnings:

I'm thinking in upgrade python to python3, so probably refactoring the code will solve the actual compiling issues with python

Yes, i'm linking against 10.9, just to leave OF defaults untouched, so when you compile on a different version the compiler will give you a warning about a library built for a newer OSX version, but that is usually not a problem at all (at least i've never had one related to that)

About the libndi.3.dylib, yes, my mistake, i use the OF embedded compile script to search for .dylib files inside lib folder and copy it next to the binary (OF do that for libfmodex), but it's not properly automated nor documented yet (and it's a OSX only issue, not needed on linux)

Let me know how is working, there is no manual or proper documentation yet, i'm beta testing right now, cleaning code and fixing bugs, but i'm starting with the manual too, empty now but you can check it here: https://github.com/d3cod3/Mosaic-Manual

And there is the official page with some documentation about 70% of the objects:

https://mosaic.d3cod3.org/

If you have any question, don't hesitate to ask!

from mosaic.

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.