<br><br><div class="gmail_quote">2012/1/5 Raivo F. <span dir="ltr"><<a href="mailto:raivof@gmail.com">raivof@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
I'm new to D programming language, altough have solid background in other languages.<br>
<br>
Currently I struggle with setting up simple OpenGL application.<br>
<br>
I found D/OpenGL package called GLAD:<br>
<a href="http://code.google.com/p/glapid/" target="_blank">http://code.google.com/p/glapid/</a><br>
<br>
First, it didn't include necessary opengl32.lib file, however, luckily I found it in another OpenGL/D package.<br>
<br>
So now I can build without missing OpenGL symbol links BUT now I get some really weird errors, I have no idea, why:<br>
<br>
Debug\test1.obj(test1)<br>
 Error 42: Symbol Undefined _D4glad14glFrameContext7__ClassZ<br>
Debug\test1.obj(test1)<br>
 Error 42: Symbol Undefined _D4glad14glFrameContext6__ctorMFPvG2iZC4glad14glFrameContext<br>
Debug\test1.obj(test1)<br>
 Error 42: Symbol Undefined _D4glad14glFrameContext6__initZ<br>
Debug\test1.obj(test1)<br>
 Error 42: Symbol Undefined _D4glad12__ModuleInfoZ<br>
Debug\test1.obj(test1)<br>
 Error 42: Symbol Undefined _D4glad14glVersionError7__ClassZ<br>
--- errorlevel 5<br>
Building Debug\test1.exe failed!<br>
<br>
<br>
I think this OpenGL support should be easy setup-and-go , but now I'm scared of the problems.<br>
<br>
I quickly tried other OpenGL/D packages but without results. I'll try again.<br></blockquote><div> </div></div>Just tried - sample code builds fine. Symbols you are missing should be in file glad.d, don't forget to compile it with your project. May be problems with line 253 of that file - just comment it for now, later replace with CT processing.