From: John S. <cap...@ya...> - 2007-12-17 12:08:52
|
I've installed the QtAda Windows binary package and verified that Qt4 and QtAda were installed properly (the pre-compiled examples run fine). However, when I try to compile anything, I get a LOT of "undefined reference to" error messages at the link stage. For example, trying to compile tutorial t1. GNAT GPL (and QtAda) are installed at c:\gnat. I cd to c:\gnat\examples\qtada\tutorial\t1 and run: C:\GNAT\examples\qtada\tutorial\t1>gnatmake -Ic:\gnat\include\qtada\core -Ic:\gnat\include\qtada\gui -Ic:\gnat\include\qtada\ui_tools -c main This completes fine. I then run: C:\GNAT\examples\qtada\tutorial\t1>gnatbind -aOc:\gnat\lib\qtada -F main which also completes fine. Then, I try: C:\GNAT\examples\qtada\tutorial\t1>gnatlink main ...and get a zillion "undefined reference to" errors. Obviously I'm missing something. Qt4\bin is in my path, ad is gnat and qtada, so it should be finding everything it needs. Is there a gnatlink option I'm missing? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |