Closed magnific0 closed 7 years ago
Just noticed that I managed to pull in the new eigen sources (again). @DominicDirkx can you reset them to the version as you did before?
Hi Jacco,
Thanks for this update. The code compiles/runs fine on Ubuntu 14.04 gcc/clang.
Under Windows I got an error from cmake on this line:
file(RENAME ${ExtractedDir} ${BoostSourceDir})
Complaining that the folder didn't exist. However, I can't seem to reproduce the problem, it runs fine now. Perhaps it's an issue of it caching some variable after cmake terminates,, which is then used on the following iteration?
I'll try to get it to reproduce the error. Do you have a Windows machine where you could test this?
I'm really confused.... I did a clean install of Tudat, and everything worked like a charm. Any thoughts?
@DominicDirkx I assume you mean clean install on Windows. Could it be that some variable names were cached? I did change a number of variables inside add_boost.cmake.
Yes, a clean install on Windows of the tudat bundle. Did not reinstall Qt, though.
I'm running CMake from a shell now, with a different build folder and MSVC as compiler. Hopefully that should be completely independent from any cached variables from previous installs.
Well, with MSVC boost won't build, but it does move over the build step and doesn't crash until way later...
Do we support MSVC? I know we have some sections in add_boost.cmake and compiler.cmake that deal with this, but my reasoning for not removing those is that it would hamper future / user adaptation for MSVC.
The boost cache dir is now outside of the regular build folder. So to really start fresh, you should also remove tudatBundle/boost/build.
What is left to be tested? I tried clang on OS X and gcc on Linux. Is there a specific Windows test you want me to run?
Concerning MSVC - as far as I know we never intended to support it, but I figured it was a test that's as independent as possible from previous compilations.
If you could run the CMakeLists test from Qt on Windows/MinGW to see if you can reproduce my strange error, that'd be great. If it runs properly for you, then I think we're all set.
Great, I'll do that right away and report back.
Regarding MSVC, it's indeed been something I wanted to test for a while and see how difficult it would be to get it working for say the latest version. The MSVC IDE is pretty neat actually, so it would be a bonus to Windows users if this worked.
I was able to successfully build the bundle under Windows MinGW 4.9.2. I have attached my cmake log, I don't get the error/warning you mentioned.
I also reverted the Eigen version, so it should be ready to commit now.
Part of larger CMake overhaul. New features include