GD



  • Hi Leute,
    arbeite mit PHP und brauche die GD Library. Nun habe ich mir den gewünschten Quellcode runtergeladen der in c geschrieben ist. Da wollt ich doch gleich mal die c Datei kompilieren und bekomme immer

    Nichtaufgeloestes externes Symbol

    Fehler in VC++.
    Nun, ich habe keinen blassen schimmer wie ich eine DLL Datei in VC++ compiliere. 😕 Kann mir einer vielleicht erklären wie es geht?



  • es gibt die gd schon für php vorgefertigt, so ich weiß, für windows sowieso, bei linux anders..

    aber zu deinem problem: bilder machen mit c++:

    hangel dich mal durch das manual..

    bei mir läuft die originalversion von boutell... auszug aus dem faq:

    For Windows, Mac, Et Cetera
    Create a project using your favorite programming environment. Copy all of the gd files to the project directory. Add gd.c to your project. Add other source files as appropriate. Learning the basic skills of creating projects with your chosen C environment is up to you.
    If you wish to test the library, type "make test" AFTER you have successfully executed "make install". This will build several test programs, including "gddemo". Run gddemo to see some of the capabilities of gd.
    gddemo should execute without incident, creating the file demoout.png. (Note there is also a file named demoin.png, which is provided in the package as part of the demonstration.)
    Display demoout.png in your PNG viewer. The image should be 128x128 pixels and should contain an image of the space shuttle with quite a lot of graphical elements drawn on top of it.
    (If you are missing the demoin.png file, the other items should appear anyway.)
    Look at demoin.png to see the original space shuttle image which was scaled and copied into the output image.

    du hast die libraries noch nicht hergestellt und in dein projekt eingebunden, sie heißen zum beispiel: libjpeg.lib gd.lib libpng.lib

    ich hatte sie damals einmal für den djgpp: mit suffix .a hergestellt, und fürs studio auch.

    viel spaß

    [ Dieser Beitrag wurde am 08.09.2002 um 11:12 Uhr von elise editiert. ]


Anmelden zum Antworten