??? I was really convinced that the WIN32 macro was set by default by 
the (VC) compiler.
Ok, but got it work thanks (had do dig a bit to find which and where 
where the needed opengl import libs)

>    These errors occour when include the OpenGL headers in Windows
> without the windows.h header being included first.
>
>    This code should be in glcube.c:
>
> #ifdef WIN32
> #include<windows.h>     /* includes only in MSWindows not in UNIX,
> needed by OpenGL in Windows */
> #endif
>
> Best,
> Scuri
>
>
> On Thu, Jun 12, 2014 at 1:55 PM, Joaquim Luis<[email protected]>  wrote:
>> Hi again
>>
>> Any idea why I'm getting these errors when trying to compile the opengl
>> examples?
>> But I was able to compile mathglsamples.c
>>
>> glcube.c
>> C:\Program Files (x86)\Windows Kits\8.1\include\um\GL/gl.h(1157) : error
>> C2054: expected '(' to follow 'WINGDIAPI'
>> C:\Program Files (x86)\Windows Kits\8.1\include\um\GL/gl.h(1157) : error
>> C2085: 'APIENTRY' : not in formal parameter list
>>
>> Win7 64 + VS2012 here
>>
>> Joaquim
>>
>> ------------------------------------------------------------------------------
>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>> Find What Matters Most in Your Big Data with HPCC Systems
>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>> Leverages Graph Analysis for Fast Processing&  Easy Data Exploration
>> http://p.sf.net/sfu/hpccsystems
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing&  Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to