From fabrnicol at gmail.com Fri Mar 28 00:16:18 2014 From: fabrnicol at gmail.com (Fabrice Nicol) Date: Fri, 28 Mar 2014 00:16:18 +0100 Subject: [RQt-devel] windows cmake build issue Message-ID: Hi there, I tried to build the source under windows XP. I followed source code indications and checked agains the cranvas download web page, so neither paths nor prerequisites seem to be at issue, as far as they are indicated in these references. The issue revolves around a persistent cmake inability to locate Qt5Core. Although this sounds natural with the Qt4.8.4 the cranvas site indicates, it comes more of a surprise when Qt5.2.0 has been installed and pathed to. I'd be grateful for hints, if any, being much more of an autotools guy than a cmake wizard. Below is the console ouptut. Fabrice Nicol PS: currently using the linux distro for professional applications with nice reception by users, windows porting would smooth things out for them. *** console output *** C:\>R CMD INSTALL --build qtbase * installing to library 'c:/R/library' * installing *source* package 'qtbase' ... ** libs running 'src/Makefile.win' ... cygwin warning: MS-DOS style path detected: c:/R/bin/R Preferred POSIX equivalent is: /cygdrive/c/R/bin/R CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames mkdir -p ../kdebindings-build; cd ../kdebindings-build; \ "/cygdrive/c/CMake 2.8/bin/cmake.exe" ../kdebindings -G "Unix Makefiles" -DQT_QM AKE_EXECUTABLE="D:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin\qmake.exe" -DCMAKE_PREFIX_PAT H="D:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin/../lib/cmake" -DCMAKE_RC_COMPILER="C:/Rtoo ls/gcc-4.6.3/bin/windres.exe" -DR_LIBRARIES="-Lc:/R/bin//i386 -lR" -DR_CXX="g++" -DCMAKE_CXX_FLAGS="-m32 " -DCMAKE_SHARED_LINKER_FLAGS="-m32 -shared" \ -DCMAKE_INSTALL_PREFIX=../inst/local \ -DCMAKE_EXE_LINKER_FLAGS="-m32 " \ -DCMAKE_MODULE_LINKER_FLAGS="-m32 "; \ LD_LIBRARY_PATH=../../generator/bin make install -- The C compiler identification is GNU 4.8.1 -- The CXX compiler identification is GNU 4.8.1 -- Check for working C compiler: D:/MinGW4/bin/cc.exe -- Check for working C compiler: D:/MinGW4/bin/cc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: D:/MinGW4/bin/c++.exe -- Check for working CXX compiler: D:/MinGW4/bin/c++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Warning at CMakeLists.txt:9 (find_package): By not providing "FindQt5Core,.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core,", but CMake did not find one. Could not find a package configuration file provided by "Qt5Core," (requested version 5.2.0) with any of the following names: Qt5Core,Config.cmake qt5core,-config.cmake Add the installation prefix of "Qt5Core," to CMAKE_PREFIX_PATH or set "Qt5Core,_DIR" to a directory containing one of the above files. If "Qt5Core," provides a separate development package or SDK, be sure it has been installed. CMake Error at generator/parser/CMakeLists.txt:41 (qt5_use_modules): Unknown CMake command "qt5_use_modules". -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawrence.michael at gene.com Fri Mar 28 04:52:16 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Thu, 27 Mar 2014 20:52:16 -0700 Subject: [RQt-devel] windows cmake build issue In-Reply-To: References: Message-ID: Thanks for the report. I'm still working (more like trying to find the time) to make this work on Windows. This bug though was introduced by a recent typo, and I just pushed a fix for it. If you manage to get things working on Windows, please let me know. On Thu, Mar 27, 2014 at 4:16 PM, Fabrice Nicol wrote: > Hi there, > > I tried to build the source under windows XP. > > I followed source code indications and checked agains the cranvas download > web page, so neither paths nor prerequisites seem to be at issue, as far as > they are indicated in these references. > > The issue revolves around a persistent cmake inability to locate Qt5Core. > Although this sounds natural with the Qt4.8.4 the cranvas site indicates, > it comes more of a surprise when Qt5.2.0 has been installed and pathed to. > > I'd be grateful for hints, if any, being much more of an autotools guy > than a cmake wizard. > > Below is the console ouptut. > > Fabrice Nicol > > PS: currently using the linux distro for professional applications with > nice reception by users, windows porting would smooth things out for them. > > > > *** console output *** > > C:\>R CMD INSTALL --build qtbase > * installing to library 'c:/R/library' > * installing *source* package 'qtbase' ... > ** libs > running 'src/Makefile.win' ... > cygwin warning: > MS-DOS style path detected: c:/R/bin/R > Preferred POSIX equivalent is: /cygdrive/c/R/bin/R > CYGWIN environment variable option "nodosfilewarning" turns off this > warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > mkdir -p ../kdebindings-build; > cd ../kdebindings-build; \ > "/cygdrive/c/CMake 2.8/bin/cmake.exe" ../kdebindings -G "Unix Makefiles" > -DQT_QM > AKE_EXECUTABLE="D:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin\qmake.exe" > -DCMAKE_PREFIX_PAT > H="D:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin/../lib/cmake" > -DCMAKE_RC_COMPILER="C:/Rtoo > ls/gcc-4.6.3/bin/windres.exe" -DR_LIBRARIES="-Lc:/R/bin//i386 -lR" > -DR_CXX="g++" > -DCMAKE_CXX_FLAGS="-m32 " -DCMAKE_SHARED_LINKER_FLAGS="-m32 -shared" \ > -DCMAKE_INSTALL_PREFIX=../inst/local \ > -DCMAKE_EXE_LINKER_FLAGS="-m32 " \ > -DCMAKE_MODULE_LINKER_FLAGS="-m32 "; \ > LD_LIBRARY_PATH=../../generator/bin make install > -- The C compiler identification is GNU 4.8.1 > -- The CXX compiler identification is GNU 4.8.1 > -- Check for working C compiler: D:/MinGW4/bin/cc.exe > -- Check for working C compiler: D:/MinGW4/bin/cc.exe -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: D:/MinGW4/bin/c++.exe > -- Check for working CXX compiler: D:/MinGW4/bin/c++.exe -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > CMake Warning at CMakeLists.txt:9 (find_package): > By not providing "FindQt5Core,.cmake" in CMAKE_MODULE_PATH this project > has > asked CMake to find a package configuration file provided by "Qt5Core,", > but CMake did not find one. > > Could not find a package configuration file provided by "Qt5Core," > (requested version 5.2.0) with any of the following names: > > Qt5Core,Config.cmake > qt5core,-config.cmake > > Add the installation prefix of "Qt5Core," to CMAKE_PREFIX_PATH or set > "Qt5Core,_DIR" to a directory containing one of the above files. If > "Qt5Core," provides a separate development package or SDK, be sure it has > been installed. > > > CMake Error at generator/parser/CMakeLists.txt:41 (qt5_use_modules): > Unknown CMake command "qt5_use_modules". > > > > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabrnicol at gmail.com Sat Mar 29 23:10:29 2014 From: fabrnicol at gmail.com (fabrice) Date: Sat, 29 Mar 2014 23:10:29 +0100 Subject: [RQt-devel] linux loading issue Message-ID: <533744D5.2010403@gmail.com> Under linux, the current repository source builds 100 % yet fails to load with R-3.0.2/3 due to a linking issue with Smoke. Platform: Kubuntu saucy, i386. ------------ Error : .onLoad failed in loadNamespace() for 'qtbase', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: impossible de charger l'objet partag? '/home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so': [translation: cannot load shared object ...qtbase.so] /home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so: undefined symbol: qt_Smoke ------------- From lawrence.michael at gene.com Sun Mar 30 08:29:28 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Sat, 29 Mar 2014 23:29:28 -0700 Subject: [RQt-devel] linux loading issue In-Reply-To: <533744D5.2010403@gmail.com> References: <533744D5.2010403@gmail.com> Message-ID: What does your smokedata.cpp look like? Does it have a qt_Smoke? If so then it is some sort of linking issue. The smoke library is statically linked to the package library. If not, then the smoke generation is failing for some reason. Might be helpful to see the build log. On Sat, Mar 29, 2014 at 3:10 PM, fabrice wrote: > Under linux, the current repository source builds 100 % yet fails to load > with R-3.0.2/3 due to a linking issue with Smoke. > Platform: Kubuntu saucy, i386. > ------------ > Error : .onLoad failed in loadNamespace() for 'qtbase', details: > call: dyn.load(file, DLLpath = DLLpath, ...) > error: impossible de charger l'objet partag? '/home/fab/R/i686-pc-linux- > gnu-library/3.0/qtbase/libs/qtbase.so': > [translation: cannot load shared object ...qtbase.so] > /home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so: > undefined symbol: qt_Smoke > ------------- > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/ > listinfo/qtinterfaces-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabrnicol at gmail.com Sun Mar 30 17:32:01 2014 From: fabrnicol at gmail.com (fabrice) Date: Sun, 30 Mar 2014 17:32:01 +0200 Subject: [RQt-devel] logs In-Reply-To: References: Message-ID: <533838F1.4020309@gmail.com> Yes, there is a qt_Smoke at the end of smokedata.cpp Attached is the logging and the relevant lines at the bottom of smokedata.cpp. On 30/03/2014 12:00, qtinterfaces-devel-request at lists.r-forge.r-project.org wrote: > Message: 1 > Date: Sat, 29 Mar 2014 23:10:29 +0100 > From: fabrice > To: qtinterfaces-devel at lists.r-forge.r-project.org > Subject: [RQt-devel] linux loading issue > Message-ID: <533744D5.2010403 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Under linux, the current repository source builds 100 % yet fails to > load with R-3.0.2/3 due to a linking issue with Smoke. > Platform: Kubuntu saucy, i386. > ------------ > Error : .onLoad failed in loadNamespace() for 'qtbase', details: > call: dyn.load(file, DLLpath = DLLpath, ...) > error: impossible de charger l'objet partag? > '/home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so': > [translation: cannot load shared object ...qtbase.so] > /home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so: > undefined symbol: qt_Smoke > ------------- > > > ------------------------------ > > Message: 2 > Date: Sat, 29 Mar 2014 23:29:28 -0700 > From: Michael Lawrence > To: fabrice > Cc: qtinterfaces-devel > Subject: Re: [RQt-devel] linux loading issue > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > What does your smokedata.cpp look like? Does it have a qt_Smoke? If so then > it is some sort of linking issue. The smoke library is statically linked to > the package library. If not, then the smoke generation is failing for some > reason. Might be helpful to see the build log. > > > On Sat, Mar 29, 2014 at 3:10 PM, fabrice wrote: > >> Under linux, the current repository source builds 100 % yet fails to load >> with R-3.0.2/3 due to a linking issue with Smoke. >> Platform: Kubuntu saucy, i386. >> ------------ >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: >> call: dyn.load(file, DLLpath = DLLpath, ...) >> error: impossible de charger l'objet partag? '/home/fab/R/i686-pc-linux- >> gnu-library/3.0/qtbase/libs/qtbase.so': >> [translation: cannot load shared object ...qtbase.so] >> /home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so: >> undefined symbol: qt_Smoke >> ------------- >> _______________________________________________ >> Qtinterfaces-devel mailing list >> Qtinterfaces-devel at lists.r-forge.r-project.org >> https://lists.r-forge.r-project.org/cgi-bin/mailman/ >> listinfo/qtinterfaces-devel >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > > End of Qtinterfaces-devel Digest, Vol 30, Issue 2 > ************************************************* -------------- next part -------------- A non-text attachment was scrubbed... Name: report.zip Type: application/zip Size: 10357 bytes Desc: not available URL: From lawrence.michael at gene.com Sun Mar 30 19:18:34 2014 From: lawrence.michael at gene.com (Michael Lawrence) Date: Sun, 30 Mar 2014 10:18:34 -0700 Subject: [RQt-devel] logs In-Reply-To: <533838F1.4020309@gmail.com> References: <533838F1.4020309@gmail.com> Message-ID: Would you mind sending the console.log after placing adding "VERBOSE=1" to the second call to 'make' inside of src/Makefile.common? i.e., the last line in the "all" rule should look like: VERBOSE=1 make install Thanks, Michael On Sun, Mar 30, 2014 at 8:32 AM, fabrice wrote: > Yes, there is a qt_Smoke at the end of smokedata.cpp > > Attached is the logging and the relevant lines at the bottom of > smokedata.cpp. > > > On 30/03/2014 12:00, qtinterfaces-devel-request@ > lists.r-forge.r-project.org wrote: > >> Message: 1 >> Date: Sat, 29 Mar 2014 23:10:29 +0100 >> From: fabrice >> To: qtinterfaces-devel at lists.r-forge.r-project.org >> Subject: [RQt-devel] linux loading issue >> Message-ID: <533744D5.2010403 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Under linux, the current repository source builds 100 % yet fails to >> load with R-3.0.2/3 due to a linking issue with Smoke. >> Platform: Kubuntu saucy, i386. >> ------------ >> Error : .onLoad failed in loadNamespace() for 'qtbase', details: >> call: dyn.load(file, DLLpath = DLLpath, ...) >> error: impossible de charger l'objet partag? >> '/home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so': >> [translation: cannot load shared object ...qtbase.so] >> /home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so: >> undefined symbol: qt_Smoke >> ------------- >> >> >> ------------------------------ >> >> Message: 2 >> Date: Sat, 29 Mar 2014 23:29:28 -0700 >> From: Michael Lawrence >> To: fabrice >> Cc: qtinterfaces-devel >> Subject: Re: [RQt-devel] linux loading issue >> Message-ID: >> > gmail.com> >> Content-Type: text/plain; charset="iso-8859-1" >> >> What does your smokedata.cpp look like? Does it have a qt_Smoke? If so >> then >> it is some sort of linking issue. The smoke library is statically linked >> to >> the package library. If not, then the smoke generation is failing for some >> reason. Might be helpful to see the build log. >> >> >> On Sat, Mar 29, 2014 at 3:10 PM, fabrice wrote: >> >> Under linux, the current repository source builds 100 % yet fails to load >>> with R-3.0.2/3 due to a linking issue with Smoke. >>> Platform: Kubuntu saucy, i386. >>> ------------ >>> Error : .onLoad failed in loadNamespace() for 'qtbase', details: >>> call: dyn.load(file, DLLpath = DLLpath, ...) >>> error: impossible de charger l'objet partag? >>> '/home/fab/R/i686-pc-linux- >>> gnu-library/3.0/qtbase/libs/qtbase.so': >>> [translation: cannot load shared object ...qtbase.so] >>> /home/fab/R/i686-pc-linux-gnu-library/3.0/qtbase/libs/qtbase.so: >>> undefined symbol: qt_Smoke >>> ------------- >>> _______________________________________________ >>> Qtinterfaces-devel mailing list >>> Qtinterfaces-devel at lists.r-forge.r-project.org >>> https://lists.r-forge.r-project.org/cgi-bin/mailman/ >>> listinfo/qtinterfaces-devel >>> >>> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: > attachments/20140329/4c1e9a83/attachment-0001.html> >> >> ------------------------------ >> >> _______________________________________________ >> Qtinterfaces-devel mailing list >> Qtinterfaces-devel at lists.r-forge.r-project.org >> https://lists.r-forge.r-project.org/cgi-bin/mailman/ >> listinfo/qtinterfaces-devel >> >> End of Qtinterfaces-devel Digest, Vol 30, Issue 2 >> ************************************************* >> > > > _______________________________________________ > Qtinterfaces-devel mailing list > Qtinterfaces-devel at lists.r-forge.r-project.org > > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: