![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 6
Rep Power: 0
![]() |
C++ compiler with latest library
When i tried to add latest library to my current compiler (2003 visual studio's 6.0) it gave me alot of errors when i tried to use them. If someone could point me to an up to date compiler that would be great
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
what kind of errors are you getting? C++ hasnt changed much since VS6, and it should be able to deal with any libraries your trying to use.
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Feb 2005
Posts: 6
Rep Power: 0
![]() |
Can't list the errors right now because i can't get my compiler to start up (gona uninstall + reinstall then i'll try again) this is the class i'm trying to use with it though
http://msdn.microsoft.com/library/de...ntoGDIPlus.asp |
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Nov 2004
Posts: 250
Rep Power: 4
![]() |
Are you linking with gdiplus.lib?
>2003 visual studio's 6.0 The Visual Studio that came out in 2003 is wildly different from Visual Studio 6. It's commonly called Visual Studio 7, but the correct name is Visual Studio .NET 2003. The libraries and compiler proper changed quite a bit to better conform with the C++ standard. However, to use GDI+, it should not matter whether you are using Visual Studio 6 or Visual Studio .NET. I would guess that you aren't linking with the library. ![]() |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Feb 2005
Posts: 6
Rep Power: 0
![]() |
Probly not, this is the first time i've ever worked with anything like this. Could you explain how to link to a library?
|
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: Nov 2004
Posts: 250
Rep Power: 4
![]() |
How you go about adding new libraries to the linker depends on the version of your compiler. If you are using the one I think you are then you go to Project, Properties, Linker, and Command Line. Under the Additional Options text box, add gdiplus.lib.
|
|
|
|
|
|
#7 |
|
Newbie
Join Date: Feb 2005
Posts: 6
Rep Power: 0
![]() |
It was project/settings/link in my compiler but i still get the error:
c:\misc\functest.cpp(3) : fatal error C1083: Cannot open include file: 'gdiplus.h': No such file or directory Should i put gdiplus.h in my include folder? I'm sorry for all the nooby questions |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|