-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
dyld: Symbol not found: _AG_GL_BackupSurfaces #47
Comments
A sloppy attempt of adding $ export DYLD_LIBRARY_PATH=/Users/seasellsheshell/lib/agar/bin/:/Users/seasellsheshell/lib/agar/share/
$ ./hello
dyld: Symbol not found: _AG_GL_BackupSurfaces
Referenced from: /Users/seasellsheshell/lib/agar//lib/libag_gui.5.dylib
Expected in: flat namespace
in /Users/seasellsheshell/lib/agar//lib/libag_gui.5.dylib
Abort trap: 6 |
Can you post the contents of config.log from the build directory? I suspect the test for OpenGL has failed for some reason, and your build is missing OpenGL support as a result. Enabling SDL support adds support for the "sdlgl" and "sdlfb" drivers. This allows Agar applications to run in SDL/OpenGL or SDL/Framebuffer mode in addition to the native "cocoa" driver (which uses the Cocoa API). The "sdlgl" driver is also handy if you wish to provide a MDI or "single-window" mode in a multi-window application. |
Can you try again with version 1.6.0? (http://libagar.org/download.html) and please re-open the issue if the problem persists. |
I installed libagar into my Mac Mojave by the following steps, according to the official guide.
First, I installed SDL1.2 . (I don't know it's needed though)
$ brew install sdl
Next, I executed the following:
Then I created a file named
hello.c
according to the bottom of the page. I successfully compiled it, but when I try running, an dynamic library loading error occurs:(where
$USER
is actually the username of my PC.)What am I getting wrong? How can I fix this problem?
The text was updated successfully, but these errors were encountered: