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.
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.