cjlin1 / libsvm

LIBSVM -- A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
BSD 3-Clause "New" or "Revised" License
4.55k stars 1.64k forks source link

Problem when compiling with nmake W10. #99

Open reiniermujica opened 7 years ago

reiniermujica commented 7 years ago

I've trying to compile libSVM on W10 with Visual Studio 2015 Enterprise compiler and I get this error. I type nmake -f makefile.win

Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved.

    cl.exe -nologo -O2 -EHsc -I. -D __WIN32__ -D _CRT_SECURE_NO_DEPRECATE -c timer.cpp

timer.cpp timer.cpp(26): fatal error C1083: Cannot open include file: 'limits': No such file or directory NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe"' : return code '0x2' Stop.

It seems some problem with visual studio installation?

cjlin1 commented 7 years ago

but there is no timer.cpp in libsvm?

Reinier César Mujica Hernández writes:

I've trying to compile libSVM on W10 with Visual Studio 2015 Enterprise compiler and I get this error. I type nmake -f makefile.win

Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved.

cl.exe -nologo -O2 -EHsc -I. -D __WIN32__ -D _CRT_SECURE_NO_DEPRECATE -c timer.cpp

timer.cpp timer.cpp(26): fatal error C1083: Cannot open include file: 'limits': No such file or directory NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe"' : return code '0x2' Stop.

It seems some problem with visual studio installation?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread. *