Author Topic: mac OS install  (Read 2899 times)

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
mac OS install
« 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

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #1 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.
 
Daniel Kulp
Framingham, MA

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #2 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 :)

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #3 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?
Daniel Kulp
Framingham, MA

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #4 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)
Daniel Kulp
Framingham, MA

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #5 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

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #6 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

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #7 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.

Daniel Kulp
Framingham, MA

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #8 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
Daniel Kulp
Framingham, MA

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #9 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

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #10 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.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #11 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.

Daniel Kulp
Framingham, MA

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #12 on: November 22, 2016, 11:00:25 AM »
Crashed this time with a report. I have attached it

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: mac OS install
« Reply #13 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.

Daniel Kulp
Framingham, MA

Offline mitch09

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: mac OS install
« Reply #14 on: November 22, 2016, 01:35:33 PM »
Dan,

Thank you for your patience and hard work.
Another crash. Report is attached