Mario Meissner
2017-06-19 10:50:20 UTC
Hello everyone.
I'm Mario Meissner, I have been elected to work for BRLCAD during the
summer, in case SOCIS happens. Apparently, they are having administrative
issues and the start of the coding period has been delayed. Anyway I
decided to at least set myself up and start on my own.
I'm trying to set up a Windows working environment, building with the MinGW
compiler tools and CMake with Eclipse as a target since it's the IDE I have
currently installed.
Steps I performed:
svn checkout svn://svn.code.sf.net/p/brlcad/code/brlcad/trunk brlcad-svn-trunk
Open cmake gui
configure... eclipse cdt4 mingw makefiles, use default native compilers
This is how it looks like: Loading Image...![](https://brlcad-devel.narkive.com/8SPLCxcS/problems-while-building-on-windows:i.1.1.thumb)
a long test script runs, and errors occur at the end.
In particular, the errors that seem to break the configuration process
are the following:
CMake Error at CMakeLists.txt:2738 (file):
file failed to open for reading (No such file or directory):
C:/Users/Mario/Desktop/brlcad/bin/CMakeTmp/BRLCAD_BUILD_HOST
CMake Error at CMakeLists.txt:2739 (string):
string sub-command STRIP requires two arguments.
I can confirm that there are several files inside cmaketmp, including
BRLCAD_BUILD_COUNT and BRLCAD_BUILD_USER.
However, no BRLCAD_BUILD_HOST file.
The second error is probably related to the first one. Here is the line
that fails inside cmakelists:
file(READ "${BRLCAD_HOSTNAME_FILE}" BRLCAD_COMPILE_HOST)
string(STRIP ${BRLCAD_COMPILE_HOST} BRLCAD_COMPILE_HOST)
DISTCLEAN("${BRLCAD_HOSTNAME_FILE}")
It's surely failing because of the previous error where the file was not
found.
Here are the trace files it generated, in case you need extra information.
https://transfer.sh/O32GJ/CMakeOutput.log
https://transfer.sh/27Qo8/CMakeError.log
Loading Image...![](https://brlcad-devel.narkive.com/8SPLCxcS/problems-while-building-on-windows:i.1.2.thumb)
Thank you in advance for helping me out,
and I apologize for my incompetence.
Mario.
I'm Mario Meissner, I have been elected to work for BRLCAD during the
summer, in case SOCIS happens. Apparently, they are having administrative
issues and the start of the coding period has been delayed. Anyway I
decided to at least set myself up and start on my own.
I'm trying to set up a Windows working environment, building with the MinGW
compiler tools and CMake with Eclipse as a target since it's the IDE I have
currently installed.
Steps I performed:
svn checkout svn://svn.code.sf.net/p/brlcad/code/brlcad/trunk brlcad-svn-trunk
Open cmake gui
configure... eclipse cdt4 mingw makefiles, use default native compilers
This is how it looks like: Loading Image...
a long test script runs, and errors occur at the end.
In particular, the errors that seem to break the configuration process
are the following:
CMake Error at CMakeLists.txt:2738 (file):
file failed to open for reading (No such file or directory):
C:/Users/Mario/Desktop/brlcad/bin/CMakeTmp/BRLCAD_BUILD_HOST
CMake Error at CMakeLists.txt:2739 (string):
string sub-command STRIP requires two arguments.
I can confirm that there are several files inside cmaketmp, including
BRLCAD_BUILD_COUNT and BRLCAD_BUILD_USER.
However, no BRLCAD_BUILD_HOST file.
The second error is probably related to the first one. Here is the line
that fails inside cmakelists:
file(READ "${BRLCAD_HOSTNAME_FILE}" BRLCAD_COMPILE_HOST)
string(STRIP ${BRLCAD_COMPILE_HOST} BRLCAD_COMPILE_HOST)
DISTCLEAN("${BRLCAD_HOSTNAME_FILE}")
It's surely failing because of the previous error where the file was not
found.
Here are the trace files it generated, in case you need extra information.
https://transfer.sh/O32GJ/CMakeOutput.log
https://transfer.sh/27Qo8/CMakeError.log
Loading Image...
Thank you in advance for helping me out,
and I apologize for my incompetence.
Mario.