<div dir="ltr">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.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 4:16 PM, Fabrice Nicol <span dir="ltr"><<a href="mailto:fabrnicol@gmail.com" target="_blank">fabrnicol@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi there,<div><br></div><div>I tried to build the source under windows XP.</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>I'd be grateful for hints, if any, being much more of an autotools guy than a cmake wizard.</div><div><br></div><div>Below is the console ouptut. <br></div><div><br></div><div>Fabrice Nicol</div><div>
<br></div><div>PS: currently using the linux distro for professional applications with nice reception by users, windows porting would smooth things out for them.</div><div><br></div><div><br></div><div><br></div><div>*** console output ***</div>
<div><br></div><div><div>C:\>R CMD INSTALL --build qtbase</div><div>* installing to library 'c:/R/library'</div><div>* installing *source* package 'qtbase' ...</div><div>** libs</div><div> running 'src/Makefile.win' ...</div>
<div>cygwin warning:</div><div> MS-DOS style path detected: c:/R/bin/R</div><div> Preferred POSIX equivalent is: /cygdrive/c/R/bin/R</div><div> CYGWIN environment variable option "nodosfilewarning" turns off this warning.</div>
<div> Consult the user's guide for more details about POSIX paths:</div><div> <a href="http://cygwin.com/cygwin-ug-net/using.html#using-pathnames" target="_blank">http://cygwin.com/cygwin-ug-net/using.html#using-pathnames</a></div>
<div>mkdir -p ../kdebindings-build;</div><div>cd ../kdebindings-build; \</div><div>"/cygdrive/c/CMake 2.8/bin/cmake.exe" ../kdebindings -G "Unix Makefiles" -DQT_QM</div><div>AKE_EXECUTABLE="D:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin\qmake.exe" -DCMAKE_PREFIX_PAT</div>
<div>H="D:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin/../lib/cmake" -DCMAKE_RC_COMPILER="C:/Rtoo</div><div>ls/gcc-4.6.3/bin/windres.exe" -DR_LIBRARIES="-Lc:/R/bin//i386 -lR" -DR_CXX="g++"</div>
<div> -DCMAKE_CXX_FLAGS="-m32 " -DCMAKE_SHARED_LINKER_FLAGS="-m32 -shared" \</div><div> -DCMAKE_INSTALL_PREFIX=../inst/local \</div><div> -DCMAKE_EXE_LINKER_FLAGS="-m32 " \</div>
<div> -DCMAKE_MODULE_LINKER_FLAGS="-m32 "; \</div><div>LD_LIBRARY_PATH=../../generator/bin make install</div><div>-- The C compiler identification is GNU 4.8.1</div><div>-- The CXX compiler identification is GNU 4.8.1</div>
<div>-- Check for working C compiler: D:/MinGW4/bin/cc.exe</div><div>-- Check for working C compiler: D:/MinGW4/bin/cc.exe -- works</div><div>-- Detecting C compiler ABI info</div><div>-- Detecting C compiler ABI info - done</div>
<div>-- Check for working CXX compiler: D:/MinGW4/bin/c++.exe</div><div>-- Check for working CXX compiler: D:/MinGW4/bin/c++.exe -- works</div><div>-- Detecting CXX compiler ABI info</div><div>-- Detecting CXX compiler ABI info - done</div>
<div>CMake Warning at CMakeLists.txt:9 (find_package):</div><div> By not providing "FindQt5Core,.cmake" in CMAKE_MODULE_PATH this project has</div><div> asked CMake to find a package configuration file provided by "Qt5Core,",</div>
<div> but CMake did not find one.</div><div><br></div><div> Could not find a package configuration file provided by "Qt5Core,"</div><div> (requested version 5.2.0) with any of the following names:</div><div>
<br>
</div><div> Qt5Core,Config.cmake</div><div> qt5core,-config.cmake</div><div><br></div><div> Add the installation prefix of "Qt5Core," to CMAKE_PREFIX_PATH or set</div><div> "Qt5Core,_DIR" to a directory containing one of the above files. If</div>
<div> "Qt5Core," provides a separate development package or SDK, be sure it has</div><div> been installed.</div><div><br></div><div><br></div><div>CMake Error at generator/parser/CMakeLists.txt:41 (qt5_use_modules):</div>
<div> Unknown CMake command "qt5_use_modules".</div></div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
Qtinterfaces-devel mailing list<br>
<a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel</a><br></blockquote></div><br></div>