ibm-messaging / mq-metric-samples

IBM® MQ metric gathering client samples
Apache License 2.0
58 stars 70 forks source link

Undefined MQ objects error while building on Windows Machine #325

Open shrashar opened 2 months ago

shrashar commented 2 months ago

Please include the following information in your ticket.

17249533329344113513356214872727

vgavinash commented 2 months ago

This issue can give you an idea - https://github.com/ibm-messaging/mq-metric-samples/issues/322. It seems you need a c/gcc compiler. Assuming you already have the mq redist package in /opt/mqm loc.

shrashar commented 2 months ago

C complier is also installed.

ibmmqmet commented 2 months ago

Like #324 this looks like you're trying to do some kind of cross-compile. Building for Windows requires the MQ for Windows client to be available along with a suitable (read the documentation) C compiler. Look at the scripts/buildMonitors.bat script.

shrashar commented 2 months ago

Hi Mark,

I am using the windows MQ client and windows GCC compiler as per documentation. I will delete my other post about mac and Linux.

I am still getting same undefined ibmmq objects error.

PFA screenshot for windows environment.

17250317279881678888699697439012