October 27, 2005 Re: d with glfw under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes | Hannes escribió: > You can download my first successful linux/D/GLFW compile at: > http://www.geocities.com/ackehurst/index.html > > I'd be glad to hear if it runs on other linux machines than mine. THX! > > Ran for me on Gentoo and Slackware 10.1 but not on Ubuntu 5.04. -- Carlos Santander Bernal |
October 27, 2005 Re: d with glfw under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes | Hannes wrote:
> You can download my first successful linux/D/GLFW compile at:
> http://www.geocities.com/ackehurst/index.html
>
> I'd be glad to hear if it runs on other linux machines than mine. THX!
>
>
C++ version works, D version doesn't run on my Gentoo:
$ ./dtris
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 42 (X_SetInputFocus)
Serial number of failed request: 34
Current serial number in output stream: 37
|
October 27, 2005 Re: d with glfw under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | Does not seem to work: /compile.bat gcc main.o board.o tetris.o gl.o glfw.o moving.o piece.o list.o slice.o -o main -g -lphobos -lpthread -lm -Xlinker -lglfw -Xlinker -lGLU -Xlinker -lGL -Xlinker -lX11 -Xlinker -lm -Xlinker -ldl gcc: gl.o: Datei oder Verzeichnis nicht gefunden gcc: glfw.o: Datei oder Verzeichnis nicht gefunden --- errorlevel 1 |
October 27, 2005 Re: d with glfw under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes | Hannes wrote:
> Does not seem to work:
>
>
>
> /compile.bat
> gcc main.o board.o tetris.o gl.o glfw.o moving.o piece.o list.o slice.o -o main
> -g -lphobos -lpthread -lm -Xlinker -lglfw -Xlinker -lGLU -Xlinker -lGL -Xlinker
> -lX11 -Xlinker -lm -Xlinker -ldl
> gcc: gl.o: Datei oder Verzeichnis nicht gefunden
> gcc: glfw.o: Datei oder Verzeichnis nicht gefunden
> --- errorlevel 1
>
>
You can fix this by making a directory called objs, then point all objects in that directory with -odobjs/
btw you should probably using .sh for linux, .bat is for windows.
|
October 27, 2005 Re: d with glfw under linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes | In article <djouo8$7bd$1@digitaldaemon.com>, Hannes says... > >You can download my first successful linux/D/GLFW compile at: http://www.geocities.com/ackehurst/index.html > >I'd be glad to hear if it runs on other linux machines than mine. THX! > > Runs on my Ubuntu Breezy with Enlightenment! |
Copyright © 1999-2021 by the D Language Foundation