{"action":"created","issue":{"url":"https://api.github.com/repos/renozao/RcppOctave/issues/4","labels_url":"https://api.github.com/repos/renozao/RcppOctave/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/renozao/RcppOctave/issues/4/comments","events_url":"https://api.github.com/repos/renozao/RcppOctave/issues/4/events","html_url":"https://github.com/renozao/RcppOctave/issues/4","id":53095545,"number":4,"title":"Windows Installation","user":{"login":"meisamhe","id":10239780,"avatar_url":"https://avatars.githubusercontent.com/u/10239780?v=3","gravatar_id":"","url":"https://api.github.com/users/meisamhe","html_url":"https://github.com/meisamhe","followers_url":"https://api.github.com/users/meisamhe/followers","following_url":"https://api.github.com/users/meisamhe/following{/other_user}","gists_url":"https://api.github.com/users/meisamhe/gists{/gist_id}","starred_url":"https://api.github.com/users/meisamhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meisamhe/subscriptions","organizations_url":"https://api.github.com/users/meisamhe/orgs","repos_url":"https://api.github.com/users/meisamhe/repos","events_url":"https://api.github.com/users/meisamhe/events{/privacy}","received_events_url":"https://api.github.com/users/meisamhe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-30T06:16:43Z","updated_at":"2015-01-02T23:50:57Z","closed_at":null,"body":"I followed the instructions to install on windows, yet it was unsuccessful. It through the following error:\r\nInstalling package into ‘C:/Users/MeisamHe/Documents/R/win-library/3.1’\r\n(as ‘lib’ is unspecified)\r\n* installing *source* package 'RcppOctave' ...\r\n** package 'RcppOctave' successfully unpacked and MD5 sums checked\r\nLoading autoconf-like macros for Windows... OK\r\nPackage RcppOctave - version 0.14.5\r\nChecking Rscript version... cygwin warning:\r\n  MS-DOS style path detected: C:/PROGRA~1/R/R-31~1.2/bin/x64/Rscript.exe\r\n  Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-31~1.2/bin/x64/Rscript.exe\r\n  CYGWIN environment variable option \"nodosfilewarning\" turns off this warning.\r\n  Consult the user's guide for more details about POSIX paths:\r\n    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames\r\nR scripting front-end version 3.1.2 (2014-10-31)\r\n\r\nChecking system PATH...\r\nC:\\PROGRA~1\\R\\R-31~1.2\\bin/x64\r\nc:\\Rtools\\bin\r\nC:\\Octave\\3.2.4_gcc-4.4.0\\bin\r\nc:\\Rtools\\gcc-4.6.3\\bin\r\nC:\\ProgramData\\Oracle\\Java\\javapath\r\nC:\\Windows\\system32\r\nC:\\Windows\r\nC:\\Windows\\System32\\Wbem\r\nC:\\Windows\\System32\\WindowsPowerShell\\v1.0\\\r\nC:\\Python27\r\nC:\\Program Files\\Lenovo\\Bluetooth Software\\\r\nC:\\Program Files\\Lenovo\\Bluetooth Software\\syswow64\r\nC:\\Program Files (x86)\\Intel\\OpenCL SDK\\1.5\\bin\\x86\r\nC:\\Program Files (x86)\\Intel\\OpenCL SDK\\1.5\\bin\\x64\r\nC:\\Program Files\\Intel\\WiFi\\bin\\\r\nC:\\Program Files\\Common Files\\Intel\\WirelessCommon\\\r\nC:\\Python27\\\r\nJAVA_HOME\\bin\r\nC:\\Python27\\jars\\\r\nC:\\Python27\\Scripts\\\r\nC:\\Python27\\Lib\\\r\nC:\\Program Files (x86)\\Tesseract-OCR\r\nC:\\Program Files\\MATLAB\\R2013b\\runtime\\win64\r\nC:\\Program Files\\MATLAB\\R2013b\\bin\r\nC:\\Program Files\\MATLAB\\R2013b\\polyspace\\bin\r\n C:\\MinGW\\bin\\\r\nC:\\MinGW\\bin\r\nC:\\Program Files\\TortoiseHg\\\r\nC:\\Program Files\\Intel\\WiFi\\bin\\\r\nC:\\Program Files\\Common Files\\Intel\\WirelessCommon\\\r\n\r\nChecking whether R is a shared library... YES\r\nChecking Rcpp LIBS... \r\nChecking Rcpp CXXFLAGS... -IC:/Users/MeisamHe/Documents/R/win-library/3.1/Rcpp/include\r\nChecking Octave binary directory... C:/Octave/3.2.4_gcc-4.4.0/bin\r\nChecking Octave Octave bin directory... C:\\Octave\\3.2.4_gcc-4.4.0\\bin\r\nChecking Octave cpp flags... -I/usr/local/octmgw32_gcc-4.4.0-dw2/include\r\nChecking Octave include flags... -IC:\\Octave\\3.2.4_gcc-4.4.0\\include\\octave-3.2.4\r\nChecking Octave -L flags... -LC:\\Octave\\3.2.4_gcc-4.4.0\\lib\\octave-3.2.4\r\nChecking Octave libraries... -loctinterp\r\nChecking Octave C compiler... gcc\r\nChecking Octave Fortran compiler... mingw32-gfortran-4.4.0-dw2\r\nChecking Octave platform... i686-pc-mingw32\r\nChecking Octave API version... api-v37\r\nChecking Octave version... 3.2.4\r\nChecking whether to infer output names for Octave function (Octave >= 3.4.3?)... no\r\nChecking RcppOctave Octave module directory... C:/Users/MeisamHe/Documents/R/win-library/3.1/RcppOctave/modules\r\nSubstituting configure variables (22) in R/config-vars.R\r\nSubstituting configure variables (22) in src/Makevars.win\r\nSubstituting configure variables (22) in src/modules/Makefile\r\n** libs\r\nWarning: this package has a non-empty 'configure.win' file,\r\nso building only the main architecture\r\n\r\ncygwin warning:\r\n  MS-DOS style path detected: C:/PROGRA~1/R/R-31~1.2/bin/x64/Rscript.exe\r\n  Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-31~1.2/bin/x64/Rscript.exe\r\n  CYGWIN environment variable option \"nodosfilewarning\" turns off this warning.\r\n  Consult the user's guide for more details about POSIX paths:\r\n    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames\r\ng++ -m64 -std=c++0x -I\"C:/PROGRA~1/R/R-31~1.2/include\" -DNDEBUG -IC:/Users/MeisamHe/Documents/R/win-library/3.1/Rcpp/include -I/usr/local/octmgw32_gcc-4.4.0-dw2/include -IC:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4 -IC:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave -IC:/Octave/3.2.4_gcc-4.4.0/include -DOCT_POST_3_4_0=-1 -fmax-errors=10    -I\"C:/Users/MeisamHe/Documents/R/win-library/3.1/Rcpp/include\" -I\"d:/RCompile/CRANpkg/extralibs64/local/include\"     -O2 -Wall  -mtune=core2 -c conversion.cpp -o conversion.o\r\nIn file included from rcpp_octave.h:25:0,\r\n                 from conversion.cpp:1:\r\nC:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/config.h:1129:0: warning: \"_WIN32_WINNT\" redefined [enabled by default]\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/_mingw.h:244:0: note: this is the location of the previous definition\r\nIn file included from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:154:0,\r\n                 from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,\r\n                 from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/lo-utils.h:78,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/Array.h:38,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/str-vec.h:31,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/oct-obj.h:32,\r\n                 from rcpp_octave.h:26,\r\n                 from conversion.cpp:1:\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:52: error: macro \"Realloc\" requires 3 arguments, but only 2 given\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: sorry, unimplemented: non-static data member initializers\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: 'constexpr' needed for in-class initialization of static data member 'Realloc' of non-integral type\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected identifier before '(' token\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: 'parameter' declared as function returning a function\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected ')' before ',' token\r\nIn file included from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/msxml.h:209:0,\r\n                 from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/urlmon.h:219,\r\n                 from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:348,\r\n                 from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,\r\n                 from c:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/lo-utils.h:78,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/Array.h:38,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/str-vec.h:31,\r\n                 from C:/Octave/3.2.4_gcc-4.4.0/include/octave-3.2.4/octave/oct-obj.h:32,\r\n                 from rcpp_octave.h:26,\r\n                 from conversion.cpp:1:\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected identifier before '(' token\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: 'parameter' declared as function returning a function\r\nc:\\rtools\\gcc-4.6.3\\bin\\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected ')' before ',' token\r\nmake: *** [conversion.o] Error 1\r\nWarning: running command 'make -f \"Makevars.win\" -f \"C:/PROGRA~1/R/R-31~1.2/etc/x64/Makeconf\" -f \"C:/PROGRA~1/R/R-31~1.2/share/make/winshlib.mk\" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB=\"RcppOctave.dll\" WIN=64 TCLBIN=64 OBJECTS=\"conversion.o rcpp_octave.o\"' had status 2\r\nERROR: compilation failed for package 'RcppOctave'\r\n* removing 'C:/Users/MeisamHe/Documents/R/win-library/3.1/RcppOctave'\r\nWarning messages:\r\n1: running command '\"C:/PROGRA~1/R/R-31~1.2/bin/x64/R\" CMD INSTALL -l \"C:\\Users\\MeisamHe\\Documents\\R\\win-library\\3.1\" \"C:/Users/MeisamHe/Desktop/Desktop/Projects/RegretInAuction/VariationalBayesian/vdpgm/RcppOctave_0.14.5.tar.gz\"' had status 1 \r\n2: In install.packages(path_to_file, repos = NULL, type = \"source\") :\r\n  installation of package ‘C:/Users/MeisamHe/Desktop/Desktop/Projects/RegretInAuction/VariationalBayesian/vdpgm/RcppOctave_0.14.5.tar.gz’ had non-zero exit status\r\n"},"comment":{"url":"https://api.github.com/repos/renozao/RcppOctave/issues/comments/68574116","html_url":"https://github.com/renozao/RcppOctave/issues/4#issuecomment-68574116","issue_url":"https://api.github.com/repos/renozao/RcppOctave/issues/4","id":68574116,"user":{"login":"adalisan","id":1790714,"avatar_url":"https://avatars.githubusercontent.com/u/1790714?v=3","gravatar_id":"","url":"https://api.github.com/users/adalisan","html_url":"https://github.com/adalisan","followers_url":"https://api.github.com/users/adalisan/followers","following_url":"https://api.github.com/users/adalisan/following{/other_user}","gists_url":"https://api.github.com/users/adalisan/gists{/gist_id}","starred_url":"https://api.github.com/users/adalisan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adalisan/subscriptions","organizations_url":"https://api.github.com/users/adalisan/orgs","repos_url":"https://api.github.com/users/adalisan/repos","events_url":"https://api.github.com/users/adalisan/events{/privacy}","received_events_url":"https://api.github.com/users/adalisan/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T23:50:57Z","updated_at":"2015-01-02T23:50:57Z","body":"As a suggestion, you might want to try octave 3.6\r\nhttp://wiki.octave.org/Octave_for_Windows#Octave-3.6.4-mingw_.2B_octaveforge_pkgs\r\nIn the README, that is the version that is referred to for Octave.\r\nThat said, both this version and 3.8  did not work for me on Windows 7 64-bit. I could not build RcppOctave source pkg from CRAN. Rtools 3.1 is installed and the bin directory is in the system PATH.\r\n"}}