Menu

LDView rendering not working (OSX)

2018-04-25
2018-05-24
  • Christian Benito

    I'm getting error messages every time I try to use LDView rendering.

    Is there something that I need to tweak in the configuration?

    LDView is working fine on its own.

    Thanks!

     
  • David Duperron

    David Duperron - 2018-04-26

    Same here... :( I guess this has to do with rights, and security settings in the latest MacOSX...

     
  • Christian Benito

    Yeah, the error messages made it look like some kind of permissions issue. For now I'm using LDGLite.

     
  • Trevor Sandy

    Trevor Sandy - 2018-04-27

    Can you open a ticket and provide some details so can better research the issue ?

    Just follow the details on the Support tab. Or here is the link if you prefer https://github.com/trevorsandy/lpub3d/issues/new.

    Cheers,

     
  • David Duperron

    David Duperron - 2018-04-29

    Hi Trevor, I did a fresh install of LPUB3D, and still have the same message as soon as the file is open: "LDView (Single Call) PLI image file move failed for /Users/david/..../LPUB3D/parts/.... .png" followed by a "Render failed for PLI images"... and at the end a "Render CSI images failed"

     

    Last edit: David Duperron 2018-04-29
  • David Duperron

    David Duperron - 2018-04-29

    I Think I found an interesting error log: "dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
    Referenced from: /Applications/LPub3D.app/Contents/3rdParty/ldview-4.3/bin/LDView
    Reason: Incompatible library version: LDView requires version 51.0.0 or later, but libpng16.16.dylib provides version 33.0.0"... but I have no idea on How to solve this!!

     
  • David Duperron

    David Duperron - 2018-04-29

    Ok I finally managed to get it work! Several dependancies issues with the embedded version of LDView it seems... I had to manually install (with Brew) the following libraries to make it work: libpng, libjpg, gl2ps, and tinyxml... it seems to work ok now, at least images are generated!

     
  • Trevor Sandy

    Trevor Sandy - 2018-04-29

    Good to see you're progressing.

    libpng is outdated on your system. Homebrew is your friend.

    At present, Homebrew shows the latest libpng version information.

    For reference: The following commands to install Homebrew, and install (or reinstall) the latest LPub3D dependency libraries version.

    1. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    2. $ brew update
    3. $ brew reinstall libpng
    4. $ otool -L $(brew list libpng | grep dylib$)
    /usr/local/Cellar/libpng/1.6.34/lib/libpng.dylib:
        /usr/local/opt/libpng/lib/libpng16.16.dylib (compatibility version 51.0.0, current version 51.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
    5. $ brew install libjpg tinyxml gl2ps
    

    As there are several reports about this, I'll update the macOS install readme with the prerequisite to install the appropriate library dependencies.

    Cheers,

     

    Last edit: Trevor Sandy 2018-04-30
  • Cameron Miller

    Cameron Miller - 2018-05-24

    Hello,

    I am experiencing the same issue, is there a fix? I tried to brew some updates but nothing worked on that front.

     
  • Trevor Sandy

    Trevor Sandy - 2018-05-24

    Cameron,

    In the next release (2.3), LPub3D will check for dependent libraries on macOS before upon launching and inform the user. See GitHub ticket 57 for details.

    If after installing the depenent libraries, your installation fails to start, then it is very likely the problem is not the same issue as that addressed with ticket 57. Perhaps you can share a bit more information about the exact behaviour you are experiencing after installing, and verifying, the dependent libraries.

    Cheers,

     
  • Cameron Miller

    Cameron Miller - 2018-05-24

    Hey Trevor, Thanks for the quick reply. I updated/installed the libraries per the above post and it did not resove the problem.

    I tried to just redownload and install LPub3D but even after removing the old application and the LPub3D file in /Libraries/Application Support I find that the recenet model list is still there so I do not beieve I am removing LPub3D fully to do a fresh install.

     
  • Trevor Sandy

    Trevor Sandy - 2018-05-24

    Here are the default paths:

    Registry

    • macOS: ~/Library/Preferences/com.lpub3d-software.LPub3D.plist
      Application Data
    • macOS: ~/Library/Application Support/LPub3D Software/LPub3D/
      Application
    • macOS: /Applications/LPub3D.app

    Cheers,

     

Log in to post a comment.

MongoDB Logo MongoDB