Hello,<div><div><br></div><div>I'm installing qtpaint on Leopard 10.5.8.</div><div><br></div><div>I have run into this error below.</div><div><br clear="all">Thanks for the help,<br>Barret Schloerke<br>
</div><div><br></div><div><div>heike:pkg heike$ R CMD install qtpaint</div><div>* installing to library ‘/Library/Frameworks/R.framework/Resources/library’</div><div>* installing *source* package ‘qtpaint’ ...</div><div>
** libs</div><div>** arch - i386</div><div>mkdir -p ../kdebindings-build;</div><div>mkdir -p ../src-build;</div><div>cd ../kdebindings-build; \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>cmake ../kdebindings \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span> -DCMAKE_INSTALL_PREFIX=../inst/local -DQTBASE_DIR=/Library/Frameworks/R.framework/Resources/library/qtbase \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> -DR_INCLUDE_DIR=/Library/Frameworks/R.framework/Resources/include; \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>DYLD_LIBRARY_PATH=/Library/Frameworks/R.framework/Resources/library/qtbase/local/lib \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>LD_LIBRARY_PATH=/Library/Frameworks/R.framework/Resources/library/qtbase/local/lib make install</div>
<div>-- Build qanviz smoke... </div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings-build</div><div>[100%] Built target generate_smoke</div>
<div>Install the project...</div><div>-- Install configuration: ""</div><div>-- Up-to-date: /Users/heike/qt/qtinterfaces/pkg/qtpaint/inst/local/include/smoke/qanviz_smoke.h</div><div>-- Up-to-date: /Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/smokedata.cpp</div>
<div>-- Up-to-date: /Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/x_1.cpp</div><div>-- Up-to-date: /Users/heike/qt/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/qanviz_includes.h</div><div>cd ../src-build; \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>cmake ../src \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> -DCMAKE_INSTALL_PREFIX=../src \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> -DR_LIBRARIES="-dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -F/Library/Frameworks/R.framework/.. -framework R" \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span> -DR_INCLUDES=/Library/Frameworks/R.framework/Resources/include \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> -DQTBASE_DIR=/Library/Frameworks/R.framework/Resources/library/qtbase; \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>make install</div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /Users/heike/qt/qtinterfaces/pkg/qtpaint/src-build</div>
<div>[ 4%] Building CXX object CMakeFiles/qtpaint.dir/Layer.cpp.o</div><div>/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp: In member function ‘virtual void Qanviz::Layer::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)’:</div>
<div>/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp:62: error: ‘GL_FRAMEBUFFER’ was not declared in this scope</div><div>/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp:62: error: ‘glCheckFramebufferStatus’ was not declared in this scope</div>
<div>/Users/heike/qt/qtinterfaces/pkg/qtpaint/src/Layer.cpp:62: error: ‘GL_FRAMEBUFFER_COMPLETE’ was not declared in this scope</div><div>make[3]: *** [CMakeFiles/qtpaint.dir/Layer.cpp.o] Error 1</div><div>make[2]: *** [CMakeFiles/qtpaint.dir/all] Error 2</div>
<div>make[1]: *** [all] Error 2</div><div>make: *** [all] Error 2</div><div>ERROR: compilation failed for package ‘qtpaint’</div><div>* removing ‘/Library/Frameworks/R.framework/Resources/library/qtpaint’</div><div>heike:pkg heike$ </div>
<div><br></div></div></div>