milliams wrote:
I've now pushed the changes. It removed quite a few lines of CMake code which is nice. You can ignore the various 'merge' commit messages that were pushed, that was just me playing with git-flow locally (it works quite nicely).
Almost perfect... I just had to change one instance of PolyVoxUtilStatic to PolyVoxUtil. Guess this just slipped though but it's fixed now.
There is a remaining problem which I haven't mentioned yet and I think I need to look into it a bit myself. For a long time I've always had to run 'cmake ..'
twice when generating Visual Studio solutions from a fresh build. The first time I run 'cmake ..' I get the following error as part of the output:
Quote:
-- Detecting CXX compiler ABI info
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDet
ermineCompilerABI.cmake:31 (TRY_COMPILE):
Cannot copy output executable
''
to destination specified by COPY_FILE:
'C:/code/polyvox/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'
Unable to find the executable at any of:
C:/code/polyvox/build/CMakeFiles/CMakeTmp/cmTryCompileExec.exe
C:/code/polyvox/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe
C:/code/polyvox/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.
cmake:64 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:3 (PROJECT)
The interesting thing is, I have two development machines (one with Python/SWIG and the other without) and I've always had this on both machine until recently. But one of the commits you made in the last week fixed this error for the machine without SWIG/Python, so now that machine works properly.
I'm going to go back and try to identify exactly which commit resolved the problem, then we see try and work out why it was an issue and see if something similar needs to be changed in the Python/SWIG part.
I'll let you know when I've done some investigation.