Re: [brlcad-devel] Problems while building on Windows
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Mario M. <mr....@gm...> - 2017-06-19 19:39:59
|
I've been able to build successfully with VS Tools. Awaiting further instructions to get started. Mario. 2017-06-19 16:43 GMT+02:00 Daniel Roßberg <dan...@gm...>: > Hi Mario, > > I'm not aware of a successful BRL-CAD build with MinGW. All attempts > I know about got stuck during the CMake configuration, as you did. > What you could do is > - Use MS Visual Studio > - Use Linux in a virtual machine (there is an image among the BRL-CAD > downloads) > - Fix BRL-CAD's CMake files (not recommended if you aren't fit in writing > them) > > Therefore, I'm afraid the answer is negative. > > > Regards, > Daniel > > 2017-06-19 12:50 GMT+02:00 Mario Meissner <mr....@gm...>: > > 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: http://i.imgur.com/CMNnICz.png > > > > 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 > > http://i.imgur.com/6ZRiFyu.png > > > > Thank you in advance for helping me out, > > and I apologize for my incompetence. > > Mario. > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > BRL-CAD Developer mailing list > > brl...@li... > > https://lists.sourceforge.net/lists/listinfo/brlcad-devel > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > BRL-CAD Developer mailing list > brl...@li... > https://lists.sourceforge.net/lists/listinfo/brlcad-devel > |