stweil / OSXvnc

VNC Server for macOS
GNU General Public License v3.0
203 stars 67 forks source link

Error on launch #12

Open lyleberman opened 7 years ago

lyleberman commented 7 years ago

Hi. I used Xcode to build the most recent release but the application is crashing with this error:

dyld: Library not loaded: /opt/libjpeg-turbo/lib/libturbojpeg.0.dylib Reason: image not found Trace/BPT trap: 5

Only happens on a machine where turbo-jpeg isn't installed. How can I fix this? Thanks!

stweil commented 7 years ago

How can I fix this?

Maybe add the missing library to your installation?

lyleberman commented 7 years ago

Thanks for this - having problems doing this (XCode newbie) but will try to slog through it. Appreciate your work on this project!

noaht8um commented 6 years ago

@lyleberman I am having the same trouble! I know there should be a way to include the library in the completed build, but I am no Xcode guru.

@stweil Is it a licensing issue that prevent the turbo-jpeg lib files from being included, or some other reason? Thanks!

stweil commented 6 years ago

@noaht8um, did you try the package from https://github.com/stweil/OSXvnc/releases/tag/V5_0_1?

rdp commented 6 years ago

I worked around this by configuring libjpeg-turbo like

$ ./configure --enable-static --disable-shared

now it works on boxes without that installed (I didn't get that problem with V5_0_1 either FWIW).

stweil commented 6 years ago

The latest code uses static linking for the JPEG library, so it is no longer necessary for end users to install libjpeg-turbo. See commit 71aeeb97d7bf1dabbf9571bd4f793a2df94aa927 which fixed that problem.

stweil commented 6 years ago

@lyleberman, please try the latest release.