kylix3, tcp/ip from cmdline, cannot be compiled
I'm using Kylix 3 enterprise and I need to create a server using INDY component (TIdTCPServer) => I have to use this component in command-line application, not in a form (GUI).
I tested it in C++ Builder (Windows) and the following part of code works in Windows:
IdTCPServer = new TIdTCPServer(NULL);
IdTCPServer->....setting many properties
IdTCPServer->Active = true;
After executing these commands server is listening and working fine.
When I attempt to build this project on Kylix...
[Linker Error] Unresolved external 'Idtcpserver::TIdTCPServer::' \
referenced from Unit1.o
[Linker Error] Unresolved external '__fastcall Idtcpserver::TIdTCPServer::TIdTCPServer\
(Classes::TComponent *)' referenced from Unit1.o
File Unit1.h contains the same includes (#include <...>) as the GUI version.
When I create normal application - Form (CLX), place this component to the form and set all parameters, everything works. But I don't need it in GUI.
btw: Do you know, how can be this message repaired?
Message catalog not found
July 30th, 2004, 06:32 PM
late but the answer
the way to reapair this message is to modify two options.
in the project manager, right click on project leave, and click on "Edit Option Source"
So, the options are
<LIBRARIES value="rtl.a indy.a"/> (Add indy.a)
<SPARELIBS value="indy.a rtl.a"/> (Add indy.a)
and the error is repaired...http://forums.devshed.com/newreply.php?do=newreply&p=628650#
Originally Posted by |-|0\/\/4|2|)