Hi,
I see that you can't link the "otbTestDriver". However, the 2 next
target have been built successfully.
Could you give some details on the setup of your platform :
- which OS is it ?
- GDAL version ?
Regards,
Guillaume
Le 11/10/2014 14:38, 'milou' via otb-users 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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
<www.c-s.fr> *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information*
<https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département
APPLICATIONS*
*CS Systèmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]
--
--
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.