000 
            03.06.2016, 13:54 Uhr 
            saladin 
            
             
            
             
             
             | 
          Servus, 
  wahrscheinlich ein 1000...-Fach diskutiertes Thema, aber ich probier jetzt schon seit Stunden herum und finde meinen Fehler einfach nicht. Folgende Anweisung gibt mir das Tutorial Dokument der GeniCam API: 
  "Go to the project's properties, set the configuration to All Configurations, and add $(GENICAM_ROOT_V2_1)/library/CPP/Include as additional include directory and $(GENICAM_ROOT_V2_1)/library/CPP/Lib/Win32_i86 as additional library directory. Note that VisualStudio understands the $() notion so you do not have to replace the environment variable manually." 
  Ich hab "$(GENICAM_ROOT_V2_4)/library/CPP/Include" unter Eigenschaften->C/C++/Allgemein/Zusätzliche Incudeverzeichnisse eingetragen. Sowohl mit der $() Notation als auch manuell. 
  "$(GENICAM_ROOT_V2_4)/library/CPP/Lib/Win46_x64" habe ich unter Eigenschaften->Linker/Allgemein/Zusätzliche Bibliotheksverzeichnisse eingetragen. Sowohl mit der $() Notation als auch manuell. 
  Da ich eine neuere Version der API verwende habe ich die Pfade namentlich angepasst. 
  Nach all dem gefuchtel bekomme ich trotzdem einen Klotz an Fehlermeldungen. 
  
   
  
  
    | C++: | 
   
  
    
      
  // GeniCamApplikation.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung.  //     #include "stdafx.h"  #include <iostream>  #include "GenApi\GenApi.h"        using namespace std;  using namespace GenICam;  using namespace GenApi;        int _tmain(int argc, _TCHAR* argv[])  {      CNodeMapRef Camera;         return 0;  }
       
      
     | 
   
   
  
  
   
  
  
    | Zitat: | 
   
  
    
      
   1>------ Erstellen gestartet: Projekt: GeniCamApplikation, Konfiguration: Debug Win32 ------  1> GeniCamApplikation.cpp  1>GeniCamApplikation.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall GenICam::gcstring::gcstring(char const *)" (__imp_??0gcstring@GenICam@@QAE@PBD@Z)" in Funktion ""public: __thiscall GenICam::ExceptionReporter<class GenICam::AccessException>::ExceptionReporter<class GenICam::AccessException>(char const *,int,char const *)" (??0?$ExceptionReporter@VAccessException@GenICam@@@GenICam@@QAE@PBDH0@Z)".  1>GeniCamApplikation.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall GenICam::gcstring::gcstring(class GenICam::gcstring const &)" (__imp_??0gcstring@GenICam@@QAE@ABV01@@Z)" in Funktion ""public: __thiscall GenApi::CNodeMapRefT<class GenApi::CGeneric_XMLLoaderParams>::CNodeMapRefT<class GenApi::CGeneric_XMLLoaderParams>(class GenICam::gcstring)" (??0?$CNodeMapRefT@VCGeneric_XMLLoaderParams@GenApi@@@GenApi@@QAE@Vgcstring@GenICam@@@Z)".  1>GeniCamApplikation.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall GenICam::gcstring::~gcstring(void)" (__imp_??1gcstring@GenICam@@UAE@XZ)" in Funktion ""public: __thiscall GenApi::CNodeMapRefT<class GenApi::CGeneric_XMLLoaderParams>::CNodeMapRefT<class GenApi::CGeneric_XMLLoaderParams>(class GenICam::gcstring)" (??0?$CNodeMapRefT@VCGeneric_XMLLoaderParams@GenApi@@@GenApi@@QAE@Vgcstring@GenICam@@@Z)".  1>GeniCamApplikation.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall GenICam::AccessException::AccessException(char const *,char const *,int,char const *)" (__imp_??0AccessException@GenICam@@QAE@PBD0H0@Z)" in Funktion ""public: class GenICam::AccessException __cdecl GenICam::ExceptionReporter<class GenICam::AccessException>::Report(char const *,...)" (?Report@?$ExceptionReporter@VAccessException@GenICam@@@GenICam@@QAA?AVAccessException@2@PBDZZ)".  1>GeniCamApplikation.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) struct GenApi::INodeMap * __cdecl GenApi::_InternalLoadDLL(class GenICam::gcstring,class GenICam::gcstring,class GenICam::gcstring)" (__imp_?_InternalLoadDLL@GenApi@@YAPAUINodeMap@1@Vgcstring@GenICam@@00@Z)" in Funktion ""public: virtual void __thiscall GenApi::CNodeMapRefT<class GenApi::CGeneric_XMLLoaderParams>::_ExtractIndependentSubtree(class GenICam::gcstring const &,class GenICam::gcstring const &,class GenICam::gcstring const &,class GenICam::gcstring &)" (?_ExtractIndependentSubtree@?$CNodeMapRefT@VCGeneric_XMLLoaderParams@GenApi@@@GenApi@@UAEXABVgcstring@GenICam@@00AAV34@@Z)".  1>GeniCamApplikation.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: __thiscall GenICam::AccessException::AccessException(class GenICam::AccessException const &)" (??0AccessException@GenICam@@QAE@ABV01@@Z)".  1>GeniCamApplikation.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: __thiscall GenICam::GenericException::GenericException(class GenICam::GenericException const &)" (??0GenericException@GenICam@@QAE@ABV01@@Z)".  1>GeniCamApplikation.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual __thiscall GenICam::AccessException::~AccessException(void)" (??1AccessException@GenICam@@UAE@XZ)".  1>C:\....\Documents\Visual Studio 2012\Projects\GeniCamApplikation\Debug\GeniCamApplikation.exe : fatal error LNK1120: 8 nicht aufgelöste Externe  ========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========
       
     | 
   
   
  
  Hat jemand eine Idee was ich noch versuchen könnte ? Dieser Post wurde am 03.06.2016 um 13:54 Uhr von saladin editiert. |