Weird how I did not get this error. Anyway, I think it&#39;s fixed now.<br><br>Michael<br><br><div class="gmail_quote">On Wed, Aug 11, 2010 at 10:43 PM, Tengfei Yin <span dir="ltr">&lt;<a href="mailto:yin.tengfei@gene.com">yin.tengfei@gene.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hi Michael,</div><div><br></div><div>I saw Yihui&#39;s message in qt mailing list, so I updated to the latest version of qtbase and qtpaint, give me following error message when I install qtpaint.</div>
<div><br></div>
<div>I know you are on a vocation right now, you can work on this when you have time,  I am still using qtbase r 422 and qtpaint r 379 now. Under this revision, another bug may be, when you run the canvas demo more than one time in one R session, it will give your different result, the scale seem to be changed every time you run canvas demo.</div>

<div><br></div><div>Thanks</div><div><br></div><div>Have a nice vocation.</div><div><br></div><div>Tengfei</div><div><br></div><div><br></div><div><br></div><div><br></div><div>########## install info for qtpaint###############</div>

<div>* installing to library ‘/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11’</div><div>* installing *source* package ‘qtpaint’ ...</div><div>** libs</div><div>** arch - </div><div>mkdir -p ../kdebindings-build;</div><div>

mkdir -p ../src-build;</div><div>cd ../kdebindings-build; \</div><div><span style="white-space: pre-wrap;">        </span>cmake ../kdebindings \</div><div><span style="white-space: pre-wrap;">        </span>      -DCMAKE_INSTALL_PREFIX=../inst/local -DQTBASE_DIR=/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11/qtbase \</div>

<div><span style="white-space: pre-wrap;">        </span>      -DR_INCLUDE_DIR=/usr/share/R/include; \</div><div><span style="white-space: pre-wrap;">        </span>DYLD_LIBRARY_PATH=:/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11/qtbase/local/lib \</div>

<div><span style="white-space: pre-wrap;">        </span>LD_LIBRARY_PATH=/usr/lib64/R/lib:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jni:/usr/lib64/R/lib:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jni:/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11/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: /home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build</div>

<div>make[1]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div><div>make[2]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div>

<div>make[3]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div><div>make[3]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div>

<div>make[3]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div><div>[  0%] Generating smokedata.cpp, x_1.cpp</div><div>using generator &quot;/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11/qtbase/local/bin/../lib/smokegen/generator_smoke.so&quot; </div>

<div>parsing &quot;/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings/smoke/qanviz/qanviz_includes.h&quot; </div><div>Generating SMOKE sources... </div><div>preparing SMOKE data [qanviz]</div><div>

writing out smokedata.cpp [qanviz]</div><div>writing out x_*.cpp [qanviz]</div><div>Done. </div><div>make[3]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div>
<div>
[100%] Built target generate_smoke</div><div>make[2]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div><div>Install the project...</div><div>-- Install configuration: &quot;&quot;</div>

<div>-- Up-to-date: /home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/inst/local/include/smoke/qanviz_smoke.h</div><div>-- Installing: /home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/smokedata.cpp</div>

<div>-- Installing: /home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/x_1.cpp</div><div>-- Up-to-date: /home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings/../src-build/qanviz_includes.h</div>

<div>make[1]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/kdebindings-build&#39;</div><div>cd ../src-build; \</div><div><span style="white-space: pre-wrap;">        </span>cmake ../src \</div>

<div><span style="white-space: pre-wrap;">        </span>      -DCMAKE_INSTALL_PREFIX=../src \</div><div><span style="white-space: pre-wrap;">        </span>      -DR_LIBRARIES=&quot;-shared -L/usr/lib64/R/lib -lR&quot; \</div>
<div><span style="white-space: pre-wrap;">        </span>      -DR_INCLUDES=/usr/share/R/include \</div><div><span style="white-space: pre-wrap;">        </span>      -DQTBASE_DIR=/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11/qtbase; \</div>

<div><span style="white-space: pre-wrap;">        </span>make install</div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build</div>

<div>make[1]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div><div>make[2]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div>

<div>make[3]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div><div>[  4%] Generating moc_RLayer.cxx</div><div>Scanning dependencies of target qtpaint</div><div>make[3]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div>

<div>make[3]: Entering directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div><div>[  9%] Building CXX object CMakeFiles/qtpaint.dir/Layer.cpp.o</div><div>/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src/Layer.cpp: In function ‘void fboDebugMsgCatcher(QtMsgType, const char*)’:</div>

<div>/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src/Layer.cpp:22: error: ‘stderr’ was not declared in this scope</div><div>/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src/Layer.cpp:22: error: ‘fprintf’ was not declared in this scope</div>

<div>make[3]: *** [CMakeFiles/qtpaint.dir/Layer.cpp.o] Error 1</div><div>make[3]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div><div>make[2]: *** [CMakeFiles/qtpaint.dir/all] Error 2</div>

<div>make[2]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/home/tengfei/Prolang/svn/repos/trunk/qtinterfaces/pkg/qtpaint/src-build&#39;</div>

<div>make: *** [all] Error 2</div><div>ERROR: compilation failed for package ‘qtpaint’</div><div>* removing ‘/home/tengfei/R/x86_64-pc-linux-gnu-library/2.11/qtpaint’</div><div><br></div>
</blockquote></div><br>