[Derelict-Lua] FileSystem Trouble: Strange Behavior.

2017-01-31 Thread Payotz via Digitalmars-d
Hello! I have been trying to embed lua into my application, and I have strange behavior that I could not understand. I'm sure that this is not normal. First off, I have written a binding in order to interface my D code with Lua Code. ..:://\\::.. extern(C) nothrow int addSprite(lua_State *L)

Re: Derelict-GL3 Error

2017-01-12 Thread Jerry via Digitalmars-d
Don't use glGetError() it was such a horrible design decision to use that for debugging. A better way to debug was introduced. https://www.khronos.org/opengl/wiki/Debug_Output

Re: Derelict-GL3 Error

2017-01-10 Thread Kevin via Digitalmars-d
On Tuesday, 10 January 2017 at 14:32:29 UTC, Kevin wrote: On Tuesday, 10 January 2017 at 04:34:24 UTC, Mike Parker wrote: [...] Thanks for info. I already did glGetError() above and below. and it only from that code. At first I thought i put the wrong type. I set success to 1 and let code go

Re: Derelict-GL3 Error

2017-01-10 Thread Kevin via Digitalmars-d
On Tuesday, 10 January 2017 at 04:34:24 UTC, Mike Parker wrote: On Tuesday, 10 January 2017 at 01:43:50 UTC, Kevin wrote: Using Archlinux, Derelict-gl3 1.0.18 check format (GLuint, Glenum, Glint*) // this does not work glGetShaderiv(program, GL_LINK_STATUS, &success); writeln("

Re: Derelict-GL3 Error

2017-01-09 Thread Mike Parker via Digitalmars-d
On Tuesday, 10 January 2017 at 01:43:50 UTC, Kevin wrote: Using Archlinux, Derelict-gl3 1.0.18 check format (GLuint, Glenum, Glint*) // this does not work glGetShaderiv(program, GL_LINK_STATUS, &success); writeln("GL_ERROR: ", glGetError()); Give me error 1282 // this

Derelict-GL3 Error

2017-01-09 Thread Kevin via Digitalmars-d
Using Archlinux, Derelict-gl3 1.0.18 check format (GLuint, Glenum, Glint*) // this does not work glGetShaderiv(program, GL_LINK_STATUS, &success); writeln("GL_ERROR: ", glGetError()); Give me error 1282 // this one works fine. glGetShaderiv(shader, GL_COMPILE_STATUS, &success);

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 22:36:25 UTC, Chris Wright wrote: On Mon, 05 Dec 2016 15:46:44 +, D.Rex wrote: Do DLLs have to be marked executable? I seem to recall something like that. Okay, so I moved my source code and the glfw3 dll to my local machine and lo and behold it worked, so I

Re: Derelict

2016-12-05 Thread Chris Wright via Digitalmars-d
On Mon, 05 Dec 2016 15:46:44 +, D.Rex wrote: > My D source > code and the GLFW3.dll library are stored on a Linux file server Do DLLs have to be marked executable? I seem to recall something like that.

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 15:00:23 UTC, D.Rex wrote: On Monday, 5 December 2016 at 14:53:53 UTC, Mike Parker wrote: On Monday, 5 December 2016 at 14:53:53 UTC, Mike Parker wrote: Thanks for the help anyways, I shall look into this. Are you the creator of Derelict? If so do you have

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 14:53:53 UTC, Mike Parker wrote: On Monday, 5 December 2016 at 14:40:46 UTC, D.Rex wrote: OK, this has nothing to do with your code or with Derelict. When you get a SharedLibLoadException, the message it contains comes from the system. In this case, it's th

Re: Derelict

2016-12-05 Thread Mike Parker via Digitalmars-d
: derelict.util.exception.SharedLibLoadException@src\derelict-util\source\derelict\util\exception.d(35): Failed to load one or more shared libraries: glfw3.dll - Access is denied. OK, this has nothing to do with your code or with Derelict. When you get a SharedLibLoadException, the message it contains

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 13:54:01 UTC, Mike Parker wrote: On Monday, 5 December 2016 at 11:38:05 UTC, D.Rex wrote: Hi, I am sure this has been asked a thousand times before, but can anyone link me to a tutorial on how to set up derelict and GLFW3, I am trying to work on a project and I

Re: Derelict

2016-12-05 Thread Mike Parker via Digitalmars-d
On Monday, 5 December 2016 at 11:38:05 UTC, D.Rex wrote: Hi, I am sure this has been asked a thousand times before, but can anyone link me to a tutorial on how to set up derelict and GLFW3, I am trying to work on a project and I just can't get it set up regardless of how many times I

Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
Hi, I am sure this has been asked a thousand times before, but can anyone link me to a tutorial on how to set up derelict and GLFW3, I am trying to work on a project and I just can't get it set up regardless of how many times I read the derelict readme's. Also, if anyone knows o

Re: Derelict GLFW3 glfw3.dll error

2015-11-27 Thread extrawurst via Digitalmars-d
On Friday, 27 November 2015 at 18:37:13 UTC, Alexander wrote: import std.stdio; import derelict.opengl3.gl3; import derelict.glfw3.glfw3; pragma(lib, "C:\\Users\\Alexander\\AppData\\Roaming\\dub\\packages\\derelict-gl3-1.0.17\\lib\\DerelictGL3"); pragma(lib, "C:\\Users\\Ale

Derelict GLFW3 glfw3.dll error

2015-11-27 Thread Alexander via Digitalmars-d
import std.stdio; import derelict.opengl3.gl3; import derelict.glfw3.glfw3; pragma(lib, "C:\\Users\\Alexander\\AppData\\Roaming\\dub\\packages\\derelict-gl3-1.0.17\\lib\\DerelictGL3"); pragma(lib, "C:\\Users\\Alexander\\AppData\\Roaming\\dub\\packages\\derelict-glfw3-master\\lib

Re: D SFML2 derelict

2012-07-05 Thread Trass3r
compiled with: dmd hello.d rdmd hello.d

Re: D SFML2 derelict

2012-07-03 Thread Mike Parker
On Tuesday, 3 July 2012 at 14:10:42 UTC, strongdrink wrote: (First, sorry for not using code tags.. please let me know how to do them) :) Hey guys, I am fairly new to the D language... and am trying to compile a small D SFML2 program. I installed derelict and such already... Linux deskarch

D SFML2 derelict

2012-07-03 Thread strongdrink
(First, sorry for not using code tags.. please let me know how to do them) :) Hey guys, I am fairly new to the D language... and am trying to compile a small D SFML2 program. I installed derelict and such already... Linux deskarch 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012

Re: How to set up Derelict?

2012-04-03 Thread Trass3r
You should at least grab Derelict2 or Derelict3 (https://github.com/aldacron/Derelict3) - both work with dmd2. Exactly. And then just build your app with rdmd.

Re: How to set up Derelict?

2012-04-03 Thread David
Am 03.04.2012 13:52, schrieb DFGH: I used this link: http://h3.gd/dmedia/?n=Tutorials.SdlGlTutorial1, but when i execute the build command i'm receiving the following errors: c:\d\dmd2\src\ext\derelict\opengl\gl.d(114): use of typedef is deprecated; use a lias instead c:\d\dmd2\src\ext\der

How to set up Derelict?

2012-04-03 Thread DFGH
I used this link: http://h3.gd/dmedia/?n=Tutorials.SdlGlTutorial1, but when i execute the build command i'm receiving the following errors: c:\d\dmd2\src\ext\derelict\opengl\gl.d(114): use of typedef is deprecated; use a lias instead c:\d\dmd2\src\ext\derelict\opengl\gl.d(114): u

Re: Derelict+Tango

2009-09-07 Thread Robert Jacques
On Mon, 07 Sep 2009 02:56:09 -0400, Sam Hu wrote: Robert Jacques Wrote: Yes, checking against my copy of DFL, line 783 (the first error you listed) is a blank line. 'HWND' is first mentioned on line 791. So I think you are somehow importing the old DFL and not my patched version. Let me kno

Re: Derelict+Tango

2009-09-07 Thread Mike Parker
that the Tango 0.99.8 is the latest library version and now I can see http://www.dsource.org/projects/tango/browser/trunk has a newer code. I will try to compile that 'cause I want to use the latest DMD (1.047). Thank you for advice. I have one more question. Do you think that Derelict libr

Re: Derelict+Tango

2009-09-07 Thread Kamil Dabrowski
e DMD 1.045. > > > Well, I thought that the Tango 0.99.8 is the latest library version and now I > can see http://www.dsource.org/projects/tango/browser/trunk has a newer code. > I will try to compile that 'cause I want to use the latest DMD (1.047). Thank > you for advice.

Re: Derelict+Tango

2009-09-07 Thread Kamil Dabrowski
Daniel Keep Wrote: > If you're using DMD 1.045+ you need a > recent Tango trunk that you'll have to build yourself OR you'll have to > patch and build Tango 0.99.8 from source. > > That or downgrade to pre DMD 1.045. Well, I thought that the Tango 0.99.8 is the latest library version and now I

Re: Derelict+Tango

2009-09-07 Thread Sam Hu
Robert Jacques Wrote: > Yes, checking against my copy of DFL, line 783 (the first error you > listed) is a blank line. 'HWND' is first mentioned on line 791. So I think > you are somehow importing the old DFL and not my patched version. Let me > know if checking your import statements doesn't

Re: Derelict+Tango

2009-09-06 Thread Robert Jacques
On Sun, 06 Sep 2009 22:10:28 -0400, Sam wrote: Hi Robert, Thank you so much! I compiled the dfl.lib and dfl_debug.lib successfully just by ran makelib2.bat( altered to my d path accordinly).Now the 2 lib files were there right in dmd\windows\lib,the src files were in dmd\import.With belo

Re: Derelict+Tango

2009-09-06 Thread Sam
Hi Robert, Thank you so much! I compiled the dfl.lib and dfl_debug.lib successfully just by ran makelib2.bat( altered to my d path accordinly).Now the 2 lib files were there right in dmd\windows\lib,the src files were in dmd\import.With below code snippet: module d2; //: -dfl import dfl.all;

Re: Derelict+Tango

2009-09-06 Thread Sam
Silly me.I asked another ppl here wrongly asked you,Sorry!

Re: Derelict+Tango

2009-09-06 Thread Robert Jacques
On Sun, 06 Sep 2009 20:36:22 -0400, Sam wrote: To Jacob: Just wanna know whether you have upgraded your copy of DFL to dmd2032?If yes,can I ask for a copy again? Regards, Sam Hi Sam, I've upgraded my copy of DFL to DMD 2.032: Here's the patch https://jshare.johnshopkins.edu/xythoswfs/we

Re: Derelict+Tango

2009-09-06 Thread Sam
To Jacob: Just wanna know whether you have upgraded your copy of DFL to dmd2032?If yes,can I ask for a copy again? Regards, Sam

Re: Derelict+Tango

2009-09-06 Thread Daniel Keep
Kamil Dabrowski wrote: > Well, I'm trying to compile Derelict with Tango and I see the following > output from dmd: > > warning - io.File functionality has migrated to static functions within > io.device.File > buildme.d(176): Error: class buildme.Builder D compil

Re: Derelict+Tango

2009-09-06 Thread Jacob Carlborg
On 9/6/09 21:05, Moritz Warning wrote: On Sun, 06 Sep 2009 18:54:06 +, Moritz Warning wrote: [..] No rebuild rebuild required for this step. On a second look, I see that buildme.d uses bud (some older build tool for D). I can tell you how I install derelict "by hand": - do

Re: Derelict+Tango

2009-09-06 Thread Nick Sabalausky
"Kamil Dabrowski" wrote in message news:h80rj0$2kf...@digitalmars.com... > Well, I'm trying to compile Derelict with Tango and I see the following > output from dmd: > > My dmd1 folder lies near tango folder. DMD is the latest 1.047 version and > derelict r377 (a

Re: Derelict+Tango

2009-09-06 Thread Moritz Warning
On Sun, 06 Sep 2009 18:54:06 +, Moritz Warning wrote: [..] > > No rebuild rebuild required for this step. On a second look, I see that buildme.d uses bud (some older build tool for D). I can tell you how I install derelict "by hand": - download the trunk (zip ar

Re: Derelict+Tango

2009-09-06 Thread Moritz Warning
On Sun, 06 Sep 2009 13:30:08 -0400, Kamil Dabrowski wrote: > Well, I'm trying to compile Derelict with Tango and I see the following > output from dmd: [..] >I have also read that Tango environment can be compiled only using >Rebuild. So I do: > rebuild buildme.d I had a q

Derelict+Tango

2009-09-06 Thread Kamil Dabrowski
Well, I'm trying to compile Derelict with Tango and I see the following output from dmd: warning - io.File functionality has migrated to static functions within io.device.File buildme.d(176): Error: class buildme.Builder D compiler and phobos' object.d are mismatched buildme.d(2