I am having some trouble getting LPub3D to work. I am a Mac user. Previously I used LPub 4, which worked fine until I upgraded to macOS Catalina and now it won't even open. I tried downloading LPub3D instead but I am running into some issues seemingly related to some missing and/or outdated LDView libraries. I have LDView installed and it appears to be functioning correctly (Bricksmith works). I received a couple of error messages on startup (screenshots below). After clicking through them the program opens fine but the model doesn't display correctly in the instruction preview though it does display correctly in the 3DViewer. I have tried with several different .ldr files that I know all used to work in LPub 4 and they all have the same issue. I took a look in the README_macOS.txt and tried downloading XQuartz but that didn't work (although it did change the error message slightly). Do I have to download the other libraries in the text file? I'm not quite sure what they do or why I need them. Any ideas what the problem might be and any potential solutions? I would like to get back to using LPub again!
Were you able to install all the requierd libraries with version numbers at or later than those specified in README_macOS.txt?
When you say you "tried downloading XQuartz but that didn't work" are you saying you were able to install XQuartz successfully but it did not change the LPub3D behaviour or are you saying you could not install XQuartz?
Can you archive and share the LPub3D folder? Be sure to include the stderr and stdout files.
LPub3D is very different from LPub. Also it uses a different macOS LDView build than the officially installed version. The LPub3D instance of LDView is a customized console only instance that uses OSMesa (hence the dependency on XQuartz).
Cheers,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If no imges are being generated for LDView, more than likely it is because libpng is not loaded.
You can confirm this in the stderr-ldview log located at the root of the model file you are attempting to load.
The message should look like this:
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 54.0.0 or later, but libpng16.16.dylib provides version 52.0.0
The solution to treat this behaviour is detailed in ticket #57 - see link in previous post.
Cheers,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am having some trouble getting LPub3D to work. I am a Mac user. Previously I used LPub 4, which worked fine until I upgraded to macOS Catalina and now it won't even open. I tried downloading LPub3D instead but I am running into some issues seemingly related to some missing and/or outdated LDView libraries. I have LDView installed and it appears to be functioning correctly (Bricksmith works). I received a couple of error messages on startup (screenshots below). After clicking through them the program opens fine but the model doesn't display correctly in the instruction preview though it does display correctly in the 3DViewer. I have tried with several different .ldr files that I know all used to work in LPub 4 and they all have the same issue. I took a look in the README_macOS.txt and tried downloading XQuartz but that didn't work (although it did change the error message slightly). Do I have to download the other libraries in the text file? I'm not quite sure what they do or why I need them. Any ideas what the problem might be and any potential solutions? I would like to get back to using LPub again!
Thanks!
Sam
Hello Sam.
Take a look at GitHub tickets #57 and #146.
Were you able to install all the requierd libraries with version numbers at or later than those specified in README_macOS.txt?
When you say you "tried downloading XQuartz but that didn't work" are you saying you were able to install XQuartz successfully but it did not change the LPub3D behaviour or are you saying you could not install XQuartz?
Can you archive and share the LPub3D folder? Be sure to include the stderr and stdout files.
LPub3D is very different from LPub. Also it uses a different macOS LDView build than the officially installed version. The LPub3D instance of LDView is a customized console only instance that uses OSMesa (hence the dependency on XQuartz).
Cheers,
If no imges are being generated for LDView, more than likely it is because libpng is not loaded.
You can confirm this in the stderr-ldview log located at the root of the model file you are attempting to load.
The message should look like this:
The solution to treat this behaviour is detailed in ticket #57 - see link in previous post.
Cheers,
I installed the required libraries and the program appears to be working fine now. Thank you!
Last edit: Sam Erens 2019-12-27
Excellent.
Cheers,