[Qt-interest] -L/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib -F/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib

Gabriele Kahlout gabriele at mysimpatico.com
Wed Dec 8 18:04:38 CET 2010


On 8 December 2010 08:49, <Oliver.Knoll at comit.ch> wrote:

> On 2010-12-06 Gabriele Gabriele Kahlout wrote:
>
> > ...
> > '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-
> > 4.7.0/lib' following -L not found
> > ld: warning: directory
> > '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-
> > 4.7.0/lib' following -F not found
> >
> > Where do these libs come from, in the makefile? Should I replace them
> > with an alternative path?
>
> This is a known issue in the current binary SDK on Mac:
> http://bugreports.qt.nokia.com/browse/QTBUG-13462
>
> A workaround using perl is provided in the issue description.
>
> The easiest solution though is probably download the latest binary Qt 4.7.1
> and install it "over" your Qt SDK. It is fixed in Qt 4.7.1 (note that the
> SDK still comes with Qt 4.7.0).
>

Done that, but now I've a new problem.


 Führe Build-Schritte für Projekt torrent aus...

Starte "/usr/bin/make" clean -w

make: Entering directory `/Developer/Examples/Qt/network/torrent-build'

rm -f moc_addtorrentdialog.cpp moc_mainwindow.cpp moc_peerwireclient.cpp
moc_ratecontroller.cpp moc_filemanager.cpp moc_torrentclient.cpp
moc_torrentserver.cpp moc_trackerclient.cpp

rm -f qrc_icons.cpp

rm -f mainwindow.moc

rm -f ui_addtorrentform.h

rm -f main.o addtorrentdialog.o bencodeparser.o connectionmanager.o
mainwindow.o metainfo.o peerwireclient.o ratecontroller.o filemanager.o
torrentclient.o torrentserver.o trackerclient.o moc_addtorrentdialog.o
moc_mainwindow.o moc_peerwireclient.o moc_ratecontroller.o moc_filemanager.o
moc_torrentclient.o moc_torrentserver.o moc_trackerclient.o qrc_icons.o

rm -f *~ core *.core

make: Leaving directory `/Developer/Examples/Qt/network/torrent-build'

Der Prozess "/usr/bin/make" wurde normal beendet.

Unveränderte Konfiguration, qmake-Schritt wird übersprungen.

Starte "/usr/bin/make" -w

make: Entering directory `/Developer/Examples/Qt/network/torrent-build'

/Developer/Tools/Qt/uic ../torrent/forms/addtorrentform.ui -o
ui_addtorrentform.h

g++ -c -pipe -g -gdwarf-2 -arch i386 -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I../torrent
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui -I/usr/include -I. -I. -I../torrent -I.
-F/Library/Frameworks -o main.o ../torrent/main.cpp

cc1plus: error: unrecognized command line option "-arch"

make: Leaving directory `/Developer/Examples/Qt/network/torrent-build'

make: *** [main.o] Error 1

Der Prozess "/usr/bin/make" wurde mit dem Rückgabewert %2 beendet.

Fehler beim Erstellen des Projekts torrent(Ziel: Desktop)

Bei der Ausführung von Build-Schritt 'Make'


And this is running the torrent demo project in qt creator. It's not a
problem of g++ since I can build non-qt c++ project.

/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
/usr/bin/make  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/quote_1
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/quote.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/quote.o.d -o
build/Debug/GNU-MacOSX/quote.o quote.cc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/system.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/system.o.d -o
build/Debug/GNU-MacOSX/system.o system.cc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/memory.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/memory.o.d -o
build/Debug/GNU-MacOSX/memory.o memory.cc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/module.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/module.o.d -o
build/Debug/GNU-MacOSX/module.o module.cc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/customer.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/customer.o.d -o
build/Debug/GNU-MacOSX/customer.o customer.cc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/cpu.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/cpu.o.d -o
build/Debug/GNU-MacOSX/cpu.o cpu.cc
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/disk.o.d
g++    -c -g -Wall -MMD -MP -MF build/Debug/GNU-MacOSX/disk.o.d -o
build/Debug/GNU-MacOSX/disk.o disk.cc
mkdir -p dist/Debug/GNU-MacOSX
g++     -o dist/Debug/GNU-MacOSX/quote_1 build/Debug/GNU-MacOSX/quote.o
build/Debug/GNU-MacOSX/system.o build/Debug/GNU-MacOSX/memory.o
build/Debug/GNU-MacOSX/module.o build/Debug/GNU-MacOSX/customer.o
build/Debug/GNU-MacOSX/cpu.o build/Debug/GNU-MacOSX/disk.o
BUILD SUCCESSFUL (total time: 13s)


simpatico$ qmake -v
QMake version 2.01a
Using Qt version 4.7.1 in /Library/Frameworks

simpatico$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin10/4.5.1/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.5.1/configure --prefix=/opt/local
--build=x86_64-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,fortran,java
--libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
--with-system-zlib --disable-nls --program-suffix=-mp-4.5
--with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local
--with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking
--disable-multilib --enable-fully-dynamic-string
Thread model: posix
gcc version 4.5.1 (GCC)



> Cheers, Oliver
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101208/151520df/attachment.html 


More information about the Qt-interest-old mailing list