Gunnar Andersson
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
2019年1月4日 GMT-5 02:11
It sounds as if you try to start the x64 Native Tools Command Prompt for VS 2017 from within Visual Studio 2017. You should instead start it from the start menu - see the attached image.
It sounds as if you try to start the x64 Native Tools Command Prompt for VS 2017 from within Visual Studio 2017. You should instead start it from the start menu - see the attached image.
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
2019年1月4日 GMT-5 09:26
Hi, Gunnar Andersson:
I found it! Thank you so much for your valuble reply.
However, I encountered a confusion when trying to compile a self-defined model which contains the utility functions. In the users' Guide, the third step is to input
"link /OUT:ext.dll /DLL ext.obj
C:\Program Files\COMSOL\COMSOL54\Multiphysics\data\extmat\win64\csextutils.lib"
into the command line. I found the .dll file has already created after only inputing the first line in the quote above. So I am wondering what is functionality of the file path in the second line. Is it correct if we neglect it? And should I input contents in the quote in one line or two lines?
Thank you so much for your time and help.
Yu
-------------------
Yu Zhang
Hi, Gunnar Andersson:
I found it! Thank you so much for your valuble reply.
However, I encountered a confusion when trying to compile a self-defined model which contains the utility functions. In the users' Guide, the third step is to input
"link /OUT:ext.dll /DLL ext.obj
C:\Program Files\COMSOL\COMSOL54\Multiphysics\data\extmat\win64\csextutils.lib"
into the command line. I found the .dll file has already created after only inputing the first line in the quote above. So I am wondering what is functionality of the file path in the second line. Is it correct if we neglect it? And should I input contents in the quote in one line or two lines?
Thank you so much for your time and help.
Yu