AMGX icon indicating copy to clipboard operation
AMGX copied to clipboard

could you developers give us a detailed installation instruction on windows 10 with Cmake and vs 2019.

Open Ning-Li-Ambition opened this issue 3 years ago • 4 comments

I followed your build instructions in the readme, but got stuck at the last step which is the 'make -j16 all' command in the readme. I am not familiar with CMake, but this 'make -j16 all' command is not recognized by the windows cmd. It looks like that the building commands is prepared for Unix system, not for windows. Sorry if I am wrong. So could you developers give people like me, who are new to cmake and compiling, a detailed installation instruction on windows 10 with cmake and vs 2019? Thanks.

Ning-Li-Ambition avatar Sep 28 '21 00:09 Ning-Li-Ambition

Hi @Ning-Li-Ambition ,

Were you successful with cmake command from the build instructions? If it was successful, then there should be AMGX Visual Studio solution in the build directory which you can build like any other project.

marsaev avatar Nov 17 '21 14:11 marsaev

Oh, I got the same problem.

AlbertLiDesign avatar Nov 17 '21 15:11 AlbertLiDesign

Hi,

I was able to update the CMakeLists.txt files to work with cmake 3.22. I get the visual studio project fine.

BUT When trying to compile amgx_base, I ended up getting error messages regarding CHAR_MIN not identified when using Cuda Toolkit 10.2

It seems that this issue comes from an undef in thrust library which disables the definitions of CHAR_MIN, CHAR_MAX, etc. that come readily with Visual Studio 2019.

I have not yet tried with Cuda Toolkit 11.x versions.

Is anyone aware of any such resolved conflicts in thrust?

This is what is preventing a build of AMGx for me right now.

mnajafiy avatar Nov 30 '21 06:11 mnajafiy

Latest revision builds fine with VS 2019, let me know if you still have build issues.

marsaev avatar Mar 28 '22 09:03 marsaev