[RQt-devel] Installing on Snow Leopard
Barret Schloerke
barret at barretschloerke.com
Thu Apr 1 22:30:06 CEST 2010
Hello,
I am stuck in trying to install the qt packages onto my computer.
I have installed the 64 bit of Qt and successfully installed qtbase and
qtutils.
I have included my output for the installation of qtgui and qtpaint.
Please let me know if you have any ideas.
Best,
Barret Schloerke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20100401/6bf0bd8d/attachment.htm
-------------- next part --------------
bigbear-laptop:pkg barret$ R CMD install qtgui_0.0-6.tar.gz
* installing to library ?/Library/Frameworks/R.framework/Resources/library?
* installing *source* package ?qtgui? ...
** libs
** arch - x86_64
bash createProject.sh
make -f Makefile.qtgui
gcc -c -pipe -g -gdwarf-2 -Wall -W -fPIC -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.6/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/usr/include/QtSvg -I/usr/include -I/Library/Frameworks/R.framework/Versions/2.10/Resources/include -I/Library/Frameworks/R.framework/Versions/2.10/Resources/library/qtbase/include -I. -F/Library/Frameworks -o init.o init.c
g++ -c -pipe -g -gdwarf-2 -Wall -W -fPIC -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.6/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/usr/include/QtSvg -I/usr/include -I/Library/Frameworks/R.framework/Versions/2.10/Resources/include -I/Library/Frameworks/R.framework/Versions/2.10/Resources/library/qtbase/include -I. -F/Library/Frameworks -o imports.o imports.cpp
g++ -c -pipe -g -gdwarf-2 -Wall -W -fPIC -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.6/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtSvg.framework/Versions/4/Headers -I/usr/include/QtSvg -I/usr/include -I/Library/Frameworks/R.framework/Versions/2.10/Resources/include -I/Library/Frameworks/R.framework/Versions/2.10/Resources/library/qtbase/include -I. -F/Library/Frameworks -o basic.o basic.cpp
basic.cpp: In function ?SEXPREC* qt_qwidget()?:
basic.cpp:45: error: ?wrapQWidget? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qpushButton(SEXPREC*)?:
basic.cpp:51: error: ?wrapQWidget? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qsetText_QAbstractButton(SEXPREC*, SEXPREC*)?:
basic.cpp:56: error: expected primary-expression before ?)? token
basic.cpp:56: error: ?unwrapQObject? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qtext_QAbstractButton(SEXPREC*)?:
basic.cpp:62: error: expected primary-expression before ?)? token
basic.cpp:62: error: ?unwrapQObject? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qlabel(SEXPREC*)?:
basic.cpp:67: error: ?wrapQWidget? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qsetText_QLabel(SEXPREC*, SEXPREC*)?:
basic.cpp:72: error: expected primary-expression before ?)? token
basic.cpp:72: error: ?unwrapQObject? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qtext_QLabel(SEXPREC*)?:
basic.cpp:78: error: expected primary-expression before ?)? token
basic.cpp:78: error: ?unwrapQObject? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qlineEdit(SEXPREC*)?:
basic.cpp:86: error: ?wrapQWidget? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qsetText_QLineEdit(SEXPREC*, SEXPREC*)?:
basic.cpp:91: error: expected primary-expression before ?)? token
basic.cpp:91: error: ?unwrapQObject? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qtext_QLineEdit(SEXPREC*)?:
basic.cpp:97: error: expected primary-expression before ?)? token
basic.cpp:97: error: ?unwrapQObject? was not declared in this scope
basic.cpp: In function ?SEXPREC* qt_qcheckBox(SEXPREC*)?:
basic.cpp:102: error: ?wrapQWidget? was not declared in this scope
basic.cpp:103: error: ?wrapQWidget? was not declared in this scope
make[1]: *** [basic.o] Error 1
make: *** [all] Error 2
ERROR: compilation failed for package ?qtgui?
* removing ?/Library/Frameworks/R.framework/Resources/library/qtgui?
bigbear-laptop:pkg barret$ R CMD build qtpaint/
* checking for file 'qtpaint/DESCRIPTION' ... OK
* preparing 'qtpaint':
* checking DESCRIPTION meta-information ... OK
* cleaning src
rm -rf ../kdebindings-build
rm -rf ../src-build
rm -rf ../inst/local
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
WARNING: directory 'qtpaint/inst' is empty
* building 'qtpaint_0.7.2.tar.gz'
bigbear-laptop:pkg barret$ R CMD install qtp
qtpaint/ qtpaint_0.7.2.tar.gz
bigbear-laptop:pkg barret$ R CMD install qtpaint_0.7.2.tar.gz
* installing to library ?/Library/Frameworks/R.framework/Resources/library?
* installing *source* package ?qtpaint? ...
** libs
** arch - x86_64
mkdir -p ../kdebindings-build;
mkdir -p ../src-build;
cd ../kdebindings-build; \
cmake ../kdebindings \
-DCMAKE_INSTALL_PREFIX=../inst/local -DQTBASE_DIR=/Library/Frameworks/R.framework/Resources/library/qtbase \
-DR_INCLUDE_DIR=/Library/Frameworks/R.framework/Resources/include; \
DYLD_LIBRARY_PATH=/Library/Frameworks/R.framework/Resources/library/qtbase/local/lib \
LD_LIBRARY_PATH=/Library/Frameworks/R.framework/Resources/library/qtbase/local/lib make install
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Build qanviz smoke...
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/kdebindings-build
Scanning dependencies of target generate_smoke
[ 0%] Generating smokedata.cpp, x_1.cpp
using generator "/Library/Frameworks/R.framework/Versions/2.10/Resources/library/qtbase/local/bin/../lib/smokegen/generator_smoke.so"
include directory "/usr/include;/Library/Frameworks/QtCore.framework" doesn't exist
didn't find file "/private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpTsvk48/R.INSTALL10d63af1/qtbase/kdebindings-build/smoke/qt/../qtdefines"
parsing "/private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/kdebindings/smoke/qanviz/qanviz_includes.h"
Generating SMOKE sources...
preparing SMOKE data [qanviz]
writing out smokedata.cpp [qanviz]
writing out x_*.cpp [qanviz]
Done.
[100%] Built target generate_smoke
Install the project...
-- Install configuration: ""
-- Installing: /private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/inst/local/include/smoke/qanviz_smoke.h
-- Installing: /private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/kdebindings/../src-build/smokedata.cpp
-- Installing: /private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/kdebindings/../src-build/x_1.cpp
-- Installing: /private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/kdebindings/../src-build/qanviz_includes.h
cd ../src-build; \
cmake ../src \
-DCMAKE_INSTALL_PREFIX=../src \
-DR_LIBRARIES="-F/Library/Frameworks/R.framework/.. -framework R" \
-DR_INCLUDES=/Library/Frameworks/R.framework/Resources/include \
-DQTBASE_DIR=/Library/Frameworks/R.framework/Resources/library/qtbase; \
make install
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/Ke/KelkGmsJE-eNQMXzYVwckk+++TI/-Tmp-/RtmpWVh21S/R.INSTALL10d63af1/qtpaint/src-build
[ 4%] Generating moc_PlotView.cxx
[ 9%] Generating moc_Layer.cxx
[ 13%] Generating moc_RLayer.cxx
Scanning dependencies of target qtpaint
[ 18%] Building CXX object CMakeFiles/qtpaint.dir/Layer.cpp.o
[ 22%] Building CXX object CMakeFiles/qtpaint.dir/QtPainter.cpp.o
[ 27%] Building CXX object CMakeFiles/qtpaint.dir/imports.cpp.o
[ 31%] Building CXX object CMakeFiles/qtpaint.dir/OpenGLPainter.cpp.o
[ 36%] Building CXX object CMakeFiles/qtpaint.dir/RLayer.cpp.o
[ 40%] Building CXX object CMakeFiles/qtpaint.dir/init.cpp.o
[ 45%] Building CXX object CMakeFiles/qtpaint.dir/PainterWrappers.cpp.o
[ 50%] Building CXX object CMakeFiles/qtpaint.dir/ScenePainter.cpp.o
[ 54%] Building CXX object CMakeFiles/qtpaint.dir/paintUtils.cpp.o
[ 59%] Building CXX object CMakeFiles/qtpaint.dir/PlotView.cpp.o
[ 63%] Building CXX object CMakeFiles/qtpaint.dir/scene.cpp.o
[ 68%] Building CXX object CMakeFiles/qtpaint.dir/QtBasePainter.cpp.o
[ 72%] Building CXX object CMakeFiles/qtpaint.dir/convert.cpp.o
[ 77%] Building CXX object CMakeFiles/qtpaint.dir/TestWidget.cpp.o
[ 81%] Building CXX object CMakeFiles/qtpaint.dir/smokedata.cpp.o
[ 86%] Building CXX object CMakeFiles/qtpaint.dir/x_1.cpp.o
[ 90%] Building CXX object CMakeFiles/qtpaint.dir/moc_Layer.cxx.o
[ 95%] Building CXX object CMakeFiles/qtpaint.dir/moc_RLayer.cxx.o
[100%] Building CXX object CMakeFiles/qtpaint.dir/moc_PlotView.cxx.o
Linking CXX shared library qtpaint.so
Undefined symbols:
"_glPointSize", referenced from:
Qanviz::OpenGLPainter::drawSomeGlyphs(QImage const&, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawPoints(double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawCircle(double, double, int)in OpenGLPainter.cpp.o
"_glDrawArrays", referenced from:
Qanviz::OpenGLPainter::drawVertices(unsigned int, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawRectangles(double*, double*, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawMidpointCircle(int, int, unsigned int, bool)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawMidpointCircle(int, int, unsigned int, bool)in OpenGLPainter.cpp.o
"_glPointParameteri", referenced from:
Qanviz::OpenGLPainter::prepareDrawGlyphs() in OpenGLPainter.cpp.o
"_glGetFloatv", referenced from:
Qanviz::OpenGLPainter::maxPointSize() in OpenGLPainter.cpp.o
"_glPopAttrib", referenced from:
Qanviz::OpenGLPainter::endCustom() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::finishDrawGlyphs() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawPoints(double*, double*, int)in OpenGLPainter.cpp.o
"_glEnable", referenced from:
Qanviz::OpenGLPainter::beginCustom() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::prepareDrawGlyphs() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::prepareDrawGlyphs() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawPoints(double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawCircle(double, double, int)in OpenGLPainter.cpp.o
"_glBegin", referenced from:
Qanviz::OpenGLPainter::drawCircle(double, double, int)in OpenGLPainter.cpp.o
"_glEnd", referenced from:
Qanviz::OpenGLPainter::drawCircle(double, double, int)in OpenGLPainter.cpp.o
"_glEnableClientState", referenced from:
Qanviz::OpenGLPainter::drawVertices(unsigned int, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawGlyphs(QPainterPath const&, double*, double*, double*, QColor*, QColor*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawRectangles(double*, double*, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawMidpointCircle(int, int, unsigned int, bool)in OpenGLPainter.cpp.o
"_glDisableClientState", referenced from:
Qanviz::OpenGLPainter::drawVertices(unsigned int, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawGlyphs(QPainterPath const&, double*, double*, double*, QColor*, QColor*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawRectangles(double*, double*, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawMidpointCircle(int, int, unsigned int, bool)in OpenGLPainter.cpp.o
"_glDisable", referenced from:
Qanviz::OpenGLPainter::drawCircle(double, double, int)in OpenGLPainter.cpp.o
"_glColorPointer", referenced from:
Qanviz::OpenGLPainter::drawGlyphs(QPainterPath const&, double*, double*, double*, QColor*, QColor*, int)in OpenGLPainter.cpp.o
"_glBlendFunc", referenced from:
Qanviz::OpenGLPainter::beginCustom() in OpenGLPainter.cpp.o
"_glTexEnvf", referenced from:
Qanviz::OpenGLPainter::prepareDrawGlyphs() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawGlyphs(QPainterPath const&, double*, double*, double*, QColor*, QColor*, int)in OpenGLPainter.cpp.o
"_glTexEnvi", referenced from:
Qanviz::OpenGLPainter::prepareDrawGlyphs() in OpenGLPainter.cpp.o
"_glVertexPointer", referenced from:
Qanviz::OpenGLPainter::drawVertices(unsigned int, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawRectangles(double*, double*, double*, double*, int)in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawMidpointCircle(int, int, unsigned int, bool)in OpenGLPainter.cpp.o
"_glVertex2f", referenced from:
Qanviz::OpenGLPainter::drawCircle(double, double, int)in OpenGLPainter.cpp.o
"_glColor4f", referenced from:
Qanviz::OpenGLPainter::setColor(QColor) in OpenGLPainter.cpp.o
"_glPushAttrib", referenced from:
Qanviz::OpenGLPainter::beginCustom() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::prepareDrawGlyphs() in OpenGLPainter.cpp.o
Qanviz::OpenGLPainter::drawPoints(double*, double*, int)in OpenGLPainter.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [qtpaint.so] Error 1
make[2]: *** [CMakeFiles/qtpaint.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
ERROR: compilation failed for package ?qtpaint?
* removing ?/Library/Frameworks/R.framework/Resources/library/qtpaint?
bigbear-laptop:pkg barret$
More information about the Qtinterfaces-devel
mailing list