Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 22nd, 2005, 11:14 PM   #1
Elijahph
Newbie
 
Join Date: Feb 2005
Posts: 6
Rep Power: 0 Elijahph is on a distinguished road
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
Elijahph is offline   Reply With Quote
Old Feb 23rd, 2005, 2:47 AM   #2
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
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.
ZenMasterJG is offline   Reply With Quote
Old Feb 23rd, 2005, 12:24 PM   #3
Elijahph
Newbie
 
Join Date: Feb 2005
Posts: 6
Rep Power: 0 Elijahph is on a distinguished road
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
Elijahph is offline   Reply With Quote
Old Feb 23rd, 2005, 3:00 PM   #4
Eggbert
Professional Programmer
 
Eggbert's Avatar
 
Join Date: Nov 2004
Posts: 250
Rep Power: 4 Eggbert is on a distinguished road
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.
Eggbert is offline   Reply With Quote
Old Feb 23rd, 2005, 11:42 PM   #5
Elijahph
Newbie
 
Join Date: Feb 2005
Posts: 6
Rep Power: 0 Elijahph is on a distinguished road
Probly not, this is the first time i've ever worked with anything like this. Could you explain how to link to a library?
Elijahph is offline   Reply With Quote
Old Feb 24th, 2005, 6:33 PM   #6
Eggbert
Professional Programmer
 
Eggbert's Avatar
 
Join Date: Nov 2004
Posts: 250
Rep Power: 4 Eggbert is on a distinguished road
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.
Eggbert is offline   Reply With Quote
Old Feb 26th, 2005, 1:50 PM   #7
Elijahph
Newbie
 
Join Date: Feb 2005
Posts: 6
Rep Power: 0 Elijahph is on a distinguished road
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
Elijahph is offline   Reply With Quote
Old Feb 26th, 2005, 8:47 PM   #8
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
You should.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:40 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC