Yes, if you could run "set" from the command prompt and post the output
here.
|C:\Jinja2Cpp\build>set|
That might show if you have something odd in your environment. I am
guessing you have LDFLAGS set which CMake picks up and uses as a linker
flag.
On 10/26/2018 1:16 PM, Michael Ellery wrote:
look at the error message specifically: LDFLAGS=-static-libstdc++
-static-libgcc
Did you add something to your environment recently? Those look like gcc/clang
flags - msvc is not going to like them. Also, have you wiped your CMakeCache
completely (clean configure)? I’d have a look at your env variables to start
with. Not generally needed, but you should also try building in a visual studio
command prompt as it might properly set some of these ENV vars, just in case
there is any confusion.
-Mike
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake