Hi everyone!
I have been trying to program my TXT controller from DevC++ using the files availiable in the web page "TXT-C-Programming-Expert-Kit", but any example throws the next error.
C:\Users\usted\AppData\Local\Temp\cc5FVPet.o Main.cpp:(.text+0x96): undefined reference to ftIF2013TransferAreaComHandler::ftIF2013TransferAreaComHandler(shm_if_s*, int, char const*, char const*)'
even if I use only a small part of code
#include <iostream>
#include "../Common/ftProInterface2013TransferAreaCom.h"
using namespace std;
FISH_X1_TRANSFER *TransArea;
ftIF2013TransferAreaComHandler *ComHandler;
int main()
{
TransArea = new FISH_X1_TRANSFER[IF08_MAX];
ComHandler = new ftIF2013TransferAreaComHandler( TransArea, IF08_MAX, "192.168.7.2" );
return 0;
}
We appreciate all help than you can give us
greetings from Colombia
Error with the TXT examples in C++
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!
Re: Error with the TXT examples in C++
Hello bethory,
have you included the files found in /Common/ in your DevC++ project?
It seems that you are missing the actual implemention of the classes (the .cpp files) so the linker gives you that error.
Greetings from Germany
have you included the files found in /Common/ in your DevC++ project?
It seems that you are missing the actual implemention of the classes (the .cpp files) so the linker gives you that error.
Greetings from Germany