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

can't build under OSX #10

Open
martialgallorini opened this issue Feb 7, 2016 · 8 comments
Open

can't build under OSX #10

martialgallorini opened this issue Feb 7, 2016 · 8 comments

Comments

@martialgallorini
Copy link

hello,

i am trying to make it to work under OSX El Capitan and oF0.9.1 but i can't make it to build.

What are exactly the addons to use ?
I had a look at the addons.make file but i am not sure i have the good ones as multiple forks exists for some addons.

thanks a lot.

@jamet
Copy link
Contributor

jamet commented Feb 7, 2016

hi @martialgallorini , there is a clone_lmpt_addons.sh in the root folder, inside you have all the commands to clone the working repository

#! /bin/bash

ofxMidi/

git clone https://github.com/danomatika/ofxMidi

#ofxMostPixelsEver/
git clone https://github.com/hvfrancesco/ofxMostPixelsEver

#ofxMSAInteractiveObject/
git clone https://github.com/hvfrancesco/ofxMSAInteractiveObject

#ofxMSATimer/
git clone https://github.com/obviousjim/ofxMSATimer.git

#ofxRange/
git clone https://github.com/Flightphase/ofxRange.git

#ofxSimpleGuiToo/
git clone https://github.com/hvfrancesco/ofxSimpleGuiToo

#ofxTextInputField/
git clone https://github.com/Flightphase/ofxTextInputField.git -b develop

#ofxTimecode/
git clone https://github.com/YCAMInterlab/ofxTimecode.git

#ofxTimeline/
git clone https://github.com/ixds/ofxTimeline.git

#ofxTLButtons/
git clone https://github.com/hvfrancesco/ofxTLButtons

#ofxTween/
git clone https://github.com/arturoc/ofxTween.git

#ofxVideoBuffer/
git clone https://github.com/DHaylock/ofxVideoBuffer.git

#ofxGstV4L2Sink
git clone https://github.com/jamet/ofxGstV4L2Sink.git

@martialgallorini
Copy link
Author

hello,

thanks for the tip !!

but no luck, building complains about gst/gst.h not found in ofGstUtils.h

@jamet
Copy link
Contributor

jamet commented Feb 8, 2016

hi,
Can't test on OSX since i don't have a mac, but you should check that gstreamer is installed on your mac.

Gstreamer comes with the dependencies when you install OF on Linux, not sure it is the case on mac, as much thing goes through syphon on mac.

anyway, have a look at this repo, there is a guideline to install gstreamer on mac or windows :
https://github.com/arturoc/ofxGStreamer

@martialgallorini
Copy link
Author

there is already ofxGstV4L but i imagine this is Linux Only ?
I tried with ofxGStreamer but no luck.

I should try under linux

@nanu-c
Copy link

nanu-c commented Feb 9, 2016

we should check that ofxGstV4L2Sink isn't needed when building with mac because everthing it does is done by syphone and there is syphone support included

@martialgallorini
Copy link
Author

ok.
it works under linux thanks

@jamet
Copy link
Contributor

jamet commented Feb 10, 2016

True what @nanu-c said, ofxGSTV4L2sink is only needed in linux for the preview feature, i think it could be easily disabled in the code, will try to make a branch with this mods, but i can't test it...

@nanu-c
Copy link

nanu-c commented Feb 14, 2016

#ifdef WITH_PREVIEW
   #include "ofxGstV4L2Sink.h" //or something else
#endif

has to be replaced with

#ifdef WITH_PREVIEW
   #ifndef WITH_SYPHON
      #include "ofxGstV4L2Sink.h" //or something else
   #endif
#endif

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

No branches or pull requests

3 participants