|
From: <pre...@vo...> - 2002-12-14 12:38:49
|
I'm trying to compile my simple project for ICQapi.. I have =
libicqmapi.a (in C:\Dev-Cpp\lib) a also icqmapi.dll (in project =
directory) .. but i'm not able to compile it..=20
Linker parameter is set to -licqmapi but it doesnt work... =20
Something with libwsock32.a is working ok.. =20
thanx for help... =20
error>>
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Projects\Makefile.win"
Finding dependencies for file: C:\Dev-Cpp\Projects\icqu.cpp
Executing make...
make.exe -f "C:\Dev-Cpp\Projects\Makefile.win" all
g++.exe icqu.o -o "icqu.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/lib" =
-mwindows -licqmapi -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" =
-I"C:/Dev-Cpp/include" =20
icqu.o(.text+0x5e):icqu.cpp: undefined reference to =
`ICQAPICall_SetLicenseKey__FPcN20@12'
icqu.o(.text+0x73):icqu.cpp: undefined reference to =
`ICQAPICall_SendMessage__FiPc@8'
make.exe: *** [icqu.exe] Error 1
Execution terminated
source>>
#include <iostream>
#include <stdlib.h>
#include <windows.h>
#include <ICQAPIInterface.h>
int main(int argc, char *argv[])
{
ICQAPICall_SetLicenseKey ("test", "test", "test");
system("PAUSE");=20
return 0;
}
|