I have a problem with Builder

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
Sergey

I have a problem with Builder

Post by Sergey »

I have read this posts:
http://newsgroup.xnview.com/viewtopic.php?t=967
and this
http://newsgroup.xnview.com/viewtopic.p ... ht=builder

then I'm doing next

Project/Options/Directories&Conditionals
include path
added: gflSdk/c++/obsolete // also i tryed to add gflSdk/c++
added: gflSdk/include
lib path
added: gflsdk\lib
then I have created libraries with implib using parameters -a -c (b_libgfl240.lib and b_libgfle240.lib) and added them to project
then I also have included gflw.h
then I also have added C++ wrapper to project

Conditional defines:
i have tryed _DEBUG and WIN32

I have completly new project with this code executed with button pressed:

Code: Select all

GFLW_LIBRARY::Initialise();
AnsiString ver = gflGetVersion();
When I compile my project I get these linker errors:
Unresolved extenral 'gflLibraryInit' referenced from unit1.obj
Unresolved extenral 'gflGetVersion' referenced from unit1.obj

What's wrong?
Thanks in advance...
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Post by MaierMan »

You need to add the actual .lib files.
Either add them to the Project.
Or use a pragma in some unit to link them:

Code: Select all

#pragma link "b_libgfl240.lib"
...
Post Reply