[sldev] files missing from svn in maint-render-7?

azdel slade secondloop at gmail.com
Sat Aug 23 02:44:00 PDT 2008


Ok, take 2 trying to compile with cmake.

I got visual studio 2005 pro. I have to correct my staement yesterday,
microsoft's "dreamspark" program does allow students to download
visual studio 2008 an 2005. I must've tried to use visual C++ express
to save download time.

So while configuring with develop.py, I got an error about
CMakeLists.txt for llrender and newview referring to cpp files that
were missing. To be able to continue, I commented them out. But now,
I'm getting linker errors, of course. Can folks direct me to where I
should get these files from?

The problem files are:

llcubemap.cpp
llpostprocess.cpp
llrendersphere.cpp
llshadermgr.cpp

I double checked, trying to svn update, and still don't have these files.

and I get these linker errors, as expected:

Linking...
llrender.lib(llrender.obj) : error LNK2001: unresolved external symbol
"public: static bool LLCubeMap::sUseCubeMaps"
(?sUseCubeMaps at LLCubeMap@@2_NA)
llappviewer.obj : error LNK2001: unresolved external symbol "public:
static bool LLCubeMap::sUseCubeMaps" (?sUseCubeMaps at LLCubeMap@@2_NA)
lldrawpoolwater.obj : error LNK2001: unresolved external symbol
"public: static bool LLCubeMap::sUseCubeMaps"
(?sUseCubeMaps at LLCubeMap@@2_NA)
llpaneldisplay.obj : error LNK2001: unresolved external symbol
"public: static bool LLCubeMap::sUseCubeMaps"
(?sUseCubeMaps at LLCubeMap@@2_NA)
llvosky.obj : error LNK2001: unresolved external symbol "public:
static bool LLCubeMap::sUseCubeMaps" (?sUseCubeMaps at LLCubeMap@@2_NA)
llappviewer.obj : error LNK2019: unresolved external symbol "public:
static void __cdecl LLPostProcess::cleanupClass(void)"
(?cleanupClass at LLPostProcess@@SAXXZ) referenced in function "public:
virtual bool __thiscall LLAppViewer::cleanup(void)"
(?cleanup at LLAppViewer@@UAE_NXZ)
lldrawpoolbump.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::enable(int)"
(?enable at LLCubeMap@@QAEXH at Z) referenced in function "public: void
__thiscall LLDrawPoolBump::beginShiny(bool)"
(?beginShiny at LLDrawPoolBump@@QAEX_N at Z)
lldrawpoolwater.obj : error LNK2001: unresolved external symbol
"public: void __thiscall LLCubeMap::enable(int)"
(?enable at LLCubeMap@@QAEXH at Z)
lldrawpoolbump.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::enableTextureCoords(int)"
(?enableTextureCoords at LLCubeMap@@QAEXH at Z) referenced in function
"public: void __thiscall LLDrawPoolBump::beginShiny(bool)"
(?beginShiny at LLDrawPoolBump@@QAEX_N at Z)
lldrawpoolbump.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::enableTexture(int)"
(?enableTexture at LLCubeMap@@QAEXH at Z) referenced in function "public:
void __thiscall LLDrawPoolBump::beginShiny(bool)"
(?beginShiny at LLDrawPoolBump@@QAEX_N at Z)
pipeline.obj : error LNK2001: unresolved external symbol "public: void
__thiscall LLCubeMap::enableTexture(int)"
(?enableTexture at LLCubeMap@@QAEXH at Z)
lldrawpoolbump.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::setMatrix(int)"
(?setMatrix at LLCubeMap@@QAEXH at Z) referenced in function "public: void
__thiscall LLDrawPoolBump::beginShiny(bool)"
(?beginShiny at LLDrawPoolBump@@QAEX_N at Z)
lldrawpoolbump.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::restoreMatrix(void)"
(?restoreMatrix at LLCubeMap@@QAEXXZ) referenced in function "public:
void __thiscall LLDrawPoolBump::endShiny(bool)"
(?endShiny at LLDrawPoolBump@@QAEX_N at Z)
lldrawpoolbump.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::disable(void)"
(?disable at LLCubeMap@@QAEXXZ) referenced in function "public: void
__thiscall LLDrawPoolBump::endShiny(bool)"
(?endShiny at LLDrawPoolBump@@QAEX_N at Z)
lldrawpoolwater.obj : error LNK2001: unresolved external symbol
"public: void __thiscall LLCubeMap::disable(void)"
(?disable at LLCubeMap@@QAEXXZ)
lldrawpoolwater.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLCubeMap::bind(void)"
(?bind at LLCubeMap@@QAEXXZ) referenced in function "public: virtual void
__thiscall LLDrawPoolWater::render(int)"
(?render at LLDrawPoolWater@@UAEXH at Z)
llfloaterpostprocess.obj : error LNK2001: unresolved external symbol
"class LLPostProcess * gPostProcess"
(?gPostProcess@@3PAVLLPostProcess@@A)
llfloaterpostprocess.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLPostProcess::setSelectedEffect(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?setSelectedEffect at LLPostProcess@@QAEXABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
referenced in function "public: static void __cdecl
LLFloaterPostProcess::onLoadEffect(void *)"
(?onLoadEffect at LLFloaterPostProcess@@SAXPAX at Z)
llfloaterpostprocess.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLPostProcess::saveEffect(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?saveEffect at LLPostProcess@@QAEXABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
referenced in function "public: static void __cdecl
LLFloaterPostProcess::onSaveEffect(void *)"
(?onSaveEffect at LLFloaterPostProcess@@SAXPAX at Z)
llglsandbox.obj : error LNK2019: unresolved external symbol "public:
void __thiscall LLRenderSphere::render(float)"
(?render at LLRenderSphere@@QAEXM at Z) referenced in function "public: void
__thiscall LLAgent::renderAutoPilotTarget(void)"
(?renderAutoPilotTarget at LLAgent@@QAEXXZ)
llhudeffectbeam.obj : error LNK2001: unresolved external symbol
"public: void __thiscall LLRenderSphere::render(float)"
(?render at LLRenderSphere@@QAEXM at Z)
llviewerwindow.obj : error LNK2001: unresolved external symbol
"public: void __thiscall LLRenderSphere::render(float)"
(?render at LLRenderSphere@@QAEXM at Z)
llglsandbox.obj : error LNK2001: unresolved external symbol "class
LLRenderSphere gSphere" (?gSphere@@3VLLRenderSphere@@A)
llhudeffectbeam.obj : error LNK2019: unresolved external symbol "class
LLRenderSphere gSphere" (?gSphere@@3VLLRenderSphere@@A) referenced in
function __ehhandler$?unpackData at LLHUDEffectBeam@@MAEXPAVLLMessageSystem@@H at Z
llviewerjoint.obj : error LNK2001: unresolved external symbol "class
LLRenderSphere gSphere" (?gSphere@@3VLLRenderSphere@@A)
llviewerwindow.obj : error LNK2001: unresolved external symbol "class
LLRenderSphere gSphere" (?gSphere@@3VLLRenderSphere@@A)
llstartup.obj : error LNK2019: unresolved external symbol "public:
static void __cdecl LLPostProcess::initClass(void)"
(?initClass at LLPostProcess@@SAXXZ) referenced in function "int __cdecl
idle_startup(void)" (?idle_startup@@YAHXZ)
llviewerjoint.obj : error LNK2019: unresolved external symbol "public:
void __thiscall LLRenderSphere::render(void)"
(?render at LLRenderSphere@@QAEXXZ) referenced in function "public: void
__thiscall LLViewerJointCollisionVolume::renderCollision(void)"
(?renderCollision at LLViewerJointCollisionVolume@@QAEXXZ)
llviewershadermgr.obj : error LNK2019: unresolved external symbol
"public: virtual __thiscall LLShaderMgr::~LLShaderMgr(void)"
(??1LLShaderMgr@@UAE at XZ) referenced in function "public: virtual
__thiscall LLViewerShaderMgr::~LLViewerShaderMgr(void)"
(??1LLViewerShaderMgr@@UAE at XZ)
llviewershadermgr.obj : error LNK2019: unresolved external symbol
"public: __thiscall LLShaderMgr::LLShaderMgr(void)"
(??0LLShaderMgr@@QAE at XZ) referenced in function "public: __thiscall
LLViewerShaderMgr::LLViewerShaderMgr(void)"
(??0LLViewerShaderMgr@@QAE at XZ)
llviewershadermgr.obj : error LNK2001: unresolved external symbol
"protected: static class LLShaderMgr * LLShaderMgr::sInstance"
(?sInstance at LLShaderMgr@@1PAV1 at A)
llviewershadermgr.obj : error LNK2019: unresolved external symbol
"public: unsigned int __thiscall LLShaderMgr::loadShaderFile(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,int &,unsigned int)"
(?loadShaderFile at LLShaderMgr@@QAEIABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@AAHI at Z)
referenced in function "public: int __thiscall
LLViewerShaderMgr::loadBasicShaders(void)"
(?loadBasicShaders at LLViewerShaderMgr@@QAEHXZ)
llrender.lib(llglslshader.obj) : error LNK2001: unresolved external
symbol "public: unsigned int __thiscall
LLShaderMgr::loadShaderFile(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,int
&,unsigned int)"
(?loadShaderFile at LLShaderMgr@@QAEIABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@AAHI at Z)
llviewerwindow.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLRenderSphere::prerender(void)"
(?prerender at LLRenderSphere@@QAEXXZ) referenced in function "public:
void __thiscall LLViewerWindow::initGLDefaults(void)"
(?initGLDefaults at LLViewerWindow@@QAEXXZ)
llviewerwindow.obj : error LNK2019: unresolved external symbol
"public: void __thiscall LLRenderSphere::cleanupGL(void)"
(?cleanupGL at LLRenderSphere@@QAEXXZ) referenced in function "private:
void __thiscall LLViewerWindow::stopGL(int)"
(?stopGL at LLViewerWindow@@AAEXH at Z)
llvosky.obj : error LNK2019: unresolved external symbol "public:
__thiscall LLCubeMap::LLCubeMap(void)" (??0LLCubeMap@@QAE at XZ)
referenced in function "public: void __thiscall
LLVOSky::initCubeMap(void)" (?initCubeMap at LLVOSky@@QAEXXZ)
llvosky.obj : error LNK2019: unresolved external symbol "public: void
__thiscall LLCubeMap::init(class std::vector<class LLPointer<class
LLImageRaw>,class std::allocator<class LLPointer<class LLImageRaw> > >
const &)" (?init at LLCubeMap@@QAEXABV?$vector at V?$LLPointer at VLLImageRaw@@@@V?$allocator at V?$LLPointer at VLLImageRaw@@@@@std@@@std@@@Z)
referenced in function "public: void __thiscall
LLVOSky::initCubeMap(void)" (?initCubeMap at LLVOSky@@QAEXXZ)
llvosky.obj : error LNK2019: unresolved external symbol "public: void
__thiscall LLCubeMap::destroyGL(void)" (?destroyGL at LLCubeMap@@QAEXXZ)
referenced in function "public: void __thiscall
LLVOSky::cleanupGL(void)" (?cleanupGL at LLVOSky@@QAEXXZ)
pipeline.obj : error LNK2019: unresolved external symbol "public:
unsigned int __thiscall LLCubeMap::getGLName(void)"
(?getGLName at LLCubeMap@@QAEIXZ) referenced in function "public: void
__thiscall LLPipeline::generateReflectionMap(class LLCubeMap *,class
LLCamera &)" (?generateReflectionMap at LLPipeline@@QAEXPAVLLCubeMap@@AAVLLCamera@@@Z)
pipeline.obj : error LNK2019: unresolved external symbol "public: void
__thiscall LLCubeMap::setReflection(void)"
(?setReflection at LLCubeMap@@QAEXXZ) referenced in function "public:
void __thiscall LLPipeline::generateReflectionMap(class LLCubeMap
*,class LLCamera &)"
(?generateReflectionMap at LLPipeline@@QAEXPAVLLCubeMap@@AAVLLCamera@@@Z)
llrender.lib(llglslshader.obj) : error LNK2019: unresolved external
symbol "public: int __thiscall LLShaderMgr::attachShaderFeatures(class
LLGLSLShader *)"
(?attachShaderFeatures at LLShaderMgr@@QAEHPAVLLGLSLShader@@@Z)
referenced in function "public: int __thiscall
LLGLSLShader::createShader(class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > *,class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > *)"
(?createShader at LLGLSLShader@@QAEHPAV?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@0 at Z)
llrender.lib(llglslshader.obj) : error LNK2019: unresolved external
symbol "public: static class LLShaderMgr * __cdecl
LLShaderMgr::instance(void)" (?instance at LLShaderMgr@@SAPAV1 at XZ)
referenced in function "public: int __thiscall
LLGLSLShader::createShader(class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > *,class std::vector<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > > > *)"
(?createShader at LLGLSLShader@@QAEHPAV?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@0 at Z)
llrender.lib(llglslshader.obj) : error LNK2019: unresolved external
symbol "public: int __thiscall LLShaderMgr::linkProgramObject(unsigned
int,int)" (?linkProgramObject at LLShaderMgr@@QAEHIH at Z) referenced in
function "public: int __thiscall LLGLSLShader::link(int)"
(?link at LLGLSLShader@@QAEHH at Z)
C:\src\maint-render-7\indra\build-vc80\newview\RelWithDebInfo\secondlife-bin.exe
: fatal error LNK1120: 30 unresolved externals
Build log was saved at
"file://c:\src\maint-render-7\indra\build-vc80\newview\secondlife-bin.dir\RelWithDebInfo\BuildLog.htm"
secondlife-bin - 44 error(s), 0 warning(s)
------ Skipped Build: Project: ALL_BUILD, Configuration:
RelWithDebInfo Win32 ------
Project not selected to build for this solution configuration
------ Skipped Build: Project: server, Configuration: RelWithDebInfo
Win32 ------
Project not selected to build for this solution configuration
------ Skipped Build: Project: viewer, Configuration: RelWithDebInfo
Win32 ------
Project not selected to build for this solution configuration
========== Build: 0 succeeded, 2 failed, 23 up-to-date, 3 skipped ==========


Any suggestions here would be greatly appreciated...

thanks,

  azdel


More information about the SLDev mailing list