VisualD import

Rainer Schuetze r.sagitario at gmx.de
Wed Sep 11 13:36:34 PDT 2013



On 11.09.2013 18:13, Lemonfiend wrote:
> Oops, I forgot to say what I actually did.
>
> I added derelict to Compiler->General->Additional Imports.
>
> The code is just this:
>
> module main;
>
> import std.stdio;
> import derelict.opengl3.gl3;
>
> void main()
> {
>      writeln("Hello D-World!");
> }
>
>
> And the build output is a symbol undefined linker issue:
>
> ------ Rebuild All started: Project: Test, Configuration: Debug Win32
> ------
> Building Debug\Test.exe...
> OPTLINK (R) for Win32  Release 8.00.12
> Copyright (C) Digital Mars 1989-2010  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> Debug\Test.obj(Test)
>   Error 42: Symbol Undefined _D8derelict7opengl33gl312__ModuleInfoZ
> Building Debug\Test.exe failed!
> Details saved as "file://C:\D\Test\Test\Debug\Test.buildlog.html"
> Build time: 3 s
> Solution build stopped.
> Build has been canceled.

Did you add the derelict library/libraries as linker inputs?


More information about the Digitalmars-d-learn mailing list