David Bertoni wrote:
>
>
> Where did you build and install the Xerces-C library? You aren't
> providing any -I arguments to g++ to locate header files, so I assumed
> you installed it in a standard system location the compiler and linker
> already search.
>
> Use the -L command line option to specify the path to the library:
>
> g++ -o testing.out testing2.cpp -L /I-installed-Xerces-here/lib -l
> xerces-c
>
> Dave
>
>
Thank you , Dave.
--
View this message in context:
http://www.nabble.com/Undefined-reference-when-compiles-xerces-example-tp24182941p24196340.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.