<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
Hi Kristian,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
I will have a look at the link you provided. After googling for days, I'm surprised your link did not show up in my search results. I do appreciate your responding to my query so quickly. Thank you.
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
Regards,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
rifhc</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
</div>
<div>
<div style="-ms-word-wrap: break-word;">Try having a look at Mateusz’ howto: <a href="https://github.com/OSGeo/proj.4/wiki/Building-with-VS-and-vcpkg">https://github.com/OSGeo/proj.4/wiki/Building-with-VS-and-vcpkg</a>
<div><br>
</div>
<div>/Kristian<br>
<div><br>
<blockquote type="cite">
<div>On 29 May 2019, at 21:31, A <<a href="mailto:resistance_is_futile@hotmail.com">resistance_is_futile@hotmail.com</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
In an effort to reduce our software licensing costs, I have been tasked into looking at the level of effort required to remove our dependency on a commercial vendor's SDK and replace it with something else. Preliminary investigations indicate that PROJ.4 version
6.x may fit the bill. However, I have been struggling to get PROJ.4 to build successfully. We are a Windows shop and our custom built applications run in this OS environment. Unfortunately we do not have the luxury of porting all our apps to Linux at this
time.</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
Has anyone successfully built PROJ v6.1.0 using cmake and visual studio 2017 on Windows 10? I have followed the instructions on the PROJ.4 website, but with no luck. After installing sqlite3 and extracting the proj-6.1.0.tar archive, I ran cmake. This is my
command line.</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
cmake -DSQLITE3_INCLUDE_DIR=C:\temp\sqlite3 -DSQLITE3_LIBARARY=C:\temp\sqlite3\sqlite3.dll -G "Visual Studio 15 2017 Win64" ..</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
There are several fatal errors. Here are a few of them from the CMakeError.log.</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
fatal error C1083: Cannot open include file: 'jni.h': No such file or directory</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
These are the versions of the tools I am using.</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
Windows 10 Enterprise v10.0.17134 Build 17134</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
cmake version 3.14.4</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
sqlite3 version 3.29.0</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
Visual Studio 2017 v15.9.12</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
In fact, v6.0.0 and v5.2.0 also reported the same cmake errors. I even tried Visual Studio 2013 (also with no luck)</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
However, I was able to build PROJ.4 v4.9.3 successfully. Unfortunately to continue my evaluation, I need to test the WKT string capabilities of the proj_create function. Only version 6.x supports this WKT functionality.</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
Further, I did read through the mail archives and came across a thread posted by a.furieri, but the replier's answer was to use MinGW64 and MYSY2. I would prefer to stick with cmake and VS2017.</div>
<div style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<br>
</div>
<span style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-variant-caps: normal;">_______________________________________________</span><br style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<span style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-variant-caps: normal;">PROJ
mailing list</span><br style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<a style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; font-variant-caps: normal;" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a><br style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; text-decoration: none; word-spacing: 0px; white-space: normal; font-variant-caps: normal;">
<a style="text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; font-variant-caps: normal;" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</a></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>