Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: mitch09 on November 21, 2016, 01:51:56 PM

Title: mac OS install
Post by: mitch09 on November 21, 2016, 01:51:56 PM
I am having trouble getting xlights to run on my 2010 MBP. Intel 2.2. I download the latest version and copy to my applications. The xlights icon bounces and then closes. I have saved a crash report. Is there anyone that can take a look?

I have previously been running xlights through bootcamp on a windows partition, so worst case I will go back to that.

Thanks in advance
Title: Re: mac OS install
Post by: dkulp on November 21, 2016, 02:22:42 PM
You can attach the crash report and I can take a look.

What version of OSX are you using?  I believe it now requires 10.9 or higher.    Using something older would likely cause this as the libraries that are required aren't available.   

Beyond that, try renaming the show directory or similar and see if xLights starts.
 
Title: Re: mac OS install
Post by: mitch09 on November 21, 2016, 02:50:08 PM
I am running 10.7.5. Can I run an older version of xlights? This is just for a test rig in my classroom for students to work on at their recess time :)
Title: Re: mac OS install
Post by: dkulp on November 21, 2016, 03:00:55 PM

Actually, 10.7 should work...   Just did a bit more research on it.   Basically, we had been building wxWidgets with QTKit, but in Sierra, they completely removed QTKit so I cannot build it anymore.   Thus, I flipped it over to AVFoundation which was introduced in 10.7.   (QTKit was marked deprecated in 10.9)

Anyway, it SHOULD work...   Could you run:

otool -L /Applications/xLights.app/Contents/MacOS/xLights

and

otool -L /Applications/xLights.app/Contents/Frameworks/libwx_osx_cocoau_media-3.1.1.0.0.dylib

and check to make sure all the required libs are found and within the right version ranges?
Title: Re: mac OS install
Post by: dkulp on November 21, 2016, 03:02:21 PM
Oh.. and post the last 100 lines or so of:

~/Library/Logs/xLights_l4cpp.log

(or just attach the whole log)
Title: Re: mac OS install
Post by: mitch09 on November 21, 2016, 03:14:29 PM
I don't have Xcode installed so no otools, but I have attached the crash log and will work on getting the others that you asked for.

Ryan
Title: Re: mac OS install
Post by: mitch09 on November 21, 2016, 04:35:26 PM
I can show the package contents of xLights and see the frameworks folder with all the Dynamic Libraries inside. I have attached a SS
Title: Re: mac OS install
Post by: dkulp on November 21, 2016, 04:52:48 PM
I don't have Xcode installed so no otools, but I have attached the crash log and will work on getting the others that you asked for.

Cool.  That was perfect.   The problem is that it cannot find the VideoToolbox framework.   That was added in 10.8 which means right now the minimum version of OSX is 10.8.   That's coming in from ffmpeg.   I'll have to see if ffmpeg has some flags or similar to allow disabling that.  I'm not sure what it's needed for.

Title: Re: mac OS install
Post by: dkulp on November 21, 2016, 05:15:48 PM
I just uploaded a 2016.53b version that replaces the ffmpeg libs with builds that don't import the VideoToolbox framework.   Can you give that a try.  If that fails to start, another crash report like the above is a huge help.

Thanks!
Dan
Title: Re: mac OS install
Post by: mitch09 on November 22, 2016, 09:16:18 AM
Dan,
I tried the new upload. I don't even get a crash report pop-up. the xLights app icon bounces in the dock and then just disappears. Where could I find a log of what is happening? Thanks so much for your help.

Ryan
Title: Re: mac OS install
Post by: mitch09 on November 22, 2016, 09:36:01 AM
Dan,
I have peeked in the console logs and found some reports. all of them are showing:



11/22/16 8:32:58.048 AM taskgated: killed org.xlights[pid 394] because its use of the com.apple.developer.team-identifier entitlement is not allowed

This is even if I right click and choose open. I have also set Gatekeeper to allow all types of apps.
Title: Re: mac OS install
Post by: dkulp on November 22, 2016, 10:15:40 AM

Just stuck a 53c build up.   Can you try that?  I think I used the development signing key instead of the release key.

Title: Re: mac OS install
Post by: mitch09 on November 22, 2016, 11:00:25 AM
Crashed this time with a report. I have attached it
Title: Re: mac OS install
Post by: dkulp on November 22, 2016, 01:25:23 PM
Getting further...   2016.53d is up.

The issue is ffmpeg.   When building, it "autodetects" a bunch of stuff on the system and configures itself.   I need to figure out what is not available on your system and explicitly turn those off.   We'll get there.

Title: Re: mac OS install
Post by: mitch09 on November 22, 2016, 01:35:33 PM
Dan,

Thank you for your patience and hard work.
Another crash. Report is attached
Title: Re: mac OS install
Post by: dkulp on November 22, 2016, 01:44:39 PM

Can you check if there is a different version of liblzma?

Basically, the output of "ls -l /usr/lib/liblzma*"
Title: Re: mac OS install
Post by: mitch09 on November 22, 2016, 02:12:07 PM
I am not sure how to really check, but I have attached a couple screenshots after doing a Find for liblzma

Sorry,

Ryan
Title: Re: mac OS install
Post by: dkulp on November 22, 2016, 02:16:02 PM
2016.53e is up which removes the liblzma dependency.   I *THINK* this should work.  If not, can you check for libexpat via:   "ls -lart /usr/lib/libexp*"   I think that's the only questionable lib left.
Title: Re: mac OS install
Post by: dkulp on November 22, 2016, 02:39:25 PM

2016.53f is up removing the expat dep.   Not sure what else I can rip out.  :)    I really hope this works.
Title: Re: mac OS install
Post by: mitch09 on November 22, 2016, 02:45:40 PM
Your the Man!!

Up and running. Thank you again for your work and patience.

Ryan