The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Compiler error
MasterKira Offline
Junior Member

Posts: 7
Threads: 3
Joined: Feb 2011
Reputation: 0
#1
Compiler error

I followed all the things to create HPL.lib, but... on the compiling step of my compiler I obtain this error, repeated like thousands times for every identifier:

1>Generazione del codice in corso...
1>Compilazione in corso...
1>GLee.c
1>c:\users\user\desktop\overture\hplengine\sources\impl\glee.c(746) : error C2061: errore di sintassi: identificatore 'GLeeFuncPtr_glBlendColor'
1>c:\users\user\desktop\overture\hplengine\sources\impl\glee.c(746) : error C2059: errore di sintassi: ';'
1>c:\users\user\desktop\overture\hplengine\sources\impl\glee.c(746) : error C2513: '/*global*/ ': nessuna variabile dichiarata prima di '='

This is the fragment code of Glee.c
...
/* GL_VERSION_1_2 */

#ifdef __GLEE_GL_VERSION_1_2
#ifndef GLEE_C_DEFINED_glBlendColor
#define GLEE_C_DEFINED_glBlendColor
  void __stdcall GLee_Lazy_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)  {if (GLeeInit()) glBlendColor(red, green, blue, alpha);}
  GLEEPFNGLBLENDCOLORPROC GLeeFuncPtr_glBlendColor=GLee_Lazy_glBlendColor;
#endif
...
but as I say, for all written in that c file make me this error.

I use Visual Studio 2005, OALWrapper downloaded in the guide is for VS2010 so i used OALWrapper lib from this thread:
http://www.frictionalgames.com/forum/thread-3379.html

But with or without this lib the error is the same... so i dont think this is the real issue.

So...
Why i obtain this errors?
Now i need HPL.lib but if I dont resolve this issues i cant... i hope for your help.
Thanks a lot Blush
02-01-2011, 06:56 PM
Find


Messages In This Thread
Compiler error - by MasterKira - 02-01-2011, 06:56 PM
RE: Compiler error - by Urkle - 02-01-2011, 07:18 PM
RE: Compiler error - by MasterKira - 02-01-2011, 07:26 PM



Users browsing this thread: 1 Guest(s)