On Wednesday, 13 June 2012 at 13:03:04 UTC, Zhenya wrote:
When I wanted to use native opengl binding
module main;
import std.stdio;
import c.gl.gl;
pragma(lib,"opengl32.lib");
import c.gl.glu;
pragma(lib,"glu32.lib");
int main(string[] argv)
{
writeln("Hello D-World!");
return 0;
}
DM
On Wednesday, 13 June 2012 at 14:05:46 UTC, Denis Shelomovskij
wrote:
13.06.2012 17:53, Zhenya пишет:
Те которые с DMC идут он проглотит
Да. В FAQ есть ссылка на coff2omf, но он
проприетарный. Может помочь coffimplib:
http://www.digitalmars.com/ctg/coffimplib.html
ftp://ftp.digitalmars.com/c
13.06.2012 17:53, Zhenya пишет:
Те которые с DMC идут он проглотит
Да. В FAQ есть ссылка на coff2omf, но он проприетарный. Может помочь
coffimplib:
http://www.digitalmars.com/ctg/coffimplib.html
ftp://ftp.digitalmars.com/coffimplib.zip
--
Денис В. Шеломовский
Denis V. Shelomovskij
On Wednesday, 13 June 2012 at 13:44:51 UTC, Zhenya wrote:
On Wednesday, 13 June 2012 at 13:16:20 UTC, Denis Shelomovskij
wrote:
13.06.2012 17:03, Zhenya пишет:
When I wanted to use native opengl binding
...
DMD wrote:opengl32.lib
Error 43: Not a Valid Library File
But why can't dmd link it?
On Wednesday, 13 June 2012 at 13:16:20 UTC, Denis Shelomovskij
wrote:
13.06.2012 17:03, Zhenya пишет:
When I wanted to use native opengl binding
...
DMD wrote:opengl32.lib
Error 43: Not a Valid Library File
But why can't dmd link it?
http://dlang.org/faq.html#omf
Cпасибо=)
А не подскажеш
13.06.2012 17:03, Zhenya пишет:
When I wanted to use native opengl binding
...
DMD wrote:opengl32.lib
Error 43: Not a Valid Library File
But why can't dmd link it?
http://dlang.org/faq.html#omf
--
Денис В. Шеломовский
Denis V. Shelomovskij
When I wanted to use native opengl binding
module main;
import std.stdio;
import c.gl.gl;
pragma(lib,"opengl32.lib");
import c.gl.glu;
pragma(lib,"glu32.lib");
int main(string[] argv)
{
writeln("Hello D-World!");
return 0;
}
DMD wrote:opengl32.lib
Error 43: Not a Valid Library File
B