martin-pe / maitreya8

Other
111 stars 54 forks source link

Maitreya8 crashes on OS X El Capitan (10.11.6) #25

Open esaruoho opened 6 years ago

esaruoho commented 6 years ago

Unable to start Maitreya8 while using OS X El Capitan (10.11.6)

Path:                  /Users/USER/Downloads/*/Maitreya8.app/Contents/MacOS/Maitreya8
Identifier:            Maitreya Version 8.0
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Maitreya8 [7299]
User ID:               501

Date/Time:             2017-10-28 09:20:55.292 +0300
OS Version:            Mac OS X 10.11.6 (15G17022)
Report Version:        11
Anonymous UUID:        8AF2929F-3AB8-7B0E-EA72-E2BDA73CD8CA

Sleep/Wake UUID:       ABB0FC63-45FF-452B-BE6F-9F1A3F85245B

Time Awake Since Boot: 50000 seconds
Time Since Wake:       3500 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: /Users/USER/Downloads/*/Maitreya8.app/Contents/MacOS/Maitreya8
  Reason: image not found

Binary Images:
    0x7fff6d2fa000 -     0x7fff6d331a47  dyld (360.22) <C8E77F6D-CE86-3C5B-8576-2584A799B51E> /usr/lib/dyld
    0x7fff82a68000 -     0x7fff82a69ffb  libSystem.B.dylib (1226.10.1) <645FA2BC-801C-3225-9AE3-8BAB57C4BE4A> /usr/lib/libSystem.B.dylib
    0x7fff82aea000 -     0x7fff82b5ffff  com.apple.framework.IOKit (2.0.2 - 1179.50.2) <A509D3AE-9D48-31B7-89C7-326A7A2007B2> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8469e000 -     0x7fff8469efff  com.apple.Carbon (154 - 157) <8F6ED602-5943-3E29-A793-BC331E2C183D> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff897d3000 -     0x7fff897e1fff  com.apple.opengl (12.1.0 - 12.1.0) <12EBDE6A-2F44-3429-8337-2BB36870BFD8> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8eb78000 -     0x7fff8ed1eff7  com.apple.audio.toolbox.AudioToolbox (1.13 - 1.13) <370E95BC-956C-3962-86CC-0A14CF6A0389> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff97836000 -     0x7fff97836fff  com.apple.Cocoa (6.11 - 22) <807787AB-D231-3F51-A99B-A9314623C571> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa

Model: MacBookPro5,3, BootROM MBP53.00AC.B03, 2 processors, Intel Core 2 Duo, 2,66 GHz, 8 GB, SMC 1.48f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393930353432382D3030352E4130324C4620
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393930353432382D3030352E4130324C4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.101.28)
Bluetooth: Version 4.4.6f2, 3 services, 18 devices, 1 incoming serial ports
Network Service: MBP<->MacMini, FireWire, fw0
Network Service: iPhone, Ethernet, en3
Serial ATA Device: Samsung SSD 840 EVO 1TB, 1 TB
Serial ATA Device: MATSHITADVD-R   UJ-868
USB Device: USB Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: USB Bus
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Built-in iSight
USB Device: iPhone
USB Device: USB 2.0 Bus
USB Device: Card Reader
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: ESI M4U XT
USB Device: USB HID
USB Device: USB-PS/2 Optical Mouse
USB Device: USB HID
Thunderbolt Bus: 
martin-pe commented 6 years ago

The released version was build on macOS Yosemite and is not compatible with newer versions of the OS.

There is a new version build on High Sierra. Please try and give feedback.

esaruoho commented 6 years ago

@martin-pe hi, could you point me to where, or should i clone the repo and compile or something?

yuvaraaju commented 6 years ago

Build wxWidgets 3.1.0

  1. Download, unzip and to the root folder
  2. Create a directory build in root folder and change to build directory
  3. Fix the file

    include/wx/strvararg.h

in order to avoid compile errors about type traits. Insert the following just before #ifdefined (HAVE_TYPE_TRAITS)

include // detect std::lib

ifdef _LIBCPP_VERSION

// using libc++

define HAVE_TYPE_TRAITS

else

// using libstdc++

define HAVE_TR1_TYPE_TRAITS

endif

review: http://www.appletonaudio.com/blog/2013/wxwidgets-c-libraries-and-c11/

  1. Run configure

    ../configure --disable-shared --enable-unicode --with-macosx-version-min=10.9 --disable-mediactrl --with-opengl --with-zlib=builtin --with-expat=builtin CXXFLAGS="-std=c++0x -stdlib=libc++" CPPFLAGS="-stdlib=libc++" LIBS=-lc++

  2. Run make

Build maitreya 8.0.1

  1. Download the source, unzip and go to root folder (I found it safe to clone the 8.0.1 repo than download the source zip)

  2. Create a directory build in root folder and change to build directory

  3. Run configure to set up the build

    ../configure --with-wx-config=/Users/USER/Documents/Software/wx310/wx-config CXXFLAGS="-mmacosx-version-min=10.9 -std=c++0x -stdlib=libc++" CPPFLAGS="-mmacosx-version-min=10.9 -stdlib=libc++" LIBS=-lc++

  4. Fix the function name verify_noerr in order to avoid compile errors

    find ../src -name "*.cpp" -exec sed -i "" 's/verify_noerr/__Verify_noErr/g' {} \;

  5. Fix the in order to avoid wxSscanf errors in Lang.cpp

    Add <wx/crt.h> to Lang.cpp before <wx/string.h>

  6. In order to avoid compile errors with ToolPanel.cpp

    change wxADJUST_MINSIZE to wxFIXED_MINSIZE in src/gui/ToolPanel.cpp

  7. Run make