<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I tried out the new CMake 3.2.2.<br>I instructed the installer to add CMake to the PATH.<br>It failed to do that, so I had to manually add its folder to the PATH user variable.<br><br>Then I run it, with these settings<br>Where is the source code: lemon-1.3.1<br>Where to build the binaries: lemon-1.3.1/lemon/build<br><br>Then I ticked the option "Suppress dev Warnings (-Wno-dev)".<br><br>I clicked Configure, indicated Visual Studio 2013, and clicked OK.<br>It created the build folder and some files without waiting for me to click the Generate button.<br>It did not create the .sln project file, I had to click the Generate button for that.<br>This bit is different from what is described in the guide.<br>See the attached screenshot for my settings and the log.<br><br>When I opened the .sln file in Visual Studio 2013, I found a lot of projects (far more than 4), some look like tests.<br>I built the ALL_BUILD one.<br>This time it didn't give me any include error. You can find the log attached.<br>The absence of errors seems to be due to the fact that I set the source code folder to "lemon-1.3.1" instead of "lemon-1.3.1\lemon".<br><br>It all seems fine, however, if I try to<br>#include <lemon/something.h> <br>inside a different VS2013 project, they don't get recognized.<br><br>Even setting "Additional Include Directiories" in the Project -> Properties -> C/C++ doesn't help.<br>Is there something else I have to do?<br>Other PATH stuff, or different configurations?<br><br>By the way, there is no LEMON folder in<br>C:\Program Files (x86)<br>even though the CMake configuration seems to suggest it should have been created.<br><br>I'm doing my best here, but I'm not used to advanced build systems.<br>Can I just copy-paste .cc and .h files in my project, without going through CMake and VS?<br><br>Thanks.<br><br>Best regards,<br>Agostino Sturaro<br><br><br><div><hr id="stopSpelling">From: sturaro.agostino@outlook.com<br>To: lemon-user@lemon.cs.elte.hu<br>Date: Sat, 18 Apr 2015 05:03:09 +0200<br>Subject: [Lemon-user] Building Lemon 1.3.1 on Windows<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">I'm trying to build Lemon 1.3.1, on Windows 7 64 bits SP1, with Visual Studio 2013 Professional 32 bits U4.<br>I installed CMake 3.2.1 and followed the instructions at this page<br><a href="https://lemon.cs.elte.hu/trac/lemon/wiki/InstallCmake" target="_blank">https://lemon.cs.elte.hu/trac/lemon/wiki/InstallCmake</a><br><br>I run CMake, setting the build folder to extracted_zip/lemon/build<br>I indicate I'm using "Visual Studio 12 2013" and leave all other settings to default.<br>When I try to run it, CMake requires me to set tick the option "Suppress dev Warnings (-Wno-dev)".<br>After doing that, it appears to work.<br><br>When I open the Project.sln in Visual Studio and click Build->Build Solution, I get the following errors:<br><br>Error    2    error C1083: Cannot open include file: 'lemon/tolerance.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\base.cc    22    1    lemon<br>Error    6    error C1083: Cannot open include file: 'lemon/random.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\random.cc    22    1    lemon<br>Error    5    error C1083: Cannot open include file: 'lemon/lp_skeleton.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\lp_skeleton.cc    19    1    lemon<br>Error    4    error C1083: Cannot open include file: 'lemon/lp_base.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\lp_base.cc    22    1    lemon<br>Error    3    error C1083: Cannot open include file: 'lemon/color.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\color.cc    22    1    lemon<br>Error    7    error C1083: Cannot open include file: 'lemon/bits/windows.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\bits\windows.cc    22    1    lemon<br>Error    1    error C1083: Cannot open include file: 'lemon/arg_parser.h': No such file or directory    C:\Users\user_a\op_models\lemon-1.3.1\lemon\arg_parser.cc    19    1    lemon<br><br>I tried setting the build folder in a different location, but I get the same set of errors.<br><br>Any suggestions?<br>Thanks.<br>                                       </div>
<br>_______________________________________________
Lemon-user mailing list
Lemon-user@lemon.cs.elte.hu
http://lemon.cs.elte.hu/mailman/listinfo/lemon-user</div>                                           </div></body>
</html>