10-04-2008 15:03
Compiling the viewer I get a few error messages when running the develop.py script.
From: someone

[1] C:/SL/Cool/linden/indra/lscript/lscript_library/CMakeLists.txt
CMake Error: Error in cmake code at
C:/SL/Cool/linden/indra/lscript/lscript_library/CMakeLists.txt:6:
INCLUDE Could not find include file: LScript
Current CMake stack:
[1] C:/SL/Cool/linden/indra/lscript/lscript_library/CMakeLists.txt
-- Configuring done
Cleaning 'build-vc71'
Traceback (most recent call last):
File "develop.py", line 688, in <module>
main(sys.argv[1:])
File "develop.py", line 658, in main
setup.run_cmake()
File "develop.py", line 527, in run_cmake
PlatformSetup.run_cmake(self, args)
File "develop.py", line 156, in run_cmake
self.run(cmd, 'cmake')
File "develop.py", line 523, in run
(name, ret))
__main__.CommandError: the command 'cmake' exited with -1


This usually occurs for any of the includes in the CMakeLists.txt, so might try pulling them out even if they a necessary.

Second issue I have is when trying to go around cmake since it isn't an official way to compile yet. Going into newview, and trying to build the source from there, will error out with "cannot find newview.exe"

PS: On Win XP SP3 and using VS2003, oh and is for the 1.20 viewer source

Thanks.
Vasile

Update: Cmake only for the 1.21 onwards viewer source and the newview.exe vanished, stuck in ambiguous hell at the moment which is just lovely.