Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.91 KB | None | 0 0
  1. **********************************************************************
  2. ** Visual Studio 2019 Developer Command Prompt v16.0
  3. ** Copyright (c) 2019 Microsoft Corporation
  4. **********************************************************************
  5. [vcvarsall.bat] Environment initialized for: 'x64'
  6.  
  7. C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>d:
  8.  
  9. D:\>cd D:\code\maplite\prototypes\JNI
  10.  
  11. D:\code\maplite\prototypes\JNI>javac -h . HelloJNI.java
  12.  
  13. D:\code\maplite\prototypes\JNI>cd release
  14.  
  15. D:\code\maplite\prototypes\JNI\release>cmake ./.. -G "NMake Makefiles"
  16. D:/code/maplite/prototypes/JNI/../..
  17. D:/code/maplite/ThirdParty/sqlite/Release/lib/sqlite3.lib
  18. D:/code/maplite/ThirdParty/proj4/Release/lib/proj_6_1.lib
  19. D:/code/maplite/ThirdParty/gdal/Release/lib/gdal_i.lib
  20. -- Configuring done
  21. -- Generating done
  22. -- Build files have been written to: D:/code/maplite/prototypes/JNI/release
  23.  
  24. D:\code\maplite\prototypes\JNI\release>nmake
  25.  
  26. Microsoft (R) Program Maintenance Utility Version 14.22.27905.0
  27. Copyright (C) Microsoft Corporation. All rights reserved.
  28.  
  29. Scanning dependencies of target runJNI
  30. [ 50%] Building CXX object CMakeFiles/runJNI.dir/HelloJNI.cpp.obj
  31. HelloJNI.cpp
  32. D:\code\maplite\ThirdParty\gdal\include\ogr_featurestyle.h(89): warning C4251: 'OGRStyleTable::osLastRequestedStyleName': class 'CPLString' needs to have dll-interface to be used by clients of class 'OGRStyleTable'
  33. D:\code\maplite\ThirdParty\gdal\include\cpl_string.h(329): note: see declaration of 'CPLString'
  34. D:\code\maplite\ThirdParty\gdal\include\cpl_json.h(153): warning C4251: 'CPLJSONObject::m_osKey': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'CPLJSONObject'
  35. C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  36. D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(129): warning C4251: 'OGR_SRSNode::m_listener': class 'std::weak_ptr<OGR_SRSNode::Listener>' needs to have dll-interface to be used by clients of class 'OGR_SRSNode'
  37. D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(129): note: see declaration of 'std::weak_ptr<OGR_SRSNode::Listener>'
  38. D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(159): warning C4251: 'OGRSpatialReference::d': class 'std::unique_ptr<OGRSpatialReference::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRSpatialReference'
  39. with
  40. [
  41. _Ty=OGRSpatialReference::Private
  42. ]
  43. D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(159): note: see declaration of 'std::unique_ptr<OGRSpatialReference::Private,std::default_delete<_Ty>>'
  44. with
  45. [
  46. _Ty=OGRSpatialReference::Private
  47. ]
  48. D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(775): warning C4251: 'OGRCoordinateTransformationOptions::d': class 'std::unique_ptr<OGRCoordinateTransformationOptions::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'OGRCoordinateTransformationOptions'
  49. with
  50. [
  51. _Ty=OGRCoordinateTransformationOptions::Private
  52. ]
  53. D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(775): note: see declaration of 'std::unique_ptr<OGRCoordinateTransformationOptions::Private,std::default_delete<_Ty>>'
  54. with
  55. [
  56. _Ty=OGRCoordinateTransformationOptions::Private
  57. ]
  58. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(948): warning C4251: 'OGRCurve::ConstIterator::m_poPrivate': class 'std::unique_ptr<OGRCurve::ConstIterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRCurve::ConstIterator'
  59. with
  60. [
  61. _Ty=OGRCurve::ConstIterator::Private
  62. ]
  63. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(948): note: see declaration of 'std::unique_ptr<OGRCurve::ConstIterator::Private,std::default_delete<_Ty>>'
  64. with
  65. [
  66. _Ty=OGRCurve::ConstIterator::Private
  67. ]
  68. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(1067): warning C4251: 'OGRSimpleCurve::Iterator::m_poPrivate': class 'std::unique_ptr<OGRSimpleCurve::Iterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRSimpleCurve::Iterator'
  69. with
  70. [
  71. _Ty=OGRSimpleCurve::Iterator::Private
  72. ]
  73. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(1067): note: see declaration of 'std::unique_ptr<OGRSimpleCurve::Iterator::Private,std::default_delete<_Ty>>'
  74. with
  75. [
  76. _Ty=OGRSimpleCurve::Iterator::Private
  77. ]
  78. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(1084): warning C4251: 'OGRSimpleCurve::ConstIterator::m_poPrivate': class 'std::unique_ptr<OGRSimpleCurve::ConstIterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRSimpleCurve::ConstIterator'
  79. with
  80. [
  81. _Ty=OGRSimpleCurve::ConstIterator::Private
  82. ]
  83. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(1084): note: see declaration of 'std::unique_ptr<OGRSimpleCurve::ConstIterator::Private,std::default_delete<_Ty>>'
  84. with
  85. [
  86. _Ty=OGRSimpleCurve::ConstIterator::Private
  87. ]
  88. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(2883): warning C4251: 'OGRGeometryFactory::TransformWithOptionsCache::d': class 'std::unique_ptr<OGRGeometryFactory::TransformWithOptionsCache::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRGeometryFactory::TransformWithOptionsCache'
  89. with
  90. [
  91. _Ty=OGRGeometryFactory::TransformWithOptionsCache::Private
  92. ]
  93. D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(2883): note: see declaration of 'std::unique_ptr<OGRGeometryFactory::TransformWithOptionsCache::Private,std::default_delete<_Ty>>'
  94. with
  95. [
  96. _Ty=OGRGeometryFactory::TransformWithOptionsCache::Private
  97. ]
  98. D:\code\maplite\ThirdParty\gdal\include\ogr_feature.h(385): warning C4251: 'OGRFeature::FieldValue::m_poPrivate': class 'std::unique_ptr<OGRFeature::FieldValue::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRFeature::FieldValue'
  99. with
  100. [
  101. _Ty=OGRFeature::FieldValue::Private
  102. ]
  103. D:\code\maplite\ThirdParty\gdal\include\ogr_feature.h(385): note: see declaration of 'std::unique_ptr<OGRFeature::FieldValue::Private,std::default_delete<_Ty>>'
  104. with
  105. [
  106. _Ty=OGRFeature::FieldValue::Private
  107. ]
  108. D:\code\maplite\ThirdParty\gdal\include\ogr_feature.h(528): warning C4251: 'OGRFeature::ConstFieldIterator::m_poPrivate': class 'std::unique_ptr<OGRFeature::ConstFieldIterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRFeature::ConstFieldIterator'
  109. with
  110. [
  111. _Ty=OGRFeature::ConstFieldIterator::Private
  112. ]
  113. D:\code\maplite\ThirdParty\gdal\include\ogr_feature.h(528): note: see declaration of 'std::unique_ptr<OGRFeature::ConstFieldIterator::Private,std::default_delete<_Ty>>'
  114. with
  115. [
  116. _Ty=OGRFeature::ConstFieldIterator::Private
  117. ]
  118. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(137): warning C4251: 'GDALMajorObject::sDescription': class 'CPLString' needs to have dll-interface to be used by clients of class 'GDALMajorObject'
  119. D:\code\maplite\ThirdParty\gdal\include\cpl_string.h(329): note: see declaration of 'CPLString'
  120. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(190): warning C4251: 'GDALDefaultOverviews::osOvrFilename': class 'CPLString' needs to have dll-interface to be used by clients of class 'GDALDefaultOverviews'
  121. D:\code\maplite\ThirdParty\gdal\include\cpl_string.h(329): note: see declaration of 'CPLString'
  122. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(473): warning C4251: 'GDALDataset::Bands::Iterator::m_poPrivate': class 'std::unique_ptr<GDALDataset::Bands::Iterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'GDALDataset::Bands::Iterator'
  123. with
  124. [
  125. _Ty=GDALDataset::Bands::Iterator::Private
  126. ]
  127. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(473): note: see declaration of 'std::unique_ptr<GDALDataset::Bands::Iterator::Private,std::default_delete<_Ty>>'
  128. with
  129. [
  130. _Ty=GDALDataset::Bands::Iterator::Private
  131. ]
  132. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(669): warning C4251: 'GDALDataset::Layers::Iterator::m_poPrivate': class 'std::unique_ptr<GDALDataset::Layers::Iterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'GDALDataset::Layers::Iterator'
  133. with
  134. [
  135. _Ty=GDALDataset::Layers::Iterator::Private
  136. ]
  137. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(669): note: see declaration of 'std::unique_ptr<GDALDataset::Layers::Iterator::Private,std::default_delete<_Ty>>'
  138. with
  139. [
  140. _Ty=GDALDataset::Layers::Iterator::Private
  141. ]
  142. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(727): warning C4251: 'GDALDataset::Features::Iterator::m_poPrivate': class 'std::unique_ptr<GDALDataset::Features::Iterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'GDALDataset::Features::Iterator'
  143. with
  144. [
  145. _Ty=GDALDataset::Features::Iterator::Private
  146. ]
  147. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(727): note: see declaration of 'std::unique_ptr<GDALDataset::Features::Iterator::Private,std::default_delete<_Ty>>'
  148. with
  149. [
  150. _Ty=GDALDataset::Features::Iterator::Private
  151. ]
  152. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(968): warning C4251: 'GDALColorTable::aoEntries': class 'std::vector<GDALColorEntry,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'GDALColorTable'
  153. with
  154. [
  155. _Ty=GDALColorEntry
  156. ]
  157. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(968): note: see declaration of 'std::vector<GDALColorEntry,std::allocator<_Ty>>'
  158. with
  159. [
  160. _Ty=GDALColorEntry
  161. ]
  162. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(1556): warning C4251: 'GDALDriverManager::oMapNameToDrivers': class 'std::map<CPLString,GDALDriver *,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of class 'GDALDriverManager'
  163. with
  164. [
  165. _Kty=CPLString,
  166. _Ty=GDALDriver *
  167. ]
  168. D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(1556): note: see declaration of 'std::map<CPLString,GDALDriver *,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>'
  169. with
  170. [
  171. _Kty=CPLString,
  172. _Ty=GDALDriver *
  173. ]
  174. D:\code\maplite\ThirdParty\gdal\include\ogrsf_frmts.h(74): warning C4251: 'OGRLayer::m_poPrivate': class 'std::unique_ptr<OGRLayer::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRLayer'
  175. with
  176. [
  177. _Ty=OGRLayer::Private
  178. ]
  179. D:\code\maplite\ThirdParty\gdal\include\ogrsf_frmts.h(74): note: see declaration of 'std::unique_ptr<OGRLayer::Private,std::default_delete<_Ty>>'
  180. with
  181. [
  182. _Ty=OGRLayer::Private
  183. ]
  184. D:\code\maplite\ThirdParty\gdal\include\ogrsf_frmts.h(81): warning C4251: 'OGRLayer::FeatureIterator::m_poPrivate': class 'std::unique_ptr<OGRLayer::FeatureIterator::Private,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'OGRLayer::FeatureIterator'
  185. with
  186. [
  187. _Ty=OGRLayer::FeatureIterator::Private
  188. ]
  189. D:\code\maplite\ThirdParty\gdal\include\ogrsf_frmts.h(81): note: see declaration of 'std::unique_ptr<OGRLayer::FeatureIterator::Private,std::default_delete<_Ty>>'
  190. with
  191. [
  192. _Ty=OGRLayer::FeatureIterator::Private
  193. ]
  194. D:\code\maplite\prototypes\JNI\HelloJNI.cpp(28): warning C4244: 'initializing': conversion from 'GIntBig' to 'int', possible loss of data
  195. [100%] Linking CXX shared library runJNI.dll
  196. [100%] Built target runJNI
  197.  
  198. D:\code\maplite\prototypes\JNI\release>cd ..
  199.  
  200. D:\code\maplite\prototypes\JNI>java -Djava.library.path=D:\code\maplite\prototypes\JNI\release HelloJNI
  201. OTFString: Asia
  202. OTFString: North America
  203. OTFString: Europe
  204. OTFString: Africa
  205. OTFString: South America
  206. OTFString: Oceania
  207. OTFString: Australia
  208. OTFString: Antarctica
  209.  
  210. D:\code\maplite\prototypes\JNI>java HelloJNI
  211. OTFString: Asia
  212. OTFString: North America
  213. OTFString: Europe
  214. OTFString: Africa
  215. OTFString: South America
  216. OTFString: Oceania
  217. OTFString: Australia
  218. OTFString: Antarctica
  219.  
  220. D:\code\maplite\prototypes\JNI>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement