lemanhtrung / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

Examples don't compile on Windows #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
at first I compile the src.pro. So I get qextserialportd1.a and
qextserialportd1.dll.

But when I try to compile the Examples I get "collect2: ld returned 1 exit
status. What can I do?

Original issue reported on code.google.com by Justin.B...@googlemail.com on 19 May 2010 at 4:28

GoogleCodeExporter commented 9 years ago
I commented out the version in the src.pro, but the examples are still not 
working.
When I run the built enumerator I get an return value of -1073741515. 

Original comment by Justin.B...@googlemail.com on 20 May 2010 at 7:58

GoogleCodeExporter commented 9 years ago
i got the same issue here. any advice please? Thanks!

Original comment by yongk...@gmail.com on 25 Aug 2010 at 3:26

GoogleCodeExporter commented 9 years ago
OK, i have solved the problem. In the src.pro, comment out the VERSION line so 
that the output files are without the version number in the end.

Then in the enumerator.pro, make sure the QMAKE_LIBDIR points to the correct 
path where the files .a and .dll files are generated.

And then copy the .a and .dll files to the example output folder in order to 
get rid of runtime error code -1073741515

Original comment by yongk...@gmail.com on 25 Aug 2010 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by dbzhang...@gmail.com on 16 Mar 2012 at 8:29