Started to get 'Previous Definition Different' linking errors when compiling in debug mode

MrSmith mrsmith33 at yandex.ru
Sun May 19 04:37:52 PDT 2013


I am using Derelict for my GUI project and after moving to the 
newest version i am getting following errors.

These errors are occuring in debug mode only.

Here is the log from Xamarin studio:

Building: guitest (Debug)
Performing main compilation...
Current dictionary: C:\Documents\Projects\voxel\guitest

C:\D\dmd2\windows\bin\dmd.exe -debug -gc "main.d" "fpshelper.d" 
"..\deps\lib\DerelictGLFW3.lib" "..\deps\lib\DerelictGL3.lib" 
"..\deps\lib\DerelictUtil.lib" "..\deps\lib\DerelictFI.lib" 
"..\deps\lib\DerelictFT.lib" 
"C:\Documents\Projects\voxel\dlib\bin\Debug\dlibd.lib" 
"C:\Documents\Projects\voxel\gui\bin\guid.lib" 
"C:\Documents\Projects\voxel\lib\Debug\libUtilsd.lib" 
"C:\Documents\Projects\voxel\lib\Debug\libCore.lib" 
"-IC:\D\dmd2\src\druntime\import" "-IC:\D\dmd2\src\phobos" 
"-I..\.." "-I..\deps" "-IC:\Documents\Projects\voxel\core" 
"-IC:\Documents\Projects\voxel\utils" 
"-IC:\Documents\Projects\voxel\gui" 
"-IC:\Documents\Projects\voxel\dlib" "-odobj\Debug" 
"-ofC:\Documents\Projects\voxel\guitest\bin\guitestd.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
C:\Documents\Projects\voxel\lib\Debug\libCore.lib(object)  Offset 
0570FH Record Type 0091
  Error 1: Previous Definition Different : 
_D42C:\D\dmd2\src\druntime\import\object.di.4812__ModuleInfoZ
C:\Documents\Projects\voxel\lib\Debug\libCore.lib(object)  Offset 
05815H Record Type 00C3
  Error 1: Previous Definition Different : 
_D42C:\D\dmd2\src\druntime\import\object.di.487__arrayZ
C:\Documents\Projects\voxel\lib\Debug\libCore.lib(object)  Offset 
05847H Record Type 00C3
  Error 1: Previous Definition Different : 
_D42C:\D\dmd2\src\druntime\import\object.di.488__assertFiZv
C:\Documents\Projects\voxel\lib\Debug\libCore.lib(object)  Offset 
05879H Record Type 00C3
  Error 1: Previous Definition Different : 
_D42C:\D\dmd2\src\druntime\import\object.di.4815__unittest_failFiZv
--- errorlevel 4



More information about the Digitalmars-d-learn mailing list