Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-19-2008, 12:20 AM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 3
Default Drawing issues

Has anybody run into this? I am trying to draw a graph using Quartz 2d, but whenever I attempt to draw using any of the Quartz 2d drawing functions, I get build errors. I am not doing anything fancy, and the errors are not much help.

For example: "_CGContextSetRGBFillColor", referenced from:
-[myView drawRect] in myView.o"
prestobots is offline   Reply With Quote
Old 08-19-2008, 12:30 AM   #2 (permalink)
I live @ iDevKit.com
 
Join Date: Jul 2008
Posts: 142
Default

The errors would help others trying to help you

Make sure you have CoreGraphics framework being imported into your project.


Max
mxweas is offline   Reply With Quote
Old 08-19-2008, 02:22 AM   #3 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 5
Talking

Heh i got the exact same errors when i didn't have the CoreGraphics framework applied to my project.
ForcedToCode is offline   Reply With Quote
Old 08-19-2008, 03:43 AM   #4 (permalink)
Registered Member
 
Jume's Avatar
 
Join Date: Jul 2008
Location: Slovenia, EU
Posts: 264
Send a message via Skype™ to Jume
Default

Quote:
Originally Posted by ForcedToCode View Post
Heh i got the exact same errors when i didn't have the CoreGraphics framework applied to my project.
Try clean all targets under build menu and then build again... it happened to me to when I added core graphics framework to my project... Uhh and don't forget to add QuartzCore.framework as well.

BR,
Jume
Jume is offline   Reply With Quote
Reply

Bookmarks

Tags
errors, graph, iphone, quartz

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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 261
22 members and 239 guests
@sandris, AdamL, ADY, Dani77, diyora, FAED, fredidf, F_Bryant, GHuebner, HDshot, headkaze, mer10, Oral B, prchn4christ, Rudy, smithdale87, stekki, tgjorgoski, Thompson22, Touchmint, twerner, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,752
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:00 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0