Sign in to follow this  
programmer88

libgd Mac OS X

Recommended Posts

OK guys hows it hanging? Just went through a horrible ordeal of compiling gd along with its dependencies (on snow Lepoard) I'm writing an extremely simple fractal generator and I get this malarky from the linker:
g++ -headerpad_max_install_names -arch i386 -o mandy2 main.o -F/Library/Frameworks -L/Library/Frameworks -framework QtGui -framework QtCore
Undefined symbols:
"_gdImagePng", referenced from:
_main in main.o
"_gdImageColorAllocate", referenced from:
_main in main.o
"_gdImageCreate", referenced from:
_main in main.o
"_gdImageSetPixel", referenced from:
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mandy2] Error 1
Obviously its having trouble finding the library but im stuck here. Compiling with qmake and qt creator.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this