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

Compiling demo with OSX #4

Open
joelcnz opened this issue Feb 6, 2015 · 1 comment
Open

Compiling demo with OSX #4

joelcnz opened this issue Feb 6, 2015 · 1 comment

Comments

@joelcnz
Copy link

joelcnz commented Feb 6, 2015

Joels-MacBook-Pro:dbox joelcnz$ dub run dbox:demo
Building package dbox:demo in /Users/joelcnz/jpro/dpro2/OtherPeoples/dbox/examples/demo/
Fetching glfw-drey 0.0.4 (getting selected version)...
Placing glfw-drey 0.0.4 to /Users/joelcnz/.dub/packages/...
Fetching glwtf-drey 0.0.2 (getting selected version)...
Placing glwtf-drey 0.0.2 to /Users/joelcnz/.dub/packages/...

Warning for package demo

The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass custom flags
to the compiler, or use one of the suggestions below:

debugInfo: Call DUB with --build=debug
warningsAsErrors: Use "buildRequirements" to control the warning level

Building glfw-drey 0.0.4 configuration "glfw-drey", build type debug.
Running dmd...
Building glad-drey 0.0.3 configuration "glad-drey", build type debug.
Running dmd...
Building dimgui 0.1.7-alpha configuration "library", build type debug.
Running dmd...
Building dbox 0.0.7-alpha configuration "library", build type debug.
Running dmd...
Building glwtf-drey 0.0.2 configuration "glwtf-drey", build type debug.
Running dmd...
Building dbox:demo 0.0.7-alpha configuration "application", build type debug.
Compiling using dmd...
Linking...
ld: library not found for -lglfw3
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--- errorlevel 1
FAIL examples/demo/.dub/build/application-debug-posix.osx-x86_64-dmd_2066-CFB4CE32F8F34DE2B3E70F6EDD892DA3/ demo executable
Error executing command run: dmd failed with exit code 1.

Joels-MacBook-Pro:dbox joelcnz$

@joelcnz
Copy link
Author

joelcnz commented Aug 24, 2019

Update:

Error: homebrew/versions was deprecated. This tap is now empty as all its formulae were migrated.
Joel-Computer:dbox joelchristensen$ brew install glfw3
==> Downloading https://homebrew.bintray.com/bottles/glfw-3.3.mojave.bottle.ta
0.7######### 12.6########################## 36.2########################################################## 81.2######################################################################## 100.0%
==> Pouring glfw-3.3.mojave.bottle.tar.gz
🍺 /usr/local/Cellar/glfw/3.3: 14 files, 497.9KB
Joel-Computer:dbox joelchristensen$ dub run dbox:demo
Building package dbox:demo in /Users/joelchristensen/jpro/dpro2/OtherPeoples/dbox/examples/demo/
Failed to find any versions for package glfw-drey, referenced by dbox:demo 0.0.7-alpha

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

1 participant