![]() |
JKO's Guide to compiling Penumbra - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html) +--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html) +--- Thread: JKO's Guide to compiling Penumbra (/thread-3592.html) |
RE: JKO's Guide to compiling Penumbra - ThinkinBoutBacon - 09-11-2011 I don't seem to have a HPL1Engine/lib folder ![]() RE: JKO's Guide to compiling Penumbra - Jack1 - 03-21-2012 I get these errors when compiling Penumbra. All other (HPL1, OALWrapper) compiled pefectly. 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 RE: JKO's Guide to compiling Penumbra - Urkle - 03-21-2012 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 RE: JKO's Guide to compiling Penumbra - Jack1 - 03-21-2012 Everything works now! ![]() RE: JKO's Guide to compiling Penumbra - Dominion - 08-04-2012 Good afternoon. 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 Do not tell me how to fix it? RE: JKO's Guide to compiling Penumbra - Urkle - 08-04-2012 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. RE: JKO's Guide to compiling Penumbra - Dominion - 08-05-2012 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 Now it's all OK, thanks for help. RE: JKO's Guide to compiling Penumbra - Vasator - 09-11-2012 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.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. RE: JKO's Guide to compiling Penumbra - Vasator - 09-11-2012 (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. RE: JKO's Guide to compiling Penumbra - Vasator - 09-11-2012 (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. |