pls help me

Hi ,

I am getting some boring errors .I can't get rid of them.
I have libmodbus source codes compiled with visual studio 2010 .I want to migrate them visual studio 2010 to Qt creator.For this , i set up necessary tools such as visual studio add in.However when i tried to migrate them , qt gives me some error.By the way , in qt I have two compilers which are visual studio cl , mingw.
Qt gives
"undeclared identifier(first use in this function)" for mingw
"undeclared identifier" for cl.
The interesting thing is that I can compile these codes in visual studio.
That is to say , There is no error in codes.

Regards.
well they are both saying the same thing. you used a variable in some function that you didnt declare first
Ok , but nothing wrong in codes.Because i can compile it in visual studio.Source codes were taken from "Modbus.org". I think something wrong in headers or environment variables for compilers in qt.But of course I don't know.I tried everything but failed.
just becuase vs compiled it means nothing. once again. the function it is talking about has a variable that is being used that wasnt declared
Ty for your response.I will check it out.
Topic archived. No new replies allowed.