New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Undefined symbols for architecture x86_64: error on Xcode


Post Reply New Thread Subscribe

 
Thread Tools
Bubbagump00

 
Member Since: Mar 19, 2012
Posts: 4
Bubbagump00 is on a distinguished road

Bubbagump00 is offline
Hi, I am using Xcode 4 and trying to set up FLTK 1.3.0 to run Bjarne Stroustrup's Chapter 12 FLTK Demo at the end of the chapter. I keep getting the following error when compiling, and have no idea where to go. I have an idea it might have to do with the linker flags, but I don't know what flag to add and where...

Here's the error:


Undefined symbols for architecture x86_64:
"Fl_JPEG_Image::Fl_JPEG_Image(char const*)", referenced from:
Graph_lib::Image::Image(Point, String, Graph_lib::Suffix::Encoding) in Graph.o
"Fl_GIF_Image::Fl_GIF_Image(char const*)", referenced from:
Graph_lib::Image::Image(Point, String, Graph_lib::Suffix::Encoding) in Graph.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
QUOTE Thanks
Mark FX

 
Mark FX's Avatar
 
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 168
Mark FX has a spectacular aura about

Mark FX is offline
Linker errors are usually associated with not being able to connect to the correct library, so check you
have included or imported the necessary framework or library.

sorry I can't be more help.

Regards Mark
QUOTE Thanks
Bubbagump00

 
Member Since: Mar 19, 2012
Posts: 4
Bubbagump00 is on a distinguished road

Bubbagump00 is offline
Thanks for the reply. I think the error may be due to using code originally written for FLTK version 1.1, whereas I am trying to run that code with FLTK 1.3...
QUOTE Thanks

Post Reply New Thread Subscribe


« Where to save text files on macosx | Programming Language Enviroment »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
-macosx_version_min,10.5 & Undefined symbols __Unwind_Resume colinhercus OS X - Development and Darwin 0 01-27-2010 11:10 PM
/usr/bin/ld: Undefined symbols kipepeo OS X - Development and Darwin 1 05-24-2007 07:52 PM

All times are GMT -4. The time now is 04:03 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?