Posted: Wed Jul 06, 2011 10:14 pm Post subject: How to compile sample C programs in WMQ v7.0
Newbie
Joined: 30 Jun 2011 Posts: 7
Hi everyone....
I just try to compile amqsput0.c program with Turbo C compiler.....
I m getting sooo many errors because it is unable to include MQI header files.Exactly my problem is how to include these MQ specific header files in C compiler. Can any one pls help me how to compile sample C files in MQ software.
I checked path variable too ...all the entries r ther....still i m unable to compile those sample programs......pls help me out.....
The documentation/manuals for your development suite will contain information in regard to referencing external resources/dependencies. Alternatively, you may wish to try Googling. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Posted: Thu Jul 07, 2011 5:05 am Post subject: Re: How to compile sample C programs in WMQ v7.0
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
rockravi wrote:
Exactly my problem is how to include these MQ specific header files in C compiler
Use the compiler specific flags & options to include those header files.
rockravi wrote:
Can any one pls help me how to compile sample C files in MQ software.
Pedantically you don't compile C files in MQ software. You compile them in a compiler. The fact that they reference MQ software components doesn't make them any different from C code that references databases (for example).
I checked path variable too ...all the entries r ther....
The fact that you think your compiler options and include path are controlled by the PATH environment variable shows an alarming lack of knowledge about the platform generally and your compiler software specifically. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum