Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **********************************************************************
- ** Visual Studio 2019 Developer Command Prompt v16.0
- ** Copyright (c) 2019 Microsoft Corporation
- **********************************************************************
- [vcvarsall.bat] Environment initialized for: 'x64'
- C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>d:
- D:\>cd D:\code\maplite\prototypes\JNI
- D:\code\maplite\prototypes\JNI>javac -h . HelloJNI.java
- D:\code\maplite\prototypes\JNI>cd release
- D:\code\maplite\prototypes\JNI\release>cmake ./.. -G "NMake Makefiles"
- D:/code/maplite/prototypes/JNI/../..
- D:/code/maplite/ThirdParty/sqlite/Release/lib/sqlite3.lib
- D:/code/maplite/ThirdParty/proj4/Release/lib/proj_6_1.lib
- D:/code/maplite/ThirdParty/gdal/Release/lib/gdal_i.lib
- -- Configuring done
- -- Generating done
- -- Build files have been written to: D:/code/maplite/prototypes/JNI/release
- D:\code\maplite\prototypes\JNI\release>nmake
- Microsoft (R) Program Maintenance Utility Version 14.22.27905.0
- Copyright (C) Microsoft Corporation. All rights reserved.
- Scanning dependencies of target runJNI
- [ 50%] Building CXX object CMakeFiles/runJNI.dir/HelloJNI.cpp.obj
- HelloJNI.cpp
- 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'
- D:\code\maplite\ThirdParty\gdal\include\cpl_string.h(329): note: see declaration of 'CPLString'
- 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'
- 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>>'
- 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'
- D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(129): note: see declaration of 'std::weak_ptr<OGR_SRSNode::Listener>'
- 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'
- with
- [
- _Ty=OGRSpatialReference::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(159): note: see declaration of 'std::unique_ptr<OGRSpatialReference::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRSpatialReference::Private
- ]
- 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'
- with
- [
- _Ty=OGRCoordinateTransformationOptions::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_spatialref.h(775): note: see declaration of 'std::unique_ptr<OGRCoordinateTransformationOptions::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRCoordinateTransformationOptions::Private
- ]
- 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'
- with
- [
- _Ty=OGRCurve::ConstIterator::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(948): note: see declaration of 'std::unique_ptr<OGRCurve::ConstIterator::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRCurve::ConstIterator::Private
- ]
- 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'
- with
- [
- _Ty=OGRSimpleCurve::Iterator::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(1067): note: see declaration of 'std::unique_ptr<OGRSimpleCurve::Iterator::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRSimpleCurve::Iterator::Private
- ]
- 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'
- with
- [
- _Ty=OGRSimpleCurve::ConstIterator::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(1084): note: see declaration of 'std::unique_ptr<OGRSimpleCurve::ConstIterator::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRSimpleCurve::ConstIterator::Private
- ]
- 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'
- with
- [
- _Ty=OGRGeometryFactory::TransformWithOptionsCache::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_geometry.h(2883): note: see declaration of 'std::unique_ptr<OGRGeometryFactory::TransformWithOptionsCache::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRGeometryFactory::TransformWithOptionsCache::Private
- ]
- 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'
- with
- [
- _Ty=OGRFeature::FieldValue::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_feature.h(385): note: see declaration of 'std::unique_ptr<OGRFeature::FieldValue::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRFeature::FieldValue::Private
- ]
- 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'
- with
- [
- _Ty=OGRFeature::ConstFieldIterator::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogr_feature.h(528): note: see declaration of 'std::unique_ptr<OGRFeature::ConstFieldIterator::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRFeature::ConstFieldIterator::Private
- ]
- 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'
- D:\code\maplite\ThirdParty\gdal\include\cpl_string.h(329): note: see declaration of 'CPLString'
- 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'
- D:\code\maplite\ThirdParty\gdal\include\cpl_string.h(329): note: see declaration of 'CPLString'
- 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'
- with
- [
- _Ty=GDALDataset::Bands::Iterator::Private
- ]
- 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>>'
- with
- [
- _Ty=GDALDataset::Bands::Iterator::Private
- ]
- 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'
- with
- [
- _Ty=GDALDataset::Layers::Iterator::Private
- ]
- 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>>'
- with
- [
- _Ty=GDALDataset::Layers::Iterator::Private
- ]
- 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'
- with
- [
- _Ty=GDALDataset::Features::Iterator::Private
- ]
- 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>>'
- with
- [
- _Ty=GDALDataset::Features::Iterator::Private
- ]
- 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'
- with
- [
- _Ty=GDALColorEntry
- ]
- D:\code\maplite\ThirdParty\gdal\include\gdal_priv.h(968): note: see declaration of 'std::vector<GDALColorEntry,std::allocator<_Ty>>'
- with
- [
- _Ty=GDALColorEntry
- ]
- 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'
- with
- [
- _Kty=CPLString,
- _Ty=GDALDriver *
- ]
- 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>>>'
- with
- [
- _Kty=CPLString,
- _Ty=GDALDriver *
- ]
- 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'
- with
- [
- _Ty=OGRLayer::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogrsf_frmts.h(74): note: see declaration of 'std::unique_ptr<OGRLayer::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRLayer::Private
- ]
- 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'
- with
- [
- _Ty=OGRLayer::FeatureIterator::Private
- ]
- D:\code\maplite\ThirdParty\gdal\include\ogrsf_frmts.h(81): note: see declaration of 'std::unique_ptr<OGRLayer::FeatureIterator::Private,std::default_delete<_Ty>>'
- with
- [
- _Ty=OGRLayer::FeatureIterator::Private
- ]
- D:\code\maplite\prototypes\JNI\HelloJNI.cpp(28): warning C4244: 'initializing': conversion from 'GIntBig' to 'int', possible loss of data
- [100%] Linking CXX shared library runJNI.dll
- [100%] Built target runJNI
- D:\code\maplite\prototypes\JNI\release>cd ..
- D:\code\maplite\prototypes\JNI>java -Djava.library.path=D:\code\maplite\prototypes\JNI\release HelloJNI
- OTFString: Asia
- OTFString: North America
- OTFString: Europe
- OTFString: Africa
- OTFString: South America
- OTFString: Oceania
- OTFString: Australia
- OTFString: Antarctica
- D:\code\maplite\prototypes\JNI>java HelloJNI
- OTFString: Asia
- OTFString: North America
- OTFString: Europe
- OTFString: Africa
- OTFString: South America
- OTFString: Oceania
- OTFString: Australia
- OTFString: Antarctica
- D:\code\maplite\prototypes\JNI>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement