<div class="markdown_content"><p>Hello,</p>
<p>I am trying to compile the Rkward-0.6.1 in Ubuntu 12-04 (precise). My version of R is 3.1.0 and KDE4.8.<br />
It seems there is no proble when I do <code>cmake</code>, but when I do <code>make</code> 2 erros appear.<br />
I post below this two commands. <br />
Any suggestion?</p>
<p>This appears when I do cmake:<br />
olivia@Olivia:/usr/local/bin/rkward-0.6.1/build$ cmake .. -DCMAKE_INSTALL_PREFIX="kde4-config --localprefix" -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=debugfull -DR_EXECUTABLE=/usr/bin/R -DR_LIBDIR=$HOME/R/i686-pc-linux-gnu-library/3.1 -DR_HOME="/usr/lib/R"<br />
-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)<br />
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so<br />
-- Found KDE 4.8 include dir: /usr/include<br />
-- Found KDE 4.8 library dir: /usr/lib<br />
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler<br />
-- Found automoc4: /usr/bin/automoc4<br />
-- Looking for R executable<br />
-- Specified by user<br />
-- Using R at /usr/bin/R<br />
-- R architecture is i686<br />
-- Looking for R_HOME<br />
-- Specified by user<br />
-- R_HOME is /usr/lib/R<br />
-- Looking for R include files<br />
-- Include files should be at /usr/share/R/include. Checking for R.h<br />
-- Found at /usr/share/R/include/R.h<br />
-- Checking for existence of R shared library<br />
-- Exists at /usr/lib/R/lib/libR.so<br />
-- Checking whether we should link against Rlapack library<br />
-- No, it does not exist in /usr/lib/R/lib<br />
-- Checking whether we should link against Rblas library<br />
-- No, it does not exist in /usr/lib/R/lib<br />
-- Checking for R package library location to use<br />
-- Location specified by user<br />
-- Will use /home/olivia/R/i686-pc-linux-gnu-library/3.1<br />
-- Configuring done<br />
-- Generating done<br />
-- Build files have been written to: /usr/local/bin/rkward-0.6.1/build</p>
<p>This when I do make:<br />
olivia@Olivia:/usr/local/bin/rkward-0.6.1/build$ make<br />
<span>[ 0%]</span> Built target rkward.frontend_automoc<br />
<span>[ 0%]</span> Built target dataeditor<br />
<span>[ 0%]</span> Built target settings<br />
<span>[ 0%]</span> Building CXX object rkward/plugin/CMakeFiles/plugin.dir/rkcomponent.o<br />
In file included from /usr/local/bin/rkward-0.6.1/rkward/plugin/rkcomponent.cpp:416:0:<br />
/usr/local/bin/rkward-0.6.1/rkward/plugin/rkcomponent.cpp: En la función miembro ‘QVariant RKComponentBase::fetchValue(const QString&, int)’:<br />
/usr/local/bin/rkward-0.6.1/rkward/plugin/rkcomponent.cpp:218:1: error: el control alcanza el final de una función que no es void <span>[-Werror=return-type]</span><br />
cc1plus: some warnings being treated as errors<br />
make<span>[2]</span>: <strong><em> <span><span>[rkward/plugin/CMakeFiles/plugin.dir/rkcomponent.o]</span></span> Error 1<br />
make<span><span>[1]</span></span>: </em></strong> <span>[rkward/plugin/CMakeFiles/plugin.dir/all]</span> Error 2<br />
make: *** <span>[all]</span> Error 2</p>
<p>Thanks <br />
Guillermo</p>
<hr />
<p><a class="" href="https://sourceforge.net/p/rkward/discussion/165573/thread/9391cdb0/?limit=25#cdd5">Problem compiling RKward from source - Ubuntu - Precise</a></p>
<hr />
<p>Sent from sourceforge.net because rkward-users@lists.sourceforge.net is subscribed to <a href="https://sourceforge.net/p/rkward/discussion/165573/">https://sourceforge.net/p/rkward/discussion/165573/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/rkward/admin/discussion/forums.">https://sourceforge.net/p/rkward/admin/discussion/forums.</a> Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>