Xièxiè NimbusParc. your answer saved me. I did the same mistake while linking. thank you once again
NimbusParc wrote > Here, The problem with the linking. You can use the following to execute > the individual programs after installing the broker. > Let us assume that you installed the broker with "cmake" in a separate > directory * > build/ * > . > you need to export the * > LD_LIBRARY_PATH=/path/to/.so files/ * > environmental variable. Then.. > > $ g++ -o hello hello_world.cpp -I /path/to/include/directory/in/qpid -L > /path/to/.so files/in/build/src/folder -lqpidmessaging > > Also, link * > -lqpidtypes * > if needed. > > This will execute your programs. -- View this message in context: http://qpid.2158936.n2.nabble.com/executing-qpid-c-programs-with-g-compiler-tp7590258p7598226.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
