Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature OSX FAT #2798

Closed
Closed

Conversation

NickHardeman
Copy link
Contributor

This pull request has FAT libs built for OSX. The 64 bit version uses ofAVFoundationVideoPlayer by @obviousjim and @prisonerjohn. Two #defines have been added, TARGET_32 and TARGET_64 for OSX. These can be defined later for other operating systems so that the TARGET_32 and TARGET_64 is universal. There are two target for the OF static lib, one 32 and one 64bit.

A sample app is located in apps/devApps/FAT_OSX/

I had trouble finding the correct compiler flags for Assimp, right now the FAT lib is ~65Mb, compared to the current 32 bit lib size of ~7Mb.

It would be great to get this into the OF repo as a test branch so people can contribute. Right now users can choose between 32/64 bit by setting the Architecture in the build settings. It must be changed in both the current project build settings and in the top left corner (My Mac 32/64 bit).

See this thread for more info: #2016 (comment)

@NickHardeman
Copy link
Contributor Author

Note: The scripts for building the xcode project have not been updated yet, so it will not work with the project generator at the moment. Not sure about the status of the ofAVFoundationVideoPlayer, maybe @obviousjim and @prisonerjohn could provide some more insight. :)

@obviousjim
Copy link
Contributor

We talked about pulling this into a new feature-64 branch for the time
being. I think there are still enough unfinished bits of the AVF player
that it may be premature.

On Thu, Feb 6, 2014 at 7:14 PM, Nick Hardeman notifications@github.comwrote:

Note: The scripts for building the xcode project have not been updated
yet, so it will not work with the project generator at the moment. Not sure
about the status of the ofAVFoundationVideoPlayer, maybe @obviousjimhttps://github.com/obviousjimand
@prisonerjohn https://github.com/prisonerjohn could provide some more
insight. :)


Reply to this email directly or view it on GitHubhttps://github.com//pull/2798#issuecomment-34391395
.

  • James

@bakercp
Copy link
Member

bakercp commented Feb 7, 2014

Were these libs built w/ apothecary? If so, what branch is it on? If not, what versions of the different libs were used?

@NickHardeman
Copy link
Contributor Author

I built most of the libs a couple of months ago. So trying to remember.
Most of the libs were built with apothecary.
The current branch fro apothecary does not compile for me, so I have been using one that I downloaded.
Theo built the FAT GLUT lib.
I built GLFW from the source, 3.0
Tess2 I believe is from https://code.google.com/p/libtess2/
FMod is version 4.34.0
OpenSSL is probably 1.0.1e

I think that's all of them for osx. I know I'm not 100% positive for all of these. Is there a place that has the build flags and lib versions that are used for OF?

@bakercp
Copy link
Member

bakercp commented Feb 7, 2014

No worries -- just curious. If this branch isn't going to be merged into the master immediately (pending more AVFoundation work as @obviousjim noted), I'd love to see if the universal updates and changes @danomatika and I have been giving to apothecary over the last few days would put us in a good spot. Everything (that has a formula) should be compiling nicely in the repo now (pending a pull from my PR https://github.com/danomatika/apothecary). If you see anything that doesn't have a formula, and you have some insight into how to get them compiling on OSX (which it seems that you do :)) perhaps we could start collecting stuff there? I'd really like to see people throw their full weight behind this apothecary project and it's getting really close to being totally viable. Basically it seems essential as we fuse together the 64 bit and c++11 efforts (and some of my efforts that require some new somewhat complex text shaping libraries).

@bakercp
Copy link
Member

bakercp commented Feb 7, 2014

Also, to answer your question about lib versions -- we're working that out now in apothecary -- we're of course limited on linux by what is provided by aptitude (which is sadly way behind in some cases like poco), but the new apothecary buildroot system makes compiling all of that stuff easier. Anyway, current version numbers we're working with are at the top of each formula. Ideally apothecary will help us stay much more up to date with third party libs.

@NickHardeman
Copy link
Contributor Author

Apothecary is great. It's nice to have a tool to build the OF libs from.
I am not very well versed with command line tools, but would love to help in any way I can. I noticed there is a GLFW formula in there now, which is awesome. What are the formulas that need attention?
I tried working with the ASSIMP formula to get the static lib file size down, but couldn't find the right flags.

@bakercp
Copy link
Member

bakercp commented Feb 7, 2014

There is an chart here
https://docs.google.com/spreadsheet/ccc?key=0Ao8N9g3ekXTydGtzZUxya0IxMTNkdUNiT05laTJieXc&usp=sharingthat
needs to be updated. As soon as I get access I'll add everything I
know :)


http://christopherbaker.net

On Fri, Feb 7, 2014 at 12:21 AM, Nick Hardeman notifications@github.comwrote:

Apothecary is great. It's nice to have a tool to build the OF libs from.
I am not very well versed with command line tools, but would love to help
in any way I can. I noticed there is a GLFW formula in there now, which is
awesome. What are the formulas that need attention?
I tried working with the ASSIMP formula to get the static lib file size
down, but couldn't find the right flags.

Reply to this email directly or view it on GitHubhttps://github.com//pull/2798#issuecomment-34407233
.

@bilderbuchi
Copy link
Member

I just created a branch feature-64bit on the repo for people to PR against.

…orks into feature-OSX-FAT

Conflicts:
	libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj/project.pbxproj
@NickHardeman NickHardeman deleted the feature-OSX-FAT branch October 22, 2015 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants