The script of oneapi setvars.sh, change env and make visual studio 2019 Cross-Platform can not work

ryryss 0 Reputation points
2023-06-08T07:04:37.2833333+00:00

I use visual studio 2019 remote debug Linux machine in windwos. By add some codes to ~/.bashrc for auto set build environment. like:

source /data/intel/oneapi/setvars.sh

when Cmake generate, i get : cannot make dir error code 1.

In normal ssh connection, ~/.bashrc works fine.

How to keep setvars.sh auto work and use visual studio 2019 Cross-Platform at the same time.

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.