On 12.05.2012 0:56, WhatMeWorry wrote:
I've been trying to compile the DerelictGL and finally got it to compile
cleanly. But now the linker is complaining.

I've been "searching" for hours for these definitions and I feel like
I've just been going around in circles.

What is a novice to do? Is this just something I am supposed to know
before hand?


Looks like you are trying to link. Libraries are not linked they are just compiled. Then object files are put together into library file.
Link produces *executable* (yeah I recall that was hard to get at first).

C:\D\dmd2\windows\bin\link.exe gl,,nul,user32+kernel32/noi;
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
gl.obj(gl)
Error 42: Symbol Undefined __d_framehandler
gl.obj(gl)
Error 42: Symbol Undefined __d_throwc
gl.obj(gl)
Error 42: Symbol Undefined __tls_array
gl.obj(gl)
Error 42: Symbol Undefined _D8derelict4util7wrapper9toDStringFPaZAa
gl.obj(gl)
Error 42: Symbol Undefined _D9Exception7__ClassZ
gl.obj(gl)
Error 42: Symbol Undefined _glGetString
gl.obj(gl)
Error 42: Symbol Undefined _D8derelict4util7wrapper7findStrFAaAaZi
gl.obj(gl)
Error 42: Symbol Undefined _wglGetCurrentContext
gl.obj(gl)
Error 42: Symbol Undefined _D11TypeInfo_Aa6__initZ
gl.obj(gl)
Error 42: Symbol Undefined
_D8derelict4util9exception17DerelictException7__ClassZ
gl.obj(gl)
Error 42: Symbol Undefined __d_arraycatnT
gl.obj(gl)
Error 42: Symbol Undefined _D12TypeInfo_Aya6__initZ
gl.obj(gl)


--
Dmitry Olshansky

Reply via email to