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


JKO's Guide to compiling Penumbra
ThinkinBoutBacon Offline
Junior Member

Posts: 3
Threads: 1
Joined: Sep 2011
Reputation: 0
#21
RE: JKO's Guide to compiling Penumbra

I don't seem to have a HPL1Engine/lib folder Sad
(This post was last modified: 09-11-2011, 05:16 PM by ThinkinBoutBacon.)
09-11-2011, 05:12 PM
Find
Jack1 Offline
Junior Member

Posts: 25
Threads: 12
Joined: Dec 2011
Reputation: 0
#22
RE: JKO's Guide to compiling Penumbra

I get these errors when compiling Penumbra. All other (HPL1, OALWrapper) compiled pefectly.
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
What to do?
03-21-2012, 02:50 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#23
RE: JKO's Guide to compiling Penumbra

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

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
03-21-2012, 02:55 PM
Website Find
Jack1 Offline
Junior Member

Posts: 25
Threads: 12
Joined: Dec 2011
Reputation: 0
#24
RE: JKO's Guide to compiling Penumbra

Everything works now! Big Grin
(This post was last modified: 05-07-2012, 01:00 PM by Jack1.)
03-21-2012, 03:01 PM
Find
Dominion Offline
Junior Member

Posts: 3
Threads: 0
Joined: May 2012
Reputation: 0
#25
RE: JKO's Guide to compiling Penumbra

Good afternoon.
I have some errors when I try to compile HPL1Engine and OALWrapper.

HPL1Engine error:
1>F:\Program Files\OvertureSource\OALWrapper\include\OALWrapper/OAL_Effect_Reverb.h(54): error C2065: 'AL_EFFECT_EAXREVERB' : undeclared identifier

OALWrapper errors:
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, 10:27 AM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#26
RE: JKO's Guide to compiling Penumbra

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.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
08-04-2012, 02:54 PM
Website Find
Dominion Offline
Junior Member

Posts: 3
Threads: 0
Joined: May 2012
Reputation: 0
#27
RE: JKO's Guide to compiling Penumbra

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:
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.
(This post was last modified: 08-05-2012, 01:54 PM by Dominion.)
08-05-2012, 05:14 AM
Find
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#28
RE: JKO's Guide to compiling Penumbra

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

(09-11-2012, 01:56 AM)Vasator Wrote: 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
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.
(This post was last modified: 09-11-2012, 02:26 AM by Vasator.)
09-11-2012, 01:56 AM
Find
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#29
RE: JKO's Guide to compiling Penumbra

(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.

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.
How do you add a compile option of WITH_ALUT. Seems to error out for me.
09-11-2012, 03:18 AM
Find
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#30
RE: JKO's Guide to compiling Penumbra

(09-11-2012, 03:18 AM)Vasator Wrote:
(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.

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.
How do you add a compile option of WITH_ALUT. Seems to error out for me.
Found out to do so you need to go into Properties-> C++-> Preprocessor-> in Definitions add WITH_ALUT
09-11-2012, 11:04 PM
Find




Users browsing this thread: 1 Guest(s)