Guest Syed Report post Posted January 2, 2006 Hi, I am trying to compile the Map Editor but I am getting numerous errors on this code: #ifndef LINUX //extensions extern PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB; extern PFNGLMULTITEXCOORD2FVARBPROC glMultiTexCoord2fvARB; extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB; extern PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB; #endif Seems to be problem with OpenGL Extensions. I have downloaded the current extension from SGI website ... but still the problem exists. The modified date for the glext.h is 20-June-2005 and its size is 327 KB. Can any one please help me out here ... ? Or if any of you guys have the right file can you please send it to me ? Regards, Syed Share this post Link to post Share on other sites
Guest Syed Report post Posted January 2, 2006 Following is the output from the build log of Microsoft Visual Studio .NET 2003: ------ Build started: Project: map_editor, Configuration: Release Win32 ------Compiling... tile_map.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' tile_map.c(68) : warning C4013: 'glActiveTextureARB' undefined; assuming extern returning int tile_map.c(92) : warning C4013: 'glMultiTexCoord2fARB' undefined; assuming extern returning int shadows.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' shadows.c(175) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data shadows.c(176) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data shadows.c(191) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data shadows.c(251) : warning C4013: 'glActiveTextureARB' undefined; assuming extern returning int reflection.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' map_io.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' main.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' lights.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' lights.c(351) : warning C4305: 'initializing' : truncation from 'double' to 'GLfloat' lights.c(351) : warning C4305: 'initializing' : truncation from 'double' to 'GLfloat' lights.c(351) : warning C4305: 'initializing' : truncation from 'double' to 'GLfloat' lights.c(542) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data lights.c(543) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data interface.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' interface.c(109) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data interface.c(111) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data interface.c(112) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data interface.c(116) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data interface.c(117) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data interface.c(705) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data interface.c(706) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data interface.c(707) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data interface.c(708) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data interface.c(729) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data interface.c(730) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data interface.c(731) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data interface.c(732) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data interface.c(802) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data interface.c(803) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data interface.c(866) : warning C4244: 'function' : conversion from 'int' to 'GLfloat', possible loss of data interface.c(866) : warning C4244: 'function' : conversion from 'int' to 'GLfloat', possible loss of data interface.c(866) : warning C4244: 'function' : conversion from 'int' to 'GLfloat', possible loss of data interface.c(888) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(888) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(889) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(889) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(891) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(891) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(892) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data interface.c(892) : warning C4244: 'function' : conversion from 'float' to 'GLint', possible loss of data init.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' init.c(97) : warning C4013: 'chdir' undefined; assuming extern returning int init.c(161) : error C2065: 'glActiveTextureARB' : undeclared identifier init.c(161) : error C2065: 'PFNGLACTIVETEXTUREARBPROC' : undeclared identifier init.c(161) : error C2146: syntax error : missing ';' before identifier 'SDL_GL_GetProcAddress' init.c(161) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(161) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(161) : error C2143: syntax error : missing ';' before 'identifier' init.c(162) : error C2065: 'glMultiTexCoord2fARB' : undeclared identifier init.c(162) : error C2065: 'PFNGLMULTITEXCOORD2FARBPROC' : undeclared identifier init.c(162) : error C2146: syntax error : missing ';' before identifier 'SDL_GL_GetProcAddress' init.c(162) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(162) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(162) : error C2143: syntax error : missing ';' before 'identifier' init.c(163) : error C2065: 'glMultiTexCoord2fvARB' : undeclared identifier init.c(163) : error C2065: 'PFNGLMULTITEXCOORD2FVARBPROC' : undeclared identifier init.c(163) : error C2146: syntax error : missing ';' before identifier 'SDL_GL_GetProcAddress' init.c(163) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(163) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(163) : error C2143: syntax error : missing ';' before 'identifier' init.c(164) : error C2065: 'glClientActiveTextureARB' : undeclared identifier init.c(164) : error C2065: 'PFNGLCLIENTACTIVETEXTUREARBPROC' : undeclared identifier init.c(164) : error C2146: syntax error : missing ';' before identifier 'SDL_GL_GetProcAddress' init.c(164) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(164) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' init.c(164) : error C2143: syntax error : missing ';' before 'identifier' global.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' global.c(176) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' global.c(176) : error C2059: syntax error : ';' global.c(176) : error C2513: '/*global*/ ' : no variable declared before '=' global.c(177) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' global.c(177) : error C2059: syntax error : ';' global.c(177) : error C2513: '/*global*/ ' : no variable declared before '=' global.c(178) : error C2061: syntax error : identifier 'glActiveTextureARB' global.c(178) : error C2059: syntax error : ';' global.c(178) : error C2513: '/*global*/ ' : no variable declared before '=' global.c(179) : error C2061: syntax error : identifier 'glClientActiveTextureARB' global.c(179) : error C2059: syntax error : ';' global.c(179) : error C2513: '/*global*/ ' : no variable declared before '=' frustum.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' frustum.c(243) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data events.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' events.c(142) : warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data events.c(143) : warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data events.c(159) : warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data events.c(160) : warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data events.c(177) : warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data events.c(178) : warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data events.c(196) : warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data events.c(197) : warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data events.c(636) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data events.c(638) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data events.c(640) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data errors.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' draw_scene.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' draw_scene.c(157) : warning C4146: unary minus operator applied to unsigned type, result still unsigned draw_scene.c(157) : warning C4552: '-' : operator has no effect; expected operator with side-effect colors.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' asc.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' asc.c(141) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data asc.c(229) : warning C4018: '>=' : signed/unsigned mismatch 3d_objects.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' 3d_objects.c(155) : warning C4013: 'glClientActiveTextureARB' undefined; assuming extern returning int 3d_objects.c(386) : warning C4013: 'glActiveTextureARB' undefined; assuming extern returning int 3d_objects.c(686) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(687) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(688) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(814) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(814) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(815) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(815) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(818) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(818) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(820) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(820) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(823) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(823) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(824) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(824) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(878) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(878) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(878) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(890) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(891) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(892) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(893) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(949) : warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(963) : warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(989) : warning C4244: 'initializing' : conversion from 'float' to 'unsigned char', possible loss of data 3d_objects.c(1009) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1009) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1009) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1009) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1010) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1010) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1010) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1010) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1011) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1011) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1011) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1011) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1012) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1012) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1012) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1012) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1013) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1013) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1013) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1013) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1014) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1014) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1014) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1014) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1015) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1015) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1015) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1015) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1016) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1016) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1016) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1016) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1017) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1017) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1017) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1017) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1018) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1018) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1018) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1018) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1019) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1019) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1019) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1019) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1020) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1020) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1020) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1020) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1048) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1048) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1048) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data 3d_objects.c(1060) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(1061) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(1062) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 3d_objects.c(1063) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data 2d_objects.c g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2061: syntax error : identifier 'glMultiTexCoord2fARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(161) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2061: syntax error : identifier 'glMultiTexCoord2fvARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(162) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2061: syntax error : identifier 'glActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(163) : error C2059: syntax error : ';' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2061: syntax error : identifier 'glClientActiveTextureARB' g:\My Projects\Eternal Lands\Source Code\map_editor\global.h(164) : error C2059: syntax error : ';' 2d_objects.c(88) : warning C4013: 'glActiveTextureARB' undefined; assuming extern returning int 2d_objects.c(96) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(100) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(101) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(105) : warning C4013: 'glMultiTexCoord2fARB' undefined; assuming extern returning int 2d_objects.c(111) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(112) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(122) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(123) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(133) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2d_objects.c(134) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data Build log was saved at "file://g:\My Projects\Eternal Lands\Source Code\map_editor\Release\BuildLog.htm" map_editor - 172 error(s), 147 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped Regards, Syed Share this post Link to post Share on other sites
Wytter Report post Posted January 2, 2006 (edited) The map-editor is currently unmaintained (it's been discontinued). You should try compiling map_editor2; although not completely done, it is functional. You could however try removing those defines... Edited January 2, 2006 by Wytter Share this post Link to post Share on other sites
Learner Report post Posted January 2, 2006 Check where you are including things to see if maybe it's including old headers instead of the new ones you downloaded. Also, check in the opengl headers for the defines it is complaining about to see if they are actually in there. Share this post Link to post Share on other sites
Zep Report post Posted January 2, 2006 Map editor fails for me on linux with... ../elc/elconfig.c ../elc/elconfig.c: In function `init_vars': ../elc/elconfig.c:974: error: `use_clipboard' undeclared (first use in this function) ../elc/elconfig.c:974: error: (Each undeclared identifier is reported only once ../elc/elconfig.c:974: error: for each function it appears in.) make: *** [elconfig.o] Error 1 on win32 font.c: In function `get_font_char': font.c:45: error: `UUML' undeclared (first use in this function) font.c:45: error: (Each undeclared identifier is reported only once font.c:45: error: for each function it appears in.) font.c:65: error: `UGRAVE' undeclared (first use in this function) Anyway, Ive got to covert over that part of the daily builds eventually. Share this post Link to post Share on other sites