我收到问题主题中描述的错误。这是下面的文件。
PvDeviceGEV.h
#ifndef __PV_DEVICE_GEV_H__
#define __PV_DEVICE_GEV_H__
#include "PvDevice.h"
class PV_DEVICE_API PvDeviceGEV : public PvDevice <- error message points here
{
public:
PvDeviceGEV();
virtual ~PvDeviceGEV();
PvResult SetStreamDestination( const PvString &aIPAddress, uint16_t aDataPort, uint32_t aChannel = 0 );
};
#endif // __PV_DEVICE_GEV_H__
我有如下Camera.swigcxx
%module connectionRecovery_module
%{
#include "ConnectionRecovery.h"
#include "PvDevice.h"
#include "PvDeviceGEV.h"
%}
%include "ConnectionRecovery.h"
%include "PvDevice.h"
%include "PvDeviceGEV.h"
我没有.cpp文件,因为它们被锁定在DLL中。让我知道您是否需要更多有关如何解决此错误的信息。我认为我必须调整.swigcxx文件,但不确定。谢谢!