Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start playform on macOS Sierra #189

Open
sphinxc0re opened this issue Feb 1, 2017 · 3 comments
Open

Unable to start playform on macOS Sierra #189

sphinxc0re opened this issue Feb 1, 2017 · 3 comments

Comments

@sphinxc0re
Copy link

When trying to start the game, I get the following console output:

cargo run --release
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
@bfops
Copy link
Owner

bfops commented Feb 2, 2017

Hm. This looks related. How recent is your rustc+cargo?

This is the homebrew version of libjpeg I have installed:

$ brew info libjpeg
jpeg: stable 8d (bottled)
Image manipulation library
http://www.ijg.org
/usr/local/Cellar/jpeg/8d (19 files, 713.7K) *
  Poured from bottle on 2015-12-24 at 16:24:43
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/jpeg.rb
==> Options
--universal
	Build a universal binary

@sphinxc0re
Copy link
Author

I got the most recent rust installed which is 1.16 nightly. libjpeg has the same version as yours

@bfops
Copy link
Owner

bfops commented Feb 4, 2017

The thread I linked above mentions DYLD_LIBRARY_PATH. Have you tried setting that? My LIBRARY_PATH, LD_LIBRARY_PATH, and DYLD_LIBRARY_PATH are all set to /usr/local/lib:/usr/lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants