GFLSDK - compiling examples

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

Moderators: helmut, XnTriq, xnview

Post Reply
Alex_the_g
Posts: 4
Joined: Mon Mar 17, 2008 2:07 pm

GFLSDK - compiling examples

Post by Alex_the_g »

Hello!

I downloades GFL SDK and tried to compile examples with MS VC++ 6.0.
But as I loaded workspace and start compiling - I got a lot off errors. Kind like that:
Compiling...
example.c
c:\gflsdk\include\libgfl.h(55) : error C2061: syntax error : identifier 'GFL_INT8'
c:\gflsdk\include\libgfl.h(55) : error C2059: syntax error : ';'
c:\gflsdk\include\libgfl.h(56) : error C2061: syntax error : identifier 'GFL_UINT8'
c:\gflsdk\include\libgfl.h(56) : error C2059: syntax error : ';'
c:\gflsdk\include\libgfl.h(57) : error C2061: syntax error : identifier 'GFL_INT16'
c:\gflsdk\include\libgfl.h(57) : error C2059: syntax error : ';'

and so on. 102 errors all over. Looks like I do something wrong. May you help me to find the problem????

Thanks
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: GFLSDK - compiling examples

Post by xnview »

WIN32 is defined?
Pierre.
Alex_the_g
Posts: 4
Joined: Mon Mar 17, 2008 2:07 pm

Re: GFLSDK - compiling examples

Post by Alex_the_g »

xnview wrote:WIN32 is defined?
Yes.
At least I tried to
#define WIN32 1

to exmple.c and got the same errors.
Which compiler do you recomend to use?
I'll try to reinstall GFLSDK but I think that the problem is easy but not obvious ;(

Thanks.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: GFLSDK - compiling examples

Post by xnview »

I have tried the example.dsp project with VC6, and no problem to build it

Do you have basetsd.h?
Pierre.
Alex_the_g
Posts: 4
Joined: Mon Mar 17, 2008 2:07 pm

Re: GFLSDK - compiling examples

Post by Alex_the_g »

xnview wrote:I have tried the example.dsp project with VC6, and no problem to build it

Do you have basetsd.h?
Yes, It is exist. And I may include it. Doesn't help.
Need more idea :-\
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: GFLSDK - compiling examples

Post by xnview »

Alex_the_g wrote:
xnview wrote:I have tried the example.dsp project with VC6, and no problem to build it

Do you have basetsd.h?
Yes, It is exist. And I may include it. Doesn't help.
Need more idea :-\
What is the value for INT8 in basestd.h?
Pierre.
Alex_the_g
Posts: 4
Joined: Mon Mar 17, 2008 2:07 pm

Re: GFLSDK - compiling examples

Post by Alex_the_g »

xnview wrote:
Alex_the_g wrote:
xnview wrote:I have tried the example.dsp project with VC6, and no problem to build it

Do you have basetsd.h?
Yes, It is exist. And I may include it. Doesn't help.
Need more idea :-\
What is the value for INT8 in basestd.h?
Confused. No definition of INT8 in basestd.h. And in all the folder \include\ of MSVCPP.
Then I remmed that part of lingfl.h and unremmed old part of that file with old definitions. At least, I built example. Now just need to test it.
Thanks.
Post Reply