[RQt-devel] Installing on Leopard (10.5.8)

Barret Schloerke barret at barretschloerke.com
Mon Apr 19 17:11:32 CEST 2010


Hello,

I'm installing qtpaint on Leopard 10.5.8.

I have run into this error below.

Thanks for the help,
Barret Schloerke

heike:pkg heike$ R CMD install qtpaint
* installing to library ‘/Library/Frameworks/R.framework/Resources/library’
* installing *source* package ‘qtpaint’ ...
** libs
** arch - i386
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
-- Build qanviz smoke...
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings-build
[100%] Built target generate_smoke
Install the project...
-- Install configuration: ""
-- Up-to-date:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/inst/local/include/smoke/qanviz_smoke.h
-- Up-to-date:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/smokedata.cpp
-- Up-to-date:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/x_1.cpp
-- Up-to-date:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/qanviz_includes.h
cd ../src-build; \
 cmake ../src \
      -DCMAKE_INSTALL_PREFIX=../src \
      -DR_LIBRARIES="-dynamiclib -Wl,-headerpad_max_install_names
 -undefined dynamic_lookup -single_module -multiply_defined suppress
-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
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/src-build
[  4%] Building CXX object CMakeFiles/qtpaint.dir/Layer.cpp.o
/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp: In member function
‘virtual void Qanviz::Layer::paint(QPainter*, const
QStyleOptionGraphicsItem*, QWidget*)’:
/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp:62: error:
‘GL_FRAMEBUFFER’ was not declared in this scope
/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp:62: error:
‘glCheckFramebufferStatus’ was not declared in this scope
/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp:62: error:
‘GL_FRAMEBUFFER_COMPLETE’ was not declared in this scope
make[3]: *** [CMakeFiles/qtpaint.dir/Layer.cpp.o] 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’
heike:pkg heike$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20100419/9859f793/attachment.htm 


More information about the Qtinterfaces-devel mailing list