Cancel
Showing results for 
Search instead for 
Did you mean: 

compiler path change

Pioneer
Pioneer

I'd like to change compiler path at Amesim.

the compiler is located in not Amesim folder.

what should I do?

4 REPLIES

Re: compiler path change

Siemens Phenom Siemens Phenom
Siemens Phenom

2 files are needed to setup the access to Microsoft Visual compiler in Amesim:

image.pngimage.png

 

Wen you install a new Microsoft compiler, you need to update those files to the correct MVS path where the 'original' vcvars32/64.bat files are located.

 

SO in short:

- find vcvars32.bat and vcvars64.bat on your computer (the ones from Microsoft compilar installation)

- update vcvars32 and vcvars64 files with the correct path in Amesim installation.

 

 

Finally, in Amesim/Tools/Preferences change the compiler settings to use the 64 bit compiler:

image.png

 

Re: compiler path change

Pioneer
Pioneer

Thank you,

So you mean we cannot change file path,

and we should put it original position?

Re: compiler path change

Siemens Phenom Siemens Phenom
Siemens Phenom

I'm not sure to understand your question...

 

If you have installed a new compiler, you must edit those files (vcvars32 and vcvars64 in Amesim installation folder) and put the compiler path, save it and start Amesim again, it should find the Microsoft compiler this way:

image.png

 

 

Highlighted

Re: compiler path change

Pioneer
Pioneer
Thank you,
Now I understand, vcvars32 and vcvars64 should be in Amesim installation folder.
and put the path. I'll try this way.