<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yes, if you could run "set" from the command prompt and post the
output here.</p>
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 11.9px; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: rgb(246, 248, 250); border-radius: 3px; color: rgb(36, 41, 46); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 11.9px; padding: 0px; margin: 0px; background: initial; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal;">C:\Jinja2Cpp\build>set</code></pre>
<br>
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.<br>
<br>
<div class="moz-cite-prefix">On 10/26/2018 1:16 PM, Michael Ellery
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5B7EA270-F8D1-480F-A4E2-72557332283C@gmail.com">
<pre wrap="">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</pre>
</blockquote>
<br>
</body>
</html>