Sean Meighan

Software => General Software => Topic started by: pwalker on December 26, 2016, 06:42:37 AM

Title: Fresh Meat - Possible noob question
Post by: pwalker on December 26, 2016, 06:42:37 AM
Hi there!
I am new to the extreme lighting cause and am trying to compile the latest xLights release from the github
repository and having difficulty getting it to build per the instructions - has anyone successfully pulled the latest and gotten it to compile?  Also, I noticed a lot of cross-pollination between xLights, FFP, and Vixen - are these collaborations between the various vendors?(so used to the YOU CAN'T TALK ABOUT ANOTHER PRODUCT ON THIS BOARD sorta stuff).  Thanks in advance for any info!  Looking forward to using this!!

Pat
Title: Re: Fresh Meat - Possible noob question
Post by: Gilrock on December 26, 2016, 10:55:48 AM
Yes we compile it every day.  We support building on Windows via Codeblocks, Windows via Visual Studio, Mac, and Linux so I can't even begin to guess your problem since you gave no info.  There are a bunch of 3rd party items you need to install and build.  I consider being able to figure out how to compile the code part of the interview process to be a contributor. :)
Title: Re: Fresh Meat - Possible noob question
Post by: jnealand on December 26, 2016, 01:47:37 PM
If you are just going to be a user, why not just download the installer for whatever OS you are using?  No need to compile it all.
Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 26, 2016, 03:03:39 PM
I'm sorta a geek about that sorta stuff and like knowing what I am installing.  That, and the fact that I could not find an installer for the Raspberry Pi made me take the "build it myself" path.  Thanks for the response!

Pat
Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 26, 2016, 03:16:54 PM
Yes we compile it every day.  We support building on Windows via Codeblocks, Windows via Visual Studio, Mac, and Linux so I can't even begin to guess your problem since you gave no info.  There are a bunch of 3rd party items you need to install and build.  I consider being able to figure out how to compile the code part of the interview process to be a contributor. :)

Yeah, I put all of the details in my post of Facebook but failed to put them in here  :-[
I am trying to build it for my Raspberry Pi, using the boxed compiling tools.  Having read the
instructions, I dutifully downloaded the development tools that were recommended, ran the
make command and saw several warnings pop up, but I wasn't expecting them from creating the
executable (as explained in the README).  If I knew I was being interviewed, I would have definitely
taken more effort in troubleshooting :P  Since it's a test, I say "GAME ON"

Pat
Title: Re: Fresh Meat - Possible noob question
Post by: K-State Fan on December 26, 2016, 05:06:08 PM
Why are you trying to install xLights on a PI?  I think you will have trouble running it on a PI.
Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 26, 2016, 05:29:36 PM
Why are you trying to install xLights on a PI?  I think you will have trouble running it on a PI.

The main reason would be because I saw a post saying that it was possible.  Guess it takes a little work.
Title: Re: Fresh Meat - Possible noob question
Post by: K-State Fan on December 26, 2016, 05:41:29 PM
I didn't think the pi had enough horsepower to run xLights4


Sent from my iPhone using Tapatalk
Title: Re: Fresh Meat - Possible noob question
Post by: Phrog30 on December 26, 2016, 06:18:06 PM
Why would you want to? Are you bored?

Sent from my Pixel using Tapatalk

Title: Re: Fresh Meat - Possible noob question
Post by: Gilrock on December 26, 2016, 08:18:57 PM
No I don't think anyone has ever compiled or run xLights on a Pi.
Title: Re: Fresh Meat - Possible noob question
Post by: keithsw1111 on December 26, 2016, 11:55:02 PM
There is very little chance XLights will compile on a Pi. Also the first to compile on UNIX after the Windows or Mac developers have added or deleted source files are responsible for fixing the make.
Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 27, 2016, 03:50:29 AM
There is very little chance XLights will compile on a Pi. Also the first to compile on UNIX after the Windows or Mac developers have added or deleted source files are responsible for fixing the make.

Ah!  This was the answer I was looking for - if there is missing source code, that changes the equation.
Thank you very much
Title: Re: Fresh Meat - Possible noob question
Post by: Gilrock on December 27, 2016, 09:54:20 AM
No there's not missing source code.  What happens is there the "added" source code but the Windows developers don't modify the Linux makefile to tell it to compile the new files.  Just give up and use the install files that are already out there.  You don't sound like you have a good reason to build the code so that doesn't give me a good reason to spend time teaching you how.
Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 27, 2016, 02:29:16 PM
No there's not missing source code.  What happens is there the "added" source code but the Windows developers don't modify the Linux makefile to tell it to compile the new files.  Just give up and use the install files that are already out there.  You don't sound like you have a good reason to build the code so that doesn't give me a good reason to spend time teaching you how.

Well!  I guess you told me.  Thanks for the answer.
Title: Re: Fresh Meat - Possible noob question
Post by: debenham on December 27, 2016, 06:39:14 PM
It can be made to compile on the raspberrypi - but there are a number of modifications you need to do on the pi itself (manually compile a separate OpenGL library and more)  -  and even then it runs much too slowly to be usable anymore

Sent from my Nexus 9 using Tapatalk

Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 28, 2016, 03:57:37 AM
It can be made to compile on the raspberrypi - but there are a number of modifications you need to do on the pi itself (manually compile a separate OpenGL library and more)  -  and even then it runs much too slowly to be usable anymore

Sent from my Nexus 9 using Tapatalk

Thank you for the reasoned response.

Pat

Title: Re: Fresh Meat - Possible noob question
Post by: CaptainMurdoch on December 28, 2016, 02:19:19 PM
Back to one of the original questions....

xLights, FPP, and Vixen are all separate programs by separate developers.  I think I am one of a few with commit access to both xLights and FPP and probably the only person who commits to both but that is only for an occasional bugfix in xLights, my time is 99% FPP.  The developers do talk though, much more closely between xLights and FPP, but we do also talk with the vixen guys as well (mainly FPP & Vixen).  I believe most of the xLights guys use FPP to play their shows and the FPP guys use xLights to sequence.  FPP does have an forum area where non-FPP developers can come to discuss integration, we hope to have a lot of good discussion there as we work on FPP v2.0 more in the coming months.
Title: Re: Fresh Meat - Possible noob question
Post by: pwalker on December 28, 2016, 03:34:21 PM
Back to one of the original questions....

xLights, FPP, and Vixen are all separate programs by separate developers.  I think I am one of a few with commit access to both xLights and FPP and probably the only person who commits to both but that is only for an occasional bugfix in xLights, my time is 99% FPP.  The developers do talk though, much more closely between xLights and FPP, but we do also talk with the vixen guys as well (mainly FPP & Vixen).  I believe most of the xLights guys use FPP to play their shows and the FPP guys use xLights to sequence.  FPP does have an forum area where non-FPP developers can come to discuss integration, we hope to have a lot of good discussion there as we work on FPP v2.0 more in the coming months.

OUTSTANDING!!  This was one of the critical questions that I had that you just answered.  I was afraid to have multiple applications that may, or may not, play well (export/import) with each other.  I downloaded Raspberry  Pi FPP and xLights and have been familiarizing myself with the various feature sets.  Glad to see I made the correct choice.  Thank you very much for taking the time to explain to a new, but technically competent user.  I look forward to being a little more productive to the team.  Best regards!!

Pat