Giter Site home page Giter Site logo

Compiling on Mac. about tilengine HOT 7 CLOSED

megamarc avatar megamarc commented on September 1, 2024
Compiling on Mac.

from tilengine.

Comments (7)

megamarc avatar megamarc commented on September 1, 2024 1

macOS update is complete. User must ensure that SDL2 is installed and /usr/local/* directories are include and binary searchable because the install script puts the SDK files there.

from tilengine.

megamarc avatar megamarc commented on September 1, 2024

@shayneoneill , you can't build libTilengine.so because the core is closed source, and I haven't released binaries for Mac yet. Sorry!

from tilengine.

shayneoneill avatar shayneoneill commented on September 1, 2024

Wouldnt it just be easier to include the sources and let the community sort it out?

from tilengine.

megamarc avatar megamarc commented on September 1, 2024

Tilengine is coming to OS X. So far I’ve installed OS X Mountain Lion (10.8) inside a VMWare virtual machine, installed libSDL2 framework, installed command-line tools for Xcode, and built libpng from source. I still have some minor issue building the Tilengine shared library but the final product is near.

Once it’s done, I’ll have to research how to install development libraries in OS X. Any information is welcome because I’m not a Mac user at all.

tilengine_osx

from tilengine.

megamarc avatar megamarc commented on September 1, 2024

OS X support completed
I've successfully built Tilengine library and run all the samples under OS X, here I attach a screenshot for proof. Now I just have to learn what are best practices in OS X to distribute and install shared development libraries and headers, and then I'll do a public release.
Apple devs: any guideline is welcome.

tilengine_osx_ok

from tilengine.

shayneoneill avatar shayneoneill commented on September 1, 2024

Generally speaking theres two ways to do it. You can include a .so as you normally would for linux, or you can create a .dylib framework. .dylib , like mac apps are pseudo-file directories you can stuff headers and the like into which makes them rather pleasant to work with in Xcode, and you can do a few fancy tricks like put multiple architectures (aka "fat binaries") in the same binary file, for instance including an IOS and OSX version together. And so on.

If I can figure out how to drive private message on this thing, I'll send you my email address and I can do testing on my box, if you wish, and let you know how far off target you are.

from tilengine.

shayneoneill avatar shayneoneill commented on September 1, 2024

Ok, looks like there isn't a way to send you a private message on github. My email is shayne dot oneill at gmail . If you want me to review your packaging , blast me a message there and I'll see how I can help.

from tilengine.

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.