Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: typename/class Pin
Zac Howland28-Jun-06 3:45
Zac Howland28-Jun-06 3:45 
QuestionDetermine bounding rect of a string [modified] Pin
AnTri28-Jun-06 3:07
AnTri28-Jun-06 3:07 
AnswerRe: Determine bounding rect of a string Pin
Cedric Moonen28-Jun-06 3:13
Cedric Moonen28-Jun-06 3:13 
QuestionRe: Determine bounding rect of a string Pin
Viorel.28-Jun-06 3:15
Viorel.28-Jun-06 3:15 
AnswerRe: Determine bounding rect of a string Pin
Muhammad Azam28-Jun-06 3:39
Muhammad Azam28-Jun-06 3:39 
QuestionLinker Error when compiling C++ project in G++ compiler Pin
Sriram Venkatesh28-Jun-06 2:59
Sriram Venkatesh28-Jun-06 2:59 
QuestionRe: Linker Error when compiling C++ project in G++ compiler Pin
Sarath C28-Jun-06 5:20
Sarath C28-Jun-06 5:20 
AnswerRe: Linker Error when compiling C++ project in G++ compiler Pin
Sriram Venkatesh28-Jun-06 18:48
Sriram Venkatesh28-Jun-06 18:48 
Hi Sarath,

It's a linker error. I'm able to link all my other libraries except axiscpp libraries.

I'm having axis-c-1.6b for win32. The axis package provides 2 libraries "axis_client.lib" and "axis_server.lib".

The cl compiler that Visual Studio uses is able to find the libraries and I'm able to execute my project, but the g++ compiler that comes with Dev-Cpp and Eclipse with CDT plugin is unable to find the axis libraries.

One guess is that, the library I'm using is not conformant to the mingw compiler
or Does any extra linker arguments need to be specified for linking only axis libraries?

Extract from compile log:
----------------------------------
g++.exe ../../../../../CVSWorkspace/MyProject/agent/src/register/RegisterAgent.o ../../../../../CVSWorkspace/MyProject/agent/src/register/Agent.o ../../../../../CVSWorkspace/MyProject/agent/src/webserviceclient/stubs/Query.o
-o "RegisterAgent.exe" -L"D:/Dev-Cpp/lib" -L"D:/AxisClient/axis-c/axis-c-1.6b-Win32-trace-bin/lib/axis" -L"D:/CVSWorkspace/MyProject/3rdparty/agent-lib" -L"D:/CVSWorkspace/MyProject/3rdparty/sql-lib" -L"D:/AxisClient/axis-c/axis-c-1.6b-Win32-trace-bin/lib/axis" ../../../../../CVSWorkspace/MyProject/3rdparty/sql-lib/sqlite3.lib ../../../../../AxisClient/axis-c/axis-c-1.6b-Win32-trace-bin/lib/axis/axis_client.lib

../../../../../CVSWorkspace/MyProject/agent/src/webserviceclient/stubs/Query.o(.text+0x154):Query.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
../../../../../CVSWorkspace/MyProject/agent/src/webserviceclient/stubs/Query.o(.text+0x844):Query.cpp: undefined reference to `axiscpp::Stub::~Stub()'

collect2: ld returned 1 exit status
make.exe: *** [RegisterAgent.exe] Error 1
Execution terminated
----------------------------------

Regards,
Sriram.V
QuestionHow do i open a text file in notepad using VC++? Pin
nripun28-Jun-06 2:57
nripun28-Jun-06 2:57 
AnswerRe: How do i open a text file in notepad using VC++? Pin
Cedric Moonen28-Jun-06 3:01
Cedric Moonen28-Jun-06 3:01 
AnswerRe: How do i open a text file in notepad using VC++? Pin
Ganesh_T28-Jun-06 3:12
Ganesh_T28-Jun-06 3:12 
GeneralRe: How do i open a text file in notepad using VC++? Pin
nripun28-Jun-06 21:43
nripun28-Jun-06 21:43 
AnswerRe: How do i open a text file in notepad using VC++? Pin
Hamid_RT28-Jun-06 3:21
Hamid_RT28-Jun-06 3:21 
Questionswf and scr Pin
max10128-Jun-06 2:29
max10128-Jun-06 2:29 
AnswerRe: swf and scr Pin
Sarath C28-Jun-06 4:52
Sarath C28-Jun-06 4:52 
Questioncreation of graphs [modified] Pin
sriv_1828-Jun-06 2:17
sriv_1828-Jun-06 2:17 
AnswerRe: creation of graphs Pin
toxcct28-Jun-06 2:26
toxcct28-Jun-06 2:26 
QuestionWant to find out all the broken installation. Pin
Aryan S28-Jun-06 2:12
Aryan S28-Jun-06 2:12 
AnswerRe: Want to find out all the broken installation. Pin
ovidiucucu28-Jun-06 8:08
ovidiucucu28-Jun-06 8:08 
QuestionGetting Exception when two instance of ActiveX control are opened using Ctrl+N in IE Pin
Muhammad Azam28-Jun-06 1:47
Muhammad Azam28-Jun-06 1:47 
Questionon-the-fly html file generation Pin
snir_ya28-Jun-06 1:29
snir_ya28-Jun-06 1:29 
AnswerRe: on-the-fly html file generation Pin
Sarath C28-Jun-06 1:44
Sarath C28-Jun-06 1:44 
AnswerRe: on-the-fly html file generation Pin
Benoy Bose28-Jun-06 2:08
Benoy Bose28-Jun-06 2:08 
AnswerRe: on-the-fly html file generation Pin
Muhammad Azam28-Jun-06 2:33
Muhammad Azam28-Jun-06 2:33 
QuestionSerialization Pin
_Tom_28-Jun-06 0:44
_Tom_28-Jun-06 0:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.