Skip to content

install attempt: g++.exe: error: [1]: No such file or directory #10

@AndreMikulec

Description

@AndreMikulec

When I try to install, I get the following error

> devtools::install_github("halpo/parser")
Downloading GitHub repo halpo/parser@master
from URL https://api.github.com/repos/halpo/parser/zipball/master
Installing parser
"W:/R-3.4._/App/R-Portable/bin/x64/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  "W:/R-3.4._/R_USER_3.4.__R_STUDIO/AppData/Local/Temp/Rtmpme9vf0/devtools30e06fdf2d7f/halpo-parser-910d1fb"  \
  --library="W:/R-3.4._/R_LIBS_USER_3.4._" --with-keep.source --install-tests

[1] "W:/R-3.4._/R_LIBS_USER_3.4._"      "W:/R-3.4._/App/R-Portable/library"
* installing *source* package 'parser' ...
** libs

*** arch - i386
W:/Rtools34/mingw_32/bin/g++  -I"W:/R-34~1._/App/R-PORT~1/include" -DNDEBUG -I. [1] "W:/R-3.4._/R_LIBS_USER_3.4._"      "W:/R-3.4._/App/R-Portable/library" -IW:/R-3.4._/R_LIBS_USER_3.4._/Rcpp/include -I"W:/R-3.4._/R_LIBS_USER_3.4._/Rcpp/include"   -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c Module.cpp -o Module.o
g++.exe: error: [1]: No such file or directory
make: *** [Module.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "W:/R-34~1._/App/R-PORT~1/etc/i386/Makeconf" -f "W:/R-34~1._/App/R-PORT~1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="parser.dll" OBJECTS="Module.o files.o gram.o io.o stretchyList.o tokens.o toplevel.o utf8.o"' had status 2
ERROR: compilation failed for package 'parser'
* removing 'W:/R-3.4._/R_LIBS_USER_3.4._/parser'
Installation failed: Command failed (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions