How to change variables in the yml to install an environment in Windows

71 views Asked by At

My knowledge in linux is very limited and I have tried my best but couldn't figure this problem.

There is a python package that I have managed to install on a linux computer by following the installation instructions. I am now trying to install the same in Windows but I can't figure out how to.

This is the package.

I used miniforge to create the environment using the yml file.

I installed the the Microsoft Visual Studio Community 2022 for the C++ compiler.

The following are the variables in the yml file for installation in linux.

variables:
RIVLIB_ROOT: /gpfs/data1/vclgp/software/rivlib-2_6_0-x86_64-linux-gcc9
RDBLIB_ROOT: /gpfs/data1/vclgp/software/rdblib-2.4.0-x86_64-linux
PYLIDAR_CXX_FLAGS: -std=c++11 

I got the appropriate windows equivalent RIVLIB and RDBLIB and changed the paths. I don't understand what to do with the PYLIDAR_CXX_FLAG. I'm guessing this needs to be changed but I have no idea to what.

1

There are 1 answers

3
Roman On

msvc compiler doesn't support -std=c++11 flag, instead it has the /std, you can check here, but the c++11 is supported by default and there is no such switch, so you can just remove it.