Hello, I run cmake from an OSGeo shell and do the classic configure and build steps. I launch VisualStudio from your OSGeo shell, I have this message error when compiling:
Build succeeded. 144> 144>Time Elapsed 00:00:29.53 145>------ Build started: Project: otbTestDriver, Configuration: Release Win32 ------ 145>Build started 26/10/2014 18:13:54. 145>InitializeBuildStatus: 145> Touching "otbTestDriver.dir\Release\otbTestDriver.unsuccessfulbuild". 145>CustomBuild: 145> Building Custom Rule C:/OTB-4.2.0/OTB-4.2.0/Code/Testing/CMakeLists.txt 145> CMake does not need to re-run because C:\420\Code\Testing\CMakeFiles\generate.stamp is up-to-date. 145>ClCompile: 145> otbTestDriver.cxx 145>Link: 145> Creating library C:/420/bin/Release/otbTestDriver.lib and object C:/420/bin/Release/otbTestDriver.exp 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual struct GEOSGeom_t * __thiscall OGRGeometry::exportToGEOS(struct GEOSContextHandle_HS *)const " (?exportToGEOS@OGRGeometry@@UBEPAUGEOSGeom_t@@PAUGEOSContextHandle_HS@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRPoint::exportToWkb(enum OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " (?exportToWkb@OGRPoint@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRLineString::exportToWkb(enum OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " (?exportToWkb@OGRLineString@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual double __thiscall OGRLineString::Project(class OGRPoint const *)const " (?Project@OGRLineString@@UBENPBVOGRPoint@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual class OGRLineString * __thiscall OGRLineString::getSubLine(double,double,int)const " (?getSubLine@OGRLineString@@UBEPAV1@NNH@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRLinearRing::exportToWkb(enum OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " (?exportToWkb@OGRLinearRing@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRPolygon::exportToWkb(enum OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " (?exportToWkb@OGRPolygon@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRGeometryCollection::exportToWkb(enum OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " (?exportToWkb@OGRGeometryCollection@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual class OGRSpatialReference * __thiscall OGRGeomFieldDefn::GetSpatialRef(void)" (?GetSpatialRef@OGRGeomFieldDefn@@UAEPAVOGRSpatialReference@@XZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall OGRGeomFieldDefn::~OGRGeomFieldDefn(void)" (??1OGRGeomFieldDefn@@UAE@XZ) referenced in function "public: virtual void * __thiscall OGRGeomFieldDefn::`scalar deleting destructor'(unsigned int)" (??_GOGRGeomFieldDefn@@UAEPAXI@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall OGRFeatureDefn::GetName(void)" (?GetName@OGRFeatureDefn@@UAEPBDXZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::GetFieldCount(void)" (?GetFieldCount@OGRFeatureDefn@@UAEHXZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual class OGRFieldDefn * __thiscall OGRFeatureDefn::GetFieldDefn(int)" (?GetFieldDefn@OGRFeatureDefn@@UAEPAVOGRFieldDefn@@H@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::GetFieldIndex(char const *)" (?GetFieldIndex@OGRFeatureDefn@@UAEHPBD@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall OGRFeatureDefn::AddFieldDefn(class OGRFieldDefn *)" (?AddFieldDefn@OGRFeatureDefn@@UAEXPAVOGRFieldDefn@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::DeleteFieldDefn(int)" (?DeleteFieldDefn@OGRFeatureDefn@@UAEHH@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::ReorderFieldDefns(int *)" (?ReorderFieldDefns@OGRFeatureDefn@@UAEHPAH@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::GetGeomFieldCount(void)" (?GetGeomFieldCount@OGRFeatureDefn@@UAEHXZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual class OGRGeomFieldDefn * __thiscall OGRFeatureDefn::GetGeomFieldDefn(int)" (?GetGeomFieldDefn@OGRFeatureDefn@@UAEPAVOGRGeomFieldDefn@@H@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::GetGeomFieldIndex(char const *)" (?GetGeomFieldIndex@OGRFeatureDefn@@UAEHPBD@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall OGRFeatureDefn::AddGeomFieldDefn(class OGRGeomFieldDefn *,int)" (?AddGeomFieldDefn@OGRFeatureDefn@@UAEXPAVOGRGeomFieldDefn@@H@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::DeleteGeomFieldDefn(int)" (?DeleteGeomFieldDefn@OGRFeatureDefn@@UAEHH@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual enum OGRwkbGeometryType __thiscall OGRFeatureDefn::GetGeomType(void)" (?GetGeomType@OGRFeatureDefn@@UAE?AW4OGRwkbGeometryType@@XZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall OGRFeatureDefn::SetGeomType(enum OGRwkbGeometryType)" (?SetGeomType@OGRFeatureDefn@@UAEXW4OGRwkbGeometryType@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual class OGRFeatureDefn * __thiscall OGRFeatureDefn::Clone(void)" (?Clone@OGRFeatureDefn@@UAEPAV1@XZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::IsGeometryIgnored(void)" (?IsGeometryIgnored@OGRFeatureDefn@@UAEHXZ) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall OGRFeatureDefn::SetGeometryIgnored(int)" (?SetGeometryIgnored@OGRFeatureDefn@@UAEXH@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRFeatureDefn::IsSame(class OGRFeatureDefn *)" (?IsSame@OGRFeatureDefn@@UAEHPAV1@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2019: unresolved external symbol "public: char * * __thiscall OGRFeature::GetFieldAsStringList(int)" (?GetFieldAsStringList@OGRFeature@@QAEPAPADH@Z) referenced in function "public: char * * __thiscall OGRFeature::GetFieldAsStringList(char const *)" (?GetFieldAsStringList@OGRFeature@@QAEPAPADPBD@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall OGRLayer::SetSpatialFilter(int,class OGRGeometry *)" (?SetSpatialFilter@OGRLayer@@UAEXHPAVOGRGeometry@@@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall OGRLayer::SetSpatialFilterRect(int,double,double,double,double)" (?SetSpatialFilterRect@OGRLayer@@UAEXHNNNN@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRLayer::FindFieldIndex(char const *,int)" (?FindFieldIndex@OGRLayer@@UAEHPBDH@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRLayer::GetExtent(int,class OGREnvelope *,int)" (?GetExtent@OGRLayer@@UAEHHPAVOGREnvelope@@H@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external symbol "public: virtual int __thiscall OGRLayer::CreateGeomField(class OGRGeomFieldDefn *,int)" (?CreateGeomField@OGRLayer@@UAEHPAVOGRGeomFieldDefn@@H@Z) 145>OTBTesting.lib(otbTestHelper.obj) : error LNK2019: unresolved external symbol "public: int __thiscall OGRFeature::IsFieldSet(int)" (?IsFieldSet@OGRFeature@@QAEHH@Z) referenced in function "private: static void __cdecl otb::TestHelper::DumpOGRFeature(struct _iobuf *,class OGRFeature *,char * *)" (?DumpOGRFeature@TestHelper@otb@@CAXPAU_iobuf@@PAVOGRFeature@@PAPAD@Z) 145>OTBOssimAdapters.lib(otbImageKeywordlist.obj) : error LNK2001: unresolved external symbol "public: virtual char * * __thiscall GDALMajorObject::GetMetadataDomainList(void)" (?GetMetadataDomainList@GDALMajorObject@@UAEPAPADXZ) 145>OTBIO.lib(otbGDALImageIO.obj) : error LNK2019: unresolved external symbol "public: virtual char * * __thiscall GDALMajorObject::GetMetadataDomainList(void)" (?GetMetadataDomainList@GDALMajorObject@@UAEPAPADXZ) referenced in function "public: virtual __thiscall std::basic_stringbuf<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_stringbuf<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@UAE@XZ) 145>OTBIO.lib(otbGDALDriverManagerWrapper.obj) : error LNK2001: unresolved external symbol "public: virtual char * * __thiscall GDALMajorObject::GetMetadataDomainList(void)" (?GetMetadataDomainList@GDALMajorObject@@UAEPAPADXZ) 145>OTBOssimAdapters.lib(otbImageKeywordlist.obj) : error LNK2001: unresolved external symbol "public: virtual class GDALRasterAttributeTable * __thiscall GDALRasterBand::GetDefaultRAT(void)" (?GetDefaultRAT@GDALRasterBand@@UAEPAVGDALRasterAttributeTable@@XZ) 145>OTBIO.lib(otbGDALImageIO.obj) : error LNK2019: unresolved external symbol "public: virtual class GDALRasterAttributeTable * __thiscall GDALRasterBand::GetDefaultRAT(void)" (?GetDefaultRAT@GDALRasterBand@@UAEPAVGDALRasterAttributeTable@@XZ) referenced in function "public: virtual __thiscall std::basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_istringstream<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@UAE@XZ) 145>OTBIO.lib(otbGDALDriverManagerWrapper.obj) : error LNK2001: unresolved external symbol "public: virtual class GDALRasterAttributeTable * __thiscall GDALRasterBand::GetDefaultRAT(void)" (?GetDefaultRAT@GDALRasterBand@@UAEPAVGDALRasterAttributeTable@@XZ) 145>OTBOssimAdapters.lib(otbImageKeywordlist.obj) : error LNK2001: unresolved external symbol "public: virtual struct CPLVirtualMem * __thiscall GDALRasterBand::GetVirtualMemAuto(enum GDALRWFlag,int *,__int64 *,char * *)" (?GetVirtualMemAuto@GDALRasterBand@@UAEPAUCPLVirtualMem@@W4GDALRWFlag@@PAHPA_JPAPAD@Z) 145>OTBIO.lib(otbGDALImageIO.obj) : error LNK2001: unresolved external symbol "public: virtual struct CPLVirtualMem * __thiscall GDALRasterBand::GetVirtualMemAuto(enum GDALRWFlag,int *,__int64 *,char * *)" (?GetVirtualMemAuto@GDALRasterBand@@UAEPAUCPLVirtualMem@@W4GDALRWFlag@@PAHPA_JPAPAD@Z) 145>OTBIO.lib(otbGDALDriverManagerWrapper.obj) : error LNK2001: unresolved external symbol "public: virtual struct CPLVirtualMem * __thiscall GDALRasterBand::GetVirtualMemAuto(enum GDALRWFlag,int *,__int64 *,char * *)" (?GetVirtualMemAuto@GDALRasterBand@@UAEPAUCPLVirtualMem@@W4GDALRWFlag@@PAHPA_JPAPAD@Z) 145>C:\420\bin\Release\otbTestDriver.exe : fatal error LNK1120: 38 unresolved externals 145> 145>Build FAILED. 145> 145>Time Elapsed 00:00:06.81 146>------ Build started: Project: OTBSimulation, Configuration: Release Win32 ------ 146>Build started 26/10/2014 18:14:02. 146>InitializeBuildStatus: 146> Creating "OTBSimulation.dir\Release\OTBSimulation.unsuccessfulbuild" because "AlwaysCreate" was specified. 146>CustomBuild: 146> Building Custom Rule C:/OTB-4.2.0/OTB-4.2.0/Code/Simulation/CMakeLists.txt 146> CMake does not need to re-run because C:\420\Code\Simulation\CMakeFiles\generate.stamp is up-to-date. 146>ClCompile: 146> otbDataSpecP5B.cxx 146> otbLeafParameters.cxx 146> otbProspectModel.cxx 140> otbWrapperInputFilenameListParameter.cxx Build has been canceled. what's the problem? Thank you for helping me. Regards. Le samedi 11 octobre 2014 13:38:07 UTC+1, milou a écrit : > > Helo, > please how to fix this: > > Touching "otbTestDriver.dir\Release\otbTestDriver.unsuccessfulbuild". > 138>CustomBuild: > 138> Building Custom Rule > C:/OTB-4.2.0/OTB-4.2.0/Code/Testing/CMakeLists.txt > 138> CMake does not need to re-run because > C:\420\Code\Testing\CMakeFiles\generate.stamp is up-to-date. > 138>ClCompile: > 138> otbTestDriver.cxx > 133> otbWrapperInputFilenameListParameter.cxx > 138>Link: > 138> Creating library C:/420/bin/Release/otbTestDriver.lib and object > C:/420/bin/Release/otbTestDriver.exp > 133> otbWrapperInputImageListParameter.cxx > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual struct GEOSGeom_t * __thiscall > OGRGeometry::exportToGEOS(struct GEOSContextHandle_HS *)const " > (?exportToGEOS@OGRGeometry@@UBEPAUGEOSGeom_t@@PAUGEOSContextHandle_HS@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRPoint::exportToWkb(enum > OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " > (?exportToWkb@OGRPoint@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRLineString::exportToWkb(enum > OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " > (?exportToWkb@OGRLineString@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual double __thiscall OGRLineString::Project(class > OGRPoint const *)const " (?Project@OGRLineString@@UBENPBVOGRPoint@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual class OGRLineString * __thiscall > OGRLineString::getSubLine(double,double,int)const " > (?getSubLine@OGRLineString@@UBEPAV1@NNH@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRLinearRing::exportToWkb(enum > OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " > (?exportToWkb@OGRLinearRing@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRPolygon::exportToWkb(enum > OGRwkbByteOrder,unsigned char *,enum OGRwkbVariant)const " > (?exportToWkb@OGRPolygon@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRGeometryCollection::exportToWkb(enum OGRwkbByteOrder,unsigned char > *,enum OGRwkbVariant)const " > (?exportToWkb@OGRGeometryCollection@@UBEHW4OGRwkbByteOrder@@PAEW4OGRwkbVariant@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual class OGRSpatialReference * __thiscall > OGRGeomFieldDefn::GetSpatialRef(void)" > (?GetSpatialRef@OGRGeomFieldDefn@@UAEPAVOGRSpatialReference@@XZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2019: unresolved external > symbol "public: virtual __thiscall > OGRGeomFieldDefn::~OGRGeomFieldDefn(void)" (??1OGRGeomFieldDefn@@UAE@XZ) > referenced in function "public: virtual void * __thiscall > OGRGeomFieldDefn::`scalar deleting destructor'(unsigned int)" > (??_GOGRGeomFieldDefn@@UAEPAXI@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual char const * __thiscall > OGRFeatureDefn::GetName(void)" (?GetName@OGRFeatureDefn@@UAEPBDXZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRFeatureDefn::GetFieldCount(void)" > (?GetFieldCount@OGRFeatureDefn@@UAEHXZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual class OGRFieldDefn * __thiscall > OGRFeatureDefn::GetFieldDefn(int)" > (?GetFieldDefn@OGRFeatureDefn@@UAEPAVOGRFieldDefn@@H@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRFeatureDefn::GetFieldIndex(char > const *)" (?GetFieldIndex@OGRFeatureDefn@@UAEHPBD@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual void __thiscall OGRFeatureDefn::AddFieldDefn(class > OGRFieldDefn *)" (?AddFieldDefn@OGRFeatureDefn@@UAEXPAVOGRFieldDefn@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRFeatureDefn::DeleteFieldDefn(int)" > (?DeleteFieldDefn@OGRFeatureDefn@@UAEHH@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRFeatureDefn::ReorderFieldDefns(int *)" > (?ReorderFieldDefns@OGRFeatureDefn@@UAEHPAH@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRFeatureDefn::GetGeomFieldCount(void)" > (?GetGeomFieldCount@OGRFeatureDefn@@UAEHXZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual class OGRGeomFieldDefn * __thiscall > OGRFeatureDefn::GetGeomFieldDefn(int)" > (?GetGeomFieldDefn@OGRFeatureDefn@@UAEPAVOGRGeomFieldDefn@@H@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRFeatureDefn::GetGeomFieldIndex(char const *)" > (?GetGeomFieldIndex@OGRFeatureDefn@@UAEHPBD@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual void __thiscall > OGRFeatureDefn::AddGeomFieldDefn(class OGRGeomFieldDefn *,int)" > (?AddGeomFieldDefn@OGRFeatureDefn@@UAEXPAVOGRGeomFieldDefn@@H@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRFeatureDefn::DeleteGeomFieldDefn(int)" > (?DeleteGeomFieldDefn@OGRFeatureDefn@@UAEHH@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual enum OGRwkbGeometryType __thiscall > OGRFeatureDefn::GetGeomType(void)" > (?GetGeomType@OGRFeatureDefn@@UAE?AW4OGRwkbGeometryType@@XZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual void __thiscall OGRFeatureDefn::SetGeomType(enum > OGRwkbGeometryType)" > (?SetGeomType@OGRFeatureDefn@@UAEXW4OGRwkbGeometryType@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual class OGRFeatureDefn * __thiscall > OGRFeatureDefn::Clone(void)" (?Clone@OGRFeatureDefn@@UAEPAV1@XZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall > OGRFeatureDefn::IsGeometryIgnored(void)" > (?IsGeometryIgnored@OGRFeatureDefn@@UAEHXZ) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual void __thiscall > OGRFeatureDefn::SetGeometryIgnored(int)" > (?SetGeometryIgnored@OGRFeatureDefn@@UAEXH@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRFeatureDefn::IsSame(class > OGRFeatureDefn *)" (?IsSame@OGRFeatureDefn@@UAEHPAV1@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2019: unresolved external > symbol "public: char * * __thiscall OGRFeature::GetFieldAsStringList(int)" > (?GetFieldAsStringList@OGRFeature@@QAEPAPADH@Z) referenced in function > "public: char * * __thiscall OGRFeature::GetFieldAsStringList(char const > *)" (?GetFieldAsStringList@OGRFeature@@QAEPAPADPBD@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual void __thiscall > OGRLayer::SetSpatialFilter(int,class OGRGeometry *)" > (?SetSpatialFilter@OGRLayer@@UAEXHPAVOGRGeometry@@@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual void __thiscall > OGRLayer::SetSpatialFilterRect(int,double,double,double,double)" > (?SetSpatialFilterRect@OGRLayer@@UAEXHNNNN@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRLayer::FindFieldIndex(char const > *,int)" (?FindFieldIndex@OGRLayer@@UAEHPBDH@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRLayer::GetExtent(int,class > OGREnvelope *,int)" (?GetExtent@OGRLayer@@UAEHHPAVOGREnvelope@@H@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2001: unresolved external > symbol "public: virtual int __thiscall OGRLayer::CreateGeomField(class > OGRGeomFieldDefn *,int)" > (?CreateGeomField@OGRLayer@@UAEHPAVOGRGeomFieldDefn@@H@Z) > 138>OTBTesting.lib(otbTestHelper.obj) : error LNK2019: unresolved external > symbol "public: int __thiscall OGRFeature::IsFieldSet(int)" > (?IsFieldSet@OGRFeature@@QAEHH@Z) referenced in function "private: static > void __cdecl otb::TestHelper::DumpOGRFeature(struct _iobuf *,class > OGRFeature *,char * *)" > (?DumpOGRFeature@TestHelper@otb@@CAXPAU_iobuf@@PAVOGRFeature@@PAPAD@Z) > 138>OTBOssimAdapters.lib(otbImageKeywordlist.obj) : error LNK2001: > unresolved external symbol "public: virtual char * * __thiscall > GDALMajorObject::GetMetadataDomainList(void)" > (?GetMetadataDomainList@GDALMajorObject@@UAEPAPADXZ) > 138>OTBIO.lib(otbGDALImageIO.obj) : error LNK2019: unresolved external > symbol "public: virtual char * * __thiscall > GDALMajorObject::GetMetadataDomainList(void)" > (?GetMetadataDomainList@GDALMajorObject@@UAEPAPADXZ) referenced in function > "public: virtual __thiscall std::basic_stringbuf<char,struct > std::char_traits<char>,class std::allocator<char> > >::~basic_stringbuf<char,struct std::char_traits<char>,class > std::allocator<char> >(void)" > (??1?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@UAE@XZ) > 138>OTBIO.lib(otbGDALDriverManagerWrapper.obj) : error LNK2001: unresolved > external symbol "public: virtual char * * __thiscall > GDALMajorObject::GetMetadataDomainList(void)" > (?GetMetadataDomainList@GDALMajorObject@@UAEPAPADXZ) > 138>OTBOssimAdapters.lib(otbImageKeywordlist.obj) : error LNK2001: > unresolved external symbol "public: virtual class GDALRasterAttributeTable > * __thiscall GDALRasterBand::GetDefaultRAT(void)" > (?GetDefaultRAT@GDALRasterBand@@UAEPAVGDALRasterAttributeTable@@XZ) > 138>OTBIO.lib(otbGDALImageIO.obj) : error LNK2019: unresolved external > symbol "public: virtual class GDALRasterAttributeTable * __thiscall > GDALRasterBand::GetDefaultRAT(void)" > (?GetDefaultRAT@GDALRasterBand@@UAEPAVGDALRasterAttributeTable@@XZ) > referenced in function "public: virtual __thiscall > std::basic_istringstream<char,struct std::char_traits<char>,class > std::allocator<char> >::~basic_istringstream<char,struct > std::char_traits<char>,class std::allocator<char> >(void)" > (??1?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@UAE@XZ) > 138>OTBIO.lib(otbGDALDriverManagerWrapper.obj) : error LNK2001: unresolved > external symbol "public: virtual class GDALRasterAttributeTable * > __thiscall GDALRasterBand::GetDefaultRAT(void)" > (?GetDefaultRAT@GDALRasterBand@@UAEPAVGDALRasterAttributeTable@@XZ) > 138>OTBOssimAdapters.lib(otbImageKeywordlist.obj) : error LNK2001: > unresolved external symbol "public: virtual struct CPLVirtualMem * > __thiscall GDALRasterBand::GetVirtualMemAuto(enum GDALRWFlag,int *,__int64 > *,char * *)" > (?GetVirtualMemAuto@GDALRasterBand@@UAEPAUCPLVirtualMem@@W4GDALRWFlag@@PAHPA_JPAPAD@Z) > 138>OTBIO.lib(otbGDALImageIO.obj) : error LNK2001: unresolved external > symbol "public: virtual struct CPLVirtualMem * __thiscall > GDALRasterBand::GetVirtualMemAuto(enum GDALRWFlag,int *,__int64 *,char * > *)" > (?GetVirtualMemAuto@GDALRasterBand@@UAEPAUCPLVirtualMem@@W4GDALRWFlag@@PAHPA_JPAPAD@Z) > 138>OTBIO.lib(otbGDALDriverManagerWrapper.obj) : error LNK2001: unresolved > external symbol "public: virtual struct CPLVirtualMem * __thiscall > GDALRasterBand::GetVirtualMemAuto(enum GDALRWFlag,int *,__int64 *,char * > *)" > (?GetVirtualMemAuto@GDALRasterBand@@UAEPAUCPLVirtualMem@@W4GDALRWFlag@@PAHPA_JPAPAD@Z) > 138>C:\420\bin\Release\otbTestDriver.exe : fatal error LNK1120: 38 > unresolved externals > 138> > 138>Build FAILED. > 138> > 138>Time Elapsed 00:00:12.82 > 139>------ Build started: Project: OTBSimulation, Configuration: Release > Win32 ------ > 139>Build started 11/10/2014 13:38:19. > 139>InitializeBuildStatus: > 139> Creating "OTBSimulation.dir\Release\OTBSimulation.unsuccessfulbuild" > because "AlwaysCreate" was specified. > 139>CustomBuild: > 139> Building Custom Rule > C:/OTB-4.2.0/OTB-4.2.0/Code/Simulation/CMakeLists.txt > 139> CMake does not need to re-run because > C:\420\Code\Simulation\CMakeFiles\generate.stamp is up-to-date. > 139>ClCompile: > 139> otbDataSpecP5B.cxx > 139> otbLeafParameters.cxx > 133> otbWrapperInputImageParameter.cxx > 139> otbProspectModel.cxx > 139> otbSailModel.cxx > 133> otbWrapperInputProcessXMLParameter.cxx > 139> Generating Code... > 139>Lib: > 139> OTBSimulation.vcxproj -> C:\420\bin\Release\OTBSimulation.lib > 139>FinalizeBuildStatus: > 139> Deleting file > "OTBSimulation.dir\Release\OTBSimulation.unsuccessfulbuild". > 139> Touching "OTBSimulation.dir\Release\OTBSimulation.lastbuildstate". > 139> > 139>Build succeeded. > 139> > 139>Time Elapsed 00:00:38.26 > 140>------ Build started: Project: OTBSegmentation, Configuration: Release > Win32 ------ > 140>Build started 11/10/2014 13:38:58. > 140>InitializeBuildStatus: > 140> Creating > "OTBSegmentation.dir\Release\OTBSegmentation.unsuccessfulbuild" because > "AlwaysCreate" was specified. > 140>CustomBuild: > 140> Building Custom Rule > C:/OTB-4.2.0/OTB-4.2.0/Code/Segmentation/CMakeLists.txt > 140> CMake does not need to re-run because > C:\420\Code\Segmentation\CMakeFiles\generate.stamp is up-to-date. > 140>ClCompile: > 140> foo.cxx > 140>Lib: > 140> OTBSegmentation.vcxproj -> C:\420\bin\Release\OTBSegmentation.lib > 140>FinalizeBuildStatus: > 140> Deleting file > "OTBSegmentation.dir\Release\OTBSegmentation.unsuccessfulbuild". > 140> Touching > "OTBSegmentation.dir\Release\OTBSegmentation.lastbuildstate". > 140> > 140>Build succeeded. > 140> > 140>Time Elapsed 00:00:05.23 > 141>------ Build started: Project: ITKCommon-all, Configuration: Release > Win32 ------ > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
