www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GdiPlus

reply Polis <Polis_member pathlink.com> writes:
I am trying to convert the GdiPlus in D, but I keep getting this error:

E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
test,,,user32+kernel32/noi;
Jul 10 2006
next sibling parent Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
Polis wrote:
 I am trying to convert the GdiPlus in D, but I keep getting this error:
 
 E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
 test,,,user32+kernel32/noi;
b.. b.. but .. it's not an error o_0 it's just what dmd runs to link object files... -- Tomasz Stachowiak /+ a.k.a. h3r3tic +/
Jul 10 2006
prev sibling next sibling parent reply jcc7 <jcc7_member pathlink.com> writes:
In article <e8tq9k$1atj$1 digitaldaemon.com>, Polis says...
I am trying to convert the GdiPlus in D, but I keep getting this error:

E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
test,,,user32+kernel32/noi;
Are you sure that's an error message? To me, that message indicates that your code was successfully compiled. jcc7
Jul 10 2006
parent reply Dave <Dave_member pathlink.com> writes:
jcc7 wrote:
 In article <e8tq9k$1atj$1 digitaldaemon.com>, Polis says...
 I am trying to convert the GdiPlus in D, but I keep getting this error:

 E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
 test,,,user32+kernel32/noi;
Are you sure that's an error message? To me, that message indicates that your code was successfully compiled. jcc7
Try the -quiet switch to get rid of that.
Jul 10 2006
parent Polis <Polis_member pathlink.com> writes:
Try the -quiet switch to get rid of that.
Oh sorry it didn't copy the important part of the message: test.obj(test) Error 42: Symbol Undefined __init_3std7windows7gdiplus7gdiplus8Graphics test.obj(test) Error 42: Symbol Undefined _D3std7windows7gdiplus11gdiplusbase11GdiplusBase3newFkZPv --- errorlevel 2
Jul 10 2006
prev sibling parent reply Polis <Polis_member pathlink.com> writes:
In article <e8tq9k$1atj$1 digitaldaemon.com>, Polis says...
I am trying to convert the GdiPlus in D, but I keep getting this error:

E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
test,,,user32+kernel32/noi;
Sorry it wasn't the full message: E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe test,,,E:\Programmieren\DFrontend\dm\lib\gdiplus.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved test.obj(test) Error 42: Symbol Undefined __init_3std7windows7gdiplus7gdiplus8Graphics test.obj(test) Error 42: Symbol Undefined _D3std7windows7gdiplus11gdiplusbase11GdiplusBase3newFkZPv --- errorlevel 2 this was the complete message
Jul 10 2006
next sibling parent jcc7 <jcc7_member pathlink.com> writes:
In article <e8tu3h$1g3q$1 digitaldaemon.com>, Polis says...
In article <e8tq9k$1atj$1 digitaldaemon.com>, Polis says...
I am trying to convert the GdiPlus in D, but I keep getting this error:

E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
test,,,user32+kernel32/noi;
Sorry it wasn't the full message: E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe test,,,E:\Programmieren\DFrontend\dm\lib\gdiplus.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved test.obj(test) Error 42: Symbol Undefined __init_3std7windows7gdiplus7gdiplus8Graphics test.obj(test) Error 42: Symbol Undefined _D3std7windows7gdiplus11gdiplusbase11GdiplusBase3newFkZPv --- errorlevel 2 this was the complete message
I'm still not sure what the problem is (since I don't really know what you're trying to compile), but it's probably related to one of the problems listed on this page: http://www.prowiki.org/wiki4d/wiki.cgi?ErrorMessages/LinkerErrors Are you referring to external functions in your code that aren't provided in a lib that you provide in the command line? That's my guess of what the problem is. jcc7
Jul 10 2006
prev sibling parent pragma <pragma_member pathlink.com> writes:
In article <e8tu3h$1g3q$1 digitaldaemon.com>, Polis says...
In article <e8tq9k$1atj$1 digitaldaemon.com>, Polis says...
I am trying to convert the GdiPlus in D, but I keep getting this error:

E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe
test,,,user32+kernel32/noi;
Sorry it wasn't the full message: E:\Programmieren\DFrontend\dmd\bin\..\..\dm\bin\link.exe test,,,E:\Programmieren\DFrontend\dm\lib\gdiplus.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved test.obj(test) Error 42: Symbol Undefined __init_3std7windows7gdiplus7gdiplus8Graphics test.obj(test) Error 42: Symbol Undefined _D3std7windows7gdiplus11gdiplusbase11GdiplusBase3newFkZPv --- errorlevel 2 this was the complete message
What this means is that the linker could not find the following symbols: - (module) std.windows.gdiplus.Graphics - void std.windows.gdiplus.gdiplubase.GdiplusBase.new() The linker line above shows that only test.obj and gdiplus.lib are the only libraries being sent to the linker (aside from phobos, kernel32 and user32). Are you using build? If not, then you need to throw your gdiplus D-conversion objects/libraries on the command line along with everything else. - EricAnderton at yahoo
Jul 10 2006