help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ -o Problem


From: Armel Asselin
Subject: Re: g++ -o Problem
Date: Tue, 13 Jun 2006 11:06:24 +0200

"Cartman" <carlosarturoq@gmail.com> a écrit dans le message de news: 
1150153006.034972.62200@j55g2000cwa.googlegroups.com...
> Hi All
> I'm working in c++ a long time ago, actually i'm java developer, but
> need to compile a cpp class to make one integration in a EAI solution.
> When run the next link option
> g++ obj/CreateXmlDocument.o  -o "bin\CreateXmlDocument.exe"
> -L"C:/dir/lib"
> i receive the next error
> obj/CreateXmlDocument.o(.text+0x17f):CreateXmlDocument.cpp: undefined
> reference to `rwsf::sdo::DataFactory::getDataFactory()'
> and others similars
> i suppose need some lib file but i put them in C:/dir/lib, what more
> need to do?
g++ does not have a #pragma lib( ) as VC++
you need to specify something as '-lrwsf' (imagining that your lib is 
librwsf.a) in your command line

Armel 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]