Issue while making Build
Environment info
Operating System: Windows7 CPU: C++/Python/R version: 2.7
Error Message:
While making the build, i am getting the below error
CMake Error at CMakeLists.txt:8 (PROJECT):
Generator
NMake Makefiles
does not support platform specification, but platform
x64
was specified.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "E:/LightGBM-master/LightGBM-master/build/CMakeFiles/CMakeOutput.log".
Kindly help me to solve this issue.
- can you use the windows cmd instead?
- did you have visual studio ?
Yes I have visual studio, community.
Let me try with Windows cmd.
Is it mandatory to build with cmake or I can try some other build tool also?
On Jun 24, 2017 03:51, "Guolin Ke" [email protected] wrote:
- can you use the windows cmd instead?
- did you have visual studio ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/LightGBM/issues/647#issuecomment-310806069, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyFFjwi_Ju4c4sRRwzDdGoOcX8fQr9bks5sHGu1gaJpZM4OELzU .
@Gautamshahi
you also can open lightgbm.sln in windows folder.
Build is done.
I am new to LightGBM so Will you please tell how to use LightGBM in visual studio?
On Jun 24, 2017 03:57, "Guolin Ke" [email protected] wrote:
@Gautamshahi https://github.com/gautamshahi you also can open lightgbm.sln in windows folder.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/LightGBM/issues/647#issuecomment-310806363, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyFFmC4sU-v5jJhU1QrzAUeACqvcnHbks5sHG0igaJpZM4OELzU .
@Gautamshahi just open the solution file under https://github.com/Microsoft/LightGBM/tree/master/windows/
Okay thank you.
On Jun 24, 2017 04:12, "Qiwei Ye" [email protected] wrote:
@Gautamshahi https://github.com/gautamshahi just open the solution file under https://github.com/Microsoft/LightGBM/tree/master/windows/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/LightGBM/issues/647#issuecomment-310807067, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyFFrQE3ACfHX3Hn7UZznDDE-6ZW16Rks5sHHB4gaJpZM4OELzU .
Why i am getting this two error

@Gautamshahi Are you using the 32-bit windows? we only support 64-bit systems.
I am using 64-Bit System.
On Sat, Jun 24, 2017 at 8:00 AM, Guolin Ke [email protected] wrote:
@Gautamshahi https://github.com/gautamshahi Are you using the 32-bit windows? we only support 64-bit systems.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/LightGBM/issues/647#issuecomment-310807941, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyFFpLT-0kfUyYZfaNQJPCY0pwS1sWeks5sHHTJgaJpZM4OELzU .
-- Gautam Kishore Shahi, Master Student, DISI- University of Trento, Italy
@Gautamshahi can you delete the "LightGBM-master\build" folder, then try again ? And can you run it with windows cmd ? the mingw cannot build correctly.
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.