VideoMapping / lpmtX2

the 2nd version to the recoded lpmt video mapping sofware for linux & osx
MIT License
14 stars 4 forks source link

can't build under OSX #10

Open martialgallorini opened 8 years ago

martialgallorini commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

hello,

thanks for the tip !!

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

jamet commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

ok. it works under linux thanks

jamet commented 8 years ago

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 commented 8 years ago
#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