Page 1 of 1

GFLSDK - compiling examples

Posted: Mon Mar 17, 2008 2:12 pm
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

Re: GFLSDK - compiling examples

Posted: Mon Mar 17, 2008 5:00 pm
by xnview
WIN32 is defined?

Re: GFLSDK - compiling examples

Posted: Tue Mar 18, 2008 7:34 am
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.

Re: GFLSDK - compiling examples

Posted: Tue Mar 18, 2008 9:40 am
by xnview
I have tried the example.dsp project with VC6, and no problem to build it

Do you have basetsd.h?

Re: GFLSDK - compiling examples

Posted: Tue Mar 18, 2008 10:52 am
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 :-\

Re: GFLSDK - compiling examples

Posted: Tue Mar 18, 2008 1:19 pm
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?

Re: GFLSDK - compiling examples

Posted: Tue Mar 18, 2008 1:30 pm
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.