@anda_skoa
But i can't access the functions defined in .lib, thats the main issue. So, can i take it as .lib file is corrupted?
Sathish.
@anda_skoa
But i can't access the functions defined in .lib, thats the main issue. So, can i take it as .lib file is corrupted?
Sathish.
What do you mean by "i can't access the functions defined in .lib"? What happens if you try to compile, run, and debug a call to a function of the library?
The message you get looks like an ordinary log message printed by a function when one of its preconditions is false. What does line 247 of ftdi_infra.c do? What "expression" could possibly be NULL when another value was expected?
You couldn't get a runtime error if you couldn't access a function defined in a lib because it would not have built and there would be nothing to run.
The fact that you are able to start the program implies that the library was linked correctly, all symbols needed from it properly resolved.
Cheers,
_
@yeye_olive
That statement comes from .lib so i can't check it manually, because i don't have the source code for that specific library.
Note:
If i use this .lib in Microsoft Visual C++ 6.0 i can able to access that function, so is there any compatibility issue from VCC to Qt?
Have you tried searching the Web for the error message you got? I did, and I found something that looks relevant:
http://stackoverflow.com/questions/2...ftdis-libmpsse
Have you read the documentation of the library and made sure you use it correctly?
@yeye_olive
Thanks for your effort, i too did that, but as i mentioned in my comment #1 i am working in windows platform, i have read the documentation of the library i found only details about the functions defined & OS platforms supportable. In that it is mentioned that it can be used both in windows and linux.
Sathish.
The stack overflow answer suggests that the error message is caused by a missing runtime dependency. Have you tried putting the required DLL files in the same directory as your .exe file?
@ anda_skoa
Yes, i have included .dll file in the path but still the problem persist, i also do have .a file but i don't have any idea what it will do and what is it for??
Should i add .dll manually that means in .pro file should i have to give the link separately??
Sathish.
Bookmarks