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)
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
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
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("
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
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);
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
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.
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
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
:
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
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
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
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
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
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
compiled with:
dmd hello.d
rdmd hello.d
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
(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
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.
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
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
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
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
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.
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
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
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
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;
Silly me.I asked another ppl here wrongly asked you,Sorry!
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
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
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
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
"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
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
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
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
38 matches
Mail list logo