Closed GoogleCodeExporter closed 9 years ago
In Windows I get an "collect2: ld returned 1 exit status" error, with dll. And
undefined reference with staitc.
Original comment by tuxia...@gmail.com
on 27 Mar 2010 at 5:25
As with any dynamic lib, you'll need to do one of the following:
* install the dynamic lib to one of the spots dyld knows to look for it
* add the path to the library to your DYLD_LIBRARY_PATH - you can either export this to your bash env if you're
running from the command line, or add it to your project run configuration in
QtCreator. The default is
$(HOME)/lib:/usr/local/lib:/lib:/usr/lib
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/m
an1/dyld.1.html has
more info
Original comment by lst...@gmail.com
on 27 Mar 2010 at 7:42
Ok I will try it. And whats with static linking is it possible and how does it
works?
Original comment by tuxia...@gmail.com
on 27 Mar 2010 at 7:49
Ok static linking seems to work by adding libqextserialportd.a to the project
folder
and LIBS+=libqextserialportd.a to the projekt file. This works for the event
example
but not for the enumerator. There I get:
:-1: error: collect2: ld returned 1 exit status
Original comment by tuxia...@gmail.com
on 27 Mar 2010 at 11:12
Original comment by dbzhang...@gmail.com
on 10 Apr 2012 at 4:13
Original issue reported on code.google.com by
tuxia...@gmail.com
on 27 Mar 2010 at 8:54