09-11-2011, 05:12 PM
03-21-2012, 02:50 PM
I get these errors when compiling Penumbra. All other (HPL1, OALWrapper) compiled pefectly.
What to do?
Code:
1> OALWrapper.lib(OAL_Init.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>OALWrapper.lib(OAL_WAVSample.obj) : error LNK2001: unresolved external symbol __imp__alutUnloadWAV
1>OALWrapper.lib(OAL_WAVSample.obj) : error LNK2001: unresolved external symbol __imp__alutGetError
1>OALWrapper.lib(OAL_WAVSample.obj) : error LNK2001: unresolved external symbol __imp__alutLoadWAVFile
1>../redist/Penumbra.exe : fatal error LNK1120: 3 unresolved externals
03-21-2012, 02:55 PM
You aren't linking ti alut.lib. the recent "master" of OALWrapper has made some changes to optionally disable ALUT and wave loading.. Since you are compiling for Penumbra you will need to enable that by defining WITH_ALUT in the compile options and ensuring you link ALUT.lib from the depenedenceis zip
03-21-2012, 03:01 PM
Everything works now!
08-04-2012, 10:27 AM
Good afternoon.
I have some errors when I try to compile HPL1Engine and OALWrapper.
HPL1Engine error:
OALWrapper errors:
Do not tell me how to fix it?
I have some errors when I try to compile HPL1Engine and OALWrapper.
HPL1Engine error:
Code:
1>F:\Program Files\OvertureSource\OALWrapper\include\OALWrapper/OAL_Effect_Reverb.h(54): error C2065: 'AL_EFFECT_EAXREVERB' : undeclared identifier
OALWrapper errors:
Code:
1> OAL_OggSample.cpp
1>sources\OAL_OggSample.cpp(61): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
1> OAL_OggStream.cpp
1>sources\OAL_OggStream.cpp(154): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
1> OAL_WAVSample.cpp
1>sources\OAL_WAVSample.cpp(56): error C3861: 'alutLoadWAVFile': identifier not found
1>sources\OAL_WAVSample.cpp(58): error C3861: 'alutGetError': identifier not found
1>sources\OAL_WAVSample.cpp(61): error C2065: 'ALUT_ERROR_NO_ERROR' : undeclared identifier
1>sources\OAL_WAVSample.cpp(61): error C2051: case expression not constant
1>sources\OAL_WAVSample.cpp(66): warning C4065: switch statement contains 'default' but no 'case' labels
1>sources\OAL_WAVSample.cpp(73): error C3861: 'alutUnloadWAV': identifier not found
1>sources\OAL_WAVSample.cpp(74): error C3861: 'alutGetError': identifier not found
1>sources\OAL_WAVSample.cpp(87): error C3861: 'alutUnloadWAV': identifier not found
1>sources\OAL_WAVSample.cpp(88): error C3861: 'alutGetError': identifier not found
Do not tell me how to fix it?
08-04-2012, 02:54 PM
OAL Wrapper has gone through some slight changes since it was first released that make it no longer completely compatible with the stock penumbra source code.
You two options,
You need to replace the AL headers in the "dependencies" zip w/ the ones in OALWrapper (or just remove them from your "dependencies" folder). And you need to add a compile option of WITH_ALUT.
OR check out an older version of OALWrapper.
You two options,
You need to replace the AL headers in the "dependencies" zip w/ the ones in OALWrapper (or just remove them from your "dependencies" folder). And you need to add a compile option of WITH_ALUT.
OR check out an older version of OALWrapper.
08-05-2012, 05:14 AM
Quote: You need to replace the AL headers in the "dependencies" zip w/ the ones in OALWrapper (or just remove them from your "dependencies" folder). And you need to add a compile option of WITH_ALUT.
When I did it HPL1Engine compiles fine but OALWrapper still has an error:
Code:
1> OAL_OggSample.cpp
1>sources\OAL_OggSample.cpp(61): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
1> OAL_OggStream.cpp
1>sources\OAL_OggStream.cpp(154): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
1> OAL_WAVSample.cpp
Now it's all OK, thanks for help.
09-11-2012, 01:56 AM
Hello, I've tried using this guide to compile.
Issue I am having is I am receiving errors with Glee.c - errors posted below
I am utilizing Windows XP
Visual Studio 2008
Version 9.0.21022.8 RTM
If you guys could give me a hint as to what is happening I would greatly appreciate it.
Forgot to mention that this error happens when compiling the HPL1 engine. Haven't gone any farther yet.
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
GLee.c
.\sources\impl\GLee.c(746) : error C2061: syntax error : identifier 'GLee_Lazy_glBlendColor'
.\sources\impl\GLee.c(746) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(746) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(746) : error C2065: 'GLeeFuncPtr_glBlendColor' : undeclared identifier
.\sources\impl\GLee.c(751) : error C2061: syntax error : identifier 'GLeeFuncPtr_glBlendEquation'
.\sources\impl\GLee.c(751) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(751) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(756) : error C2061: syntax error : identifier 'GLeeFuncPtr_glDrawRangeElements'
.\sources\impl\GLee.c(756) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(756) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(761) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTable'
.\sources\impl\GLee.c(761) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(761) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(766) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTableParameterfv'
.\sources\impl\GLee.c(766) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(766) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(771) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTableParameteriv'
.\sources\impl\GLee.c(771) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(771) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(776) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyColorTable'
.\sources\impl\GLee.c(776) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(776) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(781) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTable'
.\sources\impl\GLee.c(781) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(781) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(786) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTableParameterfv'
.\sources\impl\GLee.c(786) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(786) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(791) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTableParameteriv'
.\sources\impl\GLee.c(791) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(791) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(796) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorSubTable'
.\sources\impl\GLee.c(796) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(796) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(801) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyColorSubTable'
.\sources\impl\GLee.c(801) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(801) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(806) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionFilter1D'
.\sources\impl\GLee.c(806) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(806) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(811) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionFilter2D'
.\sources\impl\GLee.c(811) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(811) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(816) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameterf'
.\sources\impl\GLee.c(816) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(816) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(821) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameterfv'
.\sources\impl\GLee.c(821) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(821) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(826) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameteri'
.\sources\impl\GLee.c(826) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(826) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(831) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameteriv'
.\sources\impl\GLee.c(831) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(831) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(836) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyConvolutionFilter1D'
.\sources\impl\GLee.c(836) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(836) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(841) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyConvolutionFilter2D'
.\sources\impl\GLee.c(841) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(841) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(846) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionFilter'
.\sources\impl\GLee.c(846) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(846) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(851) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionParameterfv'
.\sources\impl\GLee.c(851) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(851) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(856) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionParameteriv'
.\sources\impl\GLee.c(856) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(856) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(861) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetSeparableFilter'
.\sources\impl\GLee.c(861) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(861) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(866) : error C2061: syntax error : identifier 'GLeeFuncPtr_glSeparableFilter2D'
.\sources\impl\GLee.c(866) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(866) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(871) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogram'
.\sources\impl\GLee.c(871) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(871) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(876) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogramParameterfv'
.\sources\impl\GLee.c(876) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(876) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(881) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogramParameteriv'
.\sources\impl\GLee.c(881) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(881) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(886) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmax'
.\sources\impl\GLee.c(886) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(886) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(891) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmaxParameterfv'
.\sources\impl\GLee.c(891) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(891) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(896) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmaxParameteriv'
.\sources\impl\GLee.c(896) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(896) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(901) : error C2061: syntax error : identifier 'GLeeFuncPtr_glHistogram'
.\sources\impl\GLee.c(901) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(901) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(906) : error C2061: syntax error : identifier 'GLeeFuncPtr_glMinmax'
.\sources\impl\GLee.c(906) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(906) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(911) : error C2061: syntax error : identifier 'GLeeFuncPtr_glResetHistogram'
.\sources\impl\GLee.c(911) : fatal error C1003: error count exceeds 100; stopping compilation
Issue I am having is I am receiving errors with Glee.c - errors posted below
I am utilizing Windows XP
Visual Studio 2008
Version 9.0.21022.8 RTM
If you guys could give me a hint as to what is happening I would greatly appreciate it.
Forgot to mention that this error happens when compiling the HPL1 engine. Haven't gone any farther yet.
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
GLee.c
.\sources\impl\GLee.c(746) : error C2061: syntax error : identifier 'GLee_Lazy_glBlendColor'
.\sources\impl\GLee.c(746) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(746) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(746) : error C2065: 'GLeeFuncPtr_glBlendColor' : undeclared identifier
.\sources\impl\GLee.c(751) : error C2061: syntax error : identifier 'GLeeFuncPtr_glBlendEquation'
.\sources\impl\GLee.c(751) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(751) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(756) : error C2061: syntax error : identifier 'GLeeFuncPtr_glDrawRangeElements'
.\sources\impl\GLee.c(756) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(756) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(761) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTable'
.\sources\impl\GLee.c(761) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(761) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(766) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTableParameterfv'
.\sources\impl\GLee.c(766) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(766) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(771) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTableParameteriv'
.\sources\impl\GLee.c(771) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(771) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(776) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyColorTable'
.\sources\impl\GLee.c(776) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(776) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(781) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTable'
.\sources\impl\GLee.c(781) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(781) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(786) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTableParameterfv'
.\sources\impl\GLee.c(786) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(786) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(791) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTableParameteriv'
.\sources\impl\GLee.c(791) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(791) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(796) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorSubTable'
.\sources\impl\GLee.c(796) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(796) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(801) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyColorSubTable'
.\sources\impl\GLee.c(801) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(801) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(806) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionFilter1D'
.\sources\impl\GLee.c(806) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(806) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(811) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionFilter2D'
.\sources\impl\GLee.c(811) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(811) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(816) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameterf'
.\sources\impl\GLee.c(816) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(816) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(821) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameterfv'
.\sources\impl\GLee.c(821) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(821) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(826) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameteri'
.\sources\impl\GLee.c(826) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(826) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(831) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameteriv'
.\sources\impl\GLee.c(831) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(831) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(836) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyConvolutionFilter1D'
.\sources\impl\GLee.c(836) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(836) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(841) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyConvolutionFilter2D'
.\sources\impl\GLee.c(841) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(841) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(846) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionFilter'
.\sources\impl\GLee.c(846) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(846) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(851) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionParameterfv'
.\sources\impl\GLee.c(851) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(851) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(856) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionParameteriv'
.\sources\impl\GLee.c(856) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(856) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(861) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetSeparableFilter'
.\sources\impl\GLee.c(861) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(861) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(866) : error C2061: syntax error : identifier 'GLeeFuncPtr_glSeparableFilter2D'
.\sources\impl\GLee.c(866) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(866) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(871) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogram'
.\sources\impl\GLee.c(871) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(871) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(876) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogramParameterfv'
.\sources\impl\GLee.c(876) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(876) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(881) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogramParameteriv'
.\sources\impl\GLee.c(881) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(881) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(886) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmax'
.\sources\impl\GLee.c(886) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(886) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(891) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmaxParameterfv'
.\sources\impl\GLee.c(891) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(891) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(896) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmaxParameteriv'
.\sources\impl\GLee.c(896) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(896) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(901) : error C2061: syntax error : identifier 'GLeeFuncPtr_glHistogram'
.\sources\impl\GLee.c(901) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(901) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(906) : error C2061: syntax error : identifier 'GLeeFuncPtr_glMinmax'
.\sources\impl\GLee.c(906) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(906) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(911) : error C2061: syntax error : identifier 'GLeeFuncPtr_glResetHistogram'
.\sources\impl\GLee.c(911) : fatal error C1003: error count exceeds 100; stopping compilation
(09-11-2012, 01:56 AM)Vasator Wrote: [ -> ]Hello, I've tried using this guide to compile.I could kick myself. Just had to add the correct path to the beginning of GLee.c to point to the correct location of Glee.h - compiled correctly after that.
Issue I am having is I am receiving errors with Glee.c - errors posted below
I am utilizing Windows XP
Visual Studio 2008
Version 9.0.21022.8 RTM
If you guys could give me a hint as to what is happening I would greatly appreciate it.
Forgot to mention that this error happens when compiling the HPL1 engine. Haven't gone any farther yet.
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
GLee.c
.\sources\impl\GLee.c(746) : error C2061: syntax error : identifier 'GLee_Lazy_glBlendColor'
.\sources\impl\GLee.c(746) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(746) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(746) : error C2065: 'GLeeFuncPtr_glBlendColor' : undeclared identifier
.\sources\impl\GLee.c(751) : error C2061: syntax error : identifier 'GLeeFuncPtr_glBlendEquation'
.\sources\impl\GLee.c(751) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(751) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(756) : error C2061: syntax error : identifier 'GLeeFuncPtr_glDrawRangeElements'
.\sources\impl\GLee.c(756) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(756) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(761) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTable'
.\sources\impl\GLee.c(761) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(761) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(766) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTableParameterfv'
.\sources\impl\GLee.c(766) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(766) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(771) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorTableParameteriv'
.\sources\impl\GLee.c(771) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(771) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(776) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyColorTable'
.\sources\impl\GLee.c(776) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(776) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(781) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTable'
.\sources\impl\GLee.c(781) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(781) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(786) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTableParameterfv'
.\sources\impl\GLee.c(786) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(786) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(791) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetColorTableParameteriv'
.\sources\impl\GLee.c(791) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(791) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(796) : error C2061: syntax error : identifier 'GLeeFuncPtr_glColorSubTable'
.\sources\impl\GLee.c(796) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(796) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(801) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyColorSubTable'
.\sources\impl\GLee.c(801) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(801) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(806) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionFilter1D'
.\sources\impl\GLee.c(806) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(806) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(811) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionFilter2D'
.\sources\impl\GLee.c(811) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(811) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(816) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameterf'
.\sources\impl\GLee.c(816) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(816) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(821) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameterfv'
.\sources\impl\GLee.c(821) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(821) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(826) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameteri'
.\sources\impl\GLee.c(826) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(826) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(831) : error C2061: syntax error : identifier 'GLeeFuncPtr_glConvolutionParameteriv'
.\sources\impl\GLee.c(831) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(831) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(836) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyConvolutionFilter1D'
.\sources\impl\GLee.c(836) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(836) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(841) : error C2061: syntax error : identifier 'GLeeFuncPtr_glCopyConvolutionFilter2D'
.\sources\impl\GLee.c(841) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(841) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(846) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionFilter'
.\sources\impl\GLee.c(846) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(846) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(851) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionParameterfv'
.\sources\impl\GLee.c(851) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(851) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(856) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetConvolutionParameteriv'
.\sources\impl\GLee.c(856) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(856) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(861) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetSeparableFilter'
.\sources\impl\GLee.c(861) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(861) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(866) : error C2061: syntax error : identifier 'GLeeFuncPtr_glSeparableFilter2D'
.\sources\impl\GLee.c(866) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(866) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(871) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogram'
.\sources\impl\GLee.c(871) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(871) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(876) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogramParameterfv'
.\sources\impl\GLee.c(876) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(876) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(881) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetHistogramParameteriv'
.\sources\impl\GLee.c(881) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(881) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(886) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmax'
.\sources\impl\GLee.c(886) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(886) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(891) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmaxParameterfv'
.\sources\impl\GLee.c(891) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(891) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(896) : error C2061: syntax error : identifier 'GLeeFuncPtr_glGetMinmaxParameteriv'
.\sources\impl\GLee.c(896) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(896) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(901) : error C2061: syntax error : identifier 'GLeeFuncPtr_glHistogram'
.\sources\impl\GLee.c(901) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(901) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(906) : error C2061: syntax error : identifier 'GLeeFuncPtr_glMinmax'
.\sources\impl\GLee.c(906) : error C2059: syntax error : ';'
.\sources\impl\GLee.c(906) : error C2513: '/*global*/ ' : no variable declared before '='
.\sources\impl\GLee.c(911) : error C2061: syntax error : identifier 'GLeeFuncPtr_glResetHistogram'
.\sources\impl\GLee.c(911) : fatal error C1003: error count exceeds 100; stopping compilation
09-11-2012, 03:18 AM
(08-04-2012, 02:54 PM)Urkle Wrote: [ -> ]OAL Wrapper has gone through some slight changes since it was first released that make it no longer completely compatible with the stock penumbra source code.How do you add a compile option of WITH_ALUT. Seems to error out for me.
You two options,
You need to replace the AL headers in the "dependencies" zip w/ the ones in OALWrapper (or just remove them from your "dependencies" folder). And you need to add a compile option of WITH_ALUT.
OR check out an older version of OALWrapper.
09-11-2012, 11:04 PM
(09-11-2012, 03:18 AM)Vasator Wrote: [ -> ]Found out to do so you need to go into Properties-> C++-> Preprocessor-> in Definitions add WITH_ALUT(08-04-2012, 02:54 PM)Urkle Wrote: [ -> ]OAL Wrapper has gone through some slight changes since it was first released that make it no longer completely compatible with the stock penumbra source code.How do you add a compile option of WITH_ALUT. Seems to error out for me.
You two options,
You need to replace the AL headers in the "dependencies" zip w/ the ones in OALWrapper (or just remove them from your "dependencies" folder). And you need to add a compile option of WITH_ALUT.
OR check out an older version of OALWrapper.