On Nov 21, 2005, at 5:26 AM, Christian Stimming wrote:
Hi David,
David Reiser schrieb:
and if you modify the libqbanking.la so that it ends in
-L/Developer/qt/lib -lqt-mt -lz
No. Something is insisting on looking in the .la file. then the
error message is:
libtool: link: cannot find the library `' (libqt-mt.la: Carbon)
So, the compiler is trying to link against Apple system
frameworks. Ack. If I move libqt-mt.la out of the way, then I get
a usr/bin/ld error (sorry didn't copy it) about not being able to
find a file for libqt-mt
So the question should rather be: How can you compile and link
something to that installed QT library with gcc and make?
Yes, I think Qt is playing games with me on this one. Time to visit
the fink gurus.
After a strange go-around with a symlink back into the system's
version of libjpeg.dylib instead of fink's (qt dependency glitch,
perhaps), I now get undefined symbol errors:
g++ -I/opt/include -g -Wall -g -o .libs/aqofxconnect-qt3-wizard ...
/usr/bin/ld: warning multiple definitions of symbol
_glPointParameteri
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glPointParameteri
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
_glPointParameteri
I wonder whether some LD_LIBRARY_PATH setting could help here, but
I'm not sure. Something like
LD_LIBRARY_PATH=/usr/X11R6/lib make
No luck. But those undefined typeinfo messages look more like
additional Qt oddities.
And anyhow, if you got the aqbanking from CVS, gwen-1-branch, then
you should have gotten a small executable called "testlib" in the
directory src/frontends/qbanking/ . Did this build (and link)
correctly? That would give at least a first hint on the correctness
of the linker arguments.
I received no complaints from the compiler or linker regarding
testlib. If I run it in its home directory, I get:
[G5D:src/frontends/qbanking] dbr% ./testlib
dyld: Symbol not found: __ZTI14QPtrCollection
Referenced from: /Users/dbr/dev/aqbanking-1.6.1cvs/aqbanking/src/
frontends/qbanking/.libs/libqbanking.1.dylib
Expected in: flat namespace
Trace/BPT trap
If the qt3 linking on Mac still doesn't work then we can also :-)
offer the qt4 version of the ofxconnect wizard. To use those,
follow the instructions in the aqbanking README about QT-4.
Basically you have to specify all include flags by the
qt3_includes="..." variable and all linker flags by the
qt3_libs="..." variable, and call additionally "make qt4-port"
before compiling. I don't know whether the QT-4 library is easier
linked into the project, but if the qt-3.3.5 doesn't give you any
progress than that's at least something else to try.
I'm stuck at qt3 -- there is no fink version of qt4 for the Mac yet.
At this point I'm sure I don't want a trolltech install, since that
tries to tie into the Mac system, which I think causes more trouble
than it is worth.
Christian
Thanks again.
--
David Reiser
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel