Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can not make #5

Closed
Nivoyash opened this issue May 20, 2017 · 1 comment
Closed

I can not make #5

Nivoyash opened this issue May 20, 2017 · 1 comment

Comments

@Nivoyash
Copy link

Installed:

  • MVS17
  • CMake (and TDM-GCC-64)
  • cURL

Source on: C:\Users\user\Downloads\xmrig-master\xmrig-master
Build dir: C:\Users\user\Downloads\xmrig-master\xmrig-master\build
Command: cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCURL_INCLUDE_DIR="C:\curl-7.54.0\include" -DCURL_LIBRARY="C:\curl-7.54.0\lib" -DCMAKE_C_COMPILER="C:\MinGW\bin\c++.exe"

Output:
`
C:\Users\user\Downloads\xmrig-master\xmrig-master\build>cmake .. -G "Unix Makefi
les" -DCMAKE_BUILD_TYPE=Release -DCURL_INCLUDE_DIR="C:\curl-7.54.0\include" -DCU
RL_LIBRARY="C:\curl-7.54.0\lib" -DCMAKE_C_COMPILER="C:\MinGW\bin\c++.exe"
-- The C compiler identification is unknown
CMake Error at build/CMakeFiles/3.8.1/CMakeCCompiler.cmake:1 (set):
Syntax error in cmake code at

C:/Users/user/Downloads/xmrig-master/xmrig-master/build/CMakeFiles/3.8.1/CMa

keCCompiler.cmake:1

when parsing string

C:\MinGW\bin\c++.exe

Invalid escape sequence \M
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

-- Configuring incomplete, errors occurred!
See also "C:/Users/user/Downloads/xmrig-master/xmrig-master/build/CMakeFiles/CMa
keOutput.log".
See also "C:/Users/user/Downloads/xmrig-master/xmrig-master/build/CMakeFiles/CMa
keError.log".

C:\Users\user\Downloads\xmrig-master\xmrig-master\build>`

Maby you have .sln MVS2017?

@xmrig
Copy link
Owner

xmrig commented May 20, 2017

You need a C compiler (gcc) not C++
MSVC (any version) not supported.

@xmrig xmrig closed this as completed Aug 17, 2017
@GehogHeg GehogHeg mentioned this issue Dec 2, 2019
@agentpatience agentpatience mentioned this issue Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants