"Cartman" <[EMAIL PROTECTED]> a écrit dans le message de news: 
[EMAIL PROTECTED]
> 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 


_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to