<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Aptos Display";}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="en-DK" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="en-DK">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK">I am having problems with building proj 5.1.0 with cmake. My problem arises in that I want to build the JNI .jar file so that I can use it with my java program. I found a readme.md with a description of how to build it
using the nmake tool, but not one with cmake. Does anyone know how to compile it with the cmake tool?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK">My current output from cmake is this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""><path_to_proj>/PROJ-5.1.0/build>cmake ..<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">CMake Deprecation Warning at CMakeLists.txt:12 (cmake_minimum_required):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""> Compatibility with CMake < 3.5 will be removed from a future version of<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""> CMake.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""> Update the VERSION argument <min> value or use a ...<max> suffix to tell<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""> CMake that the project does not need compatibility with older versions.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Configuring PROJ:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_VERSION = 5.0.0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_ABI_VERSION = 5_0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- WARNING:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Could not determine compiler toolset name to set PROJ_COMPILER_NAME variable.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- WARNING:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Could not determine platform name to set PROJ_COMPILER_NAME variable.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_PLATFORM_NAME = win32<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_COMPILER_NAME =<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_TESTS = ON<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Configuring proj library:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- JNI_SUPPORT = OFF<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_CORE_TARGET = proj<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_CORE_TARGET_OUTPUT_NAME = proj_5_0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_LIBRARY_TYPE = STATIC<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- PROJ_LIBRARIES = proj<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Configuring done (0.3s)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Generating done (0.2s)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New"">-- Build files have been written to: <path_to_proj>/PROJ-5.1.0/build<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="en-DK" style="font-family:"Aptos Display",sans-serif">I</span><span lang="en-DK"> am on a bit of a time crunch, so any help is greatly appreciated!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:115%"><span lang="en-DK" style="font-size:10.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#141E1E;mso-fareast-language:#2000">Med venlig hilsen / Best regards<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:115%"><b><span lang="en-DK" style="font-size:12.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#141E1E;mso-fareast-language:#2000">Teis Aalbæk-Nielsen<br>
</span></b><span lang="en-DK" style="font-size:10.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#141E1E;mso-fareast-language:#2000">Developer<br>
Mobile +45 2062 6252<br>
</span><span lang="en-DK" style="font-size:9.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#141E1E;mso-fareast-language:#2000"><a href="mailto:tean@netcompany.com" target="_blank"><span style="color:#141E1E;text-decoration:none">tean@netcompany.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:115%"><span lang="en-DK" style="font-size:10.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#141E1E;mso-fareast-language:#2000"><br>
</span><span lang="en-DK" style="font-size:9.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#141E1E;mso-fareast-language:#2000"><img border="0" width="150" height="23" style="width:1.5625in;height:.2395in" id="Graphic_x0020_1" src="cid:image001.png@01DACC87.B454AB70" alt="Netcompany - New Message"><br>
<br>
Toldbod Plads 1<br>
DK - 9000 Aalborg<br>
Denmark<br>
<br>
Reception +45 7013 1440<br>
<a href="https://www.netcompany.com/" target="_blank">www.netcompany.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="en-DK"><o:p> </o:p></span></p>
</div>
</body>
</html>