DLL creation with Visual Studio 2017
Moderators: silvia, selimgunay, Moderators
DLL creation with Visual Studio 2017
Dear Community,
I have some troubles creating the dll file with Visual Studio 2017, and I don't have access to an older version.
I was following the steps from https://www.youtube.com/watch?v=BaxFLF6A8Rg&t=1025s, in order to create a DLL file for the ElasticPPcpp example.
I receive the following errors: C4996, C1083!?
I can avoid C4996 by introducing this number into the "Disable Specific Warnings", but the other error still persists?!
Any suggestions?
Yours sincerely,
Cristian
I have some troubles creating the dll file with Visual Studio 2017, and I don't have access to an older version.
I was following the steps from https://www.youtube.com/watch?v=BaxFLF6A8Rg&t=1025s, in order to create a DLL file for the ElasticPPcpp example.
I receive the following errors: C4996, C1083!?
I can avoid C4996 by introducing this number into the "Disable Specific Warnings", but the other error still persists?!
Any suggestions?
Yours sincerely,
Cristian
Re: DLL creation with Visual Studio 2017
I face the same problem.
I can figure it out by selecting "Not using precompiled headers". However, other errors occur, including LNK2005, LNK1169. Still need help.
I can figure it out by selecting "Not using precompiled headers". However, other errors occur, including LNK2005, LNK1169. Still need help.
-
- Posts: 28
- Joined: Sat Jan 13, 2018 8:34 pm
- Location: Shanghai Jiao Tong University
Re: DLL creation with Visual Studio 2017
I was able to create .dll but can not use it in OpenSees.
You can create .dll by adding preprocessor definition _CRT_SECURE_NO_WARNINGS_
and choose 32-bit platform as for some reason it cannot link the core directory when set at 64-bit platform.
and then use opensees 32-bit version to run example1.tcl. It did not run for me. If you can do inform me
You can create .dll by adding preprocessor definition _CRT_SECURE_NO_WARNINGS_
and choose 32-bit platform as for some reason it cannot link the core directory when set at 64-bit platform.
and then use opensees 32-bit version to run example1.tcl. It did not run for me. If you can do inform me
-
- Posts: 28
- Joined: Sat Jan 13, 2018 8:34 pm
- Location: Shanghai Jiao Tong University
Re: DLL creation with Visual Studio 2017
use vs 2010 and Bingo
Re: DLL creation with Visual Studio 2017
i don't find the right soloutions to this problem
XSD series sand washeris cleaning equipment of international advance level for sand and slag pellets, developed on the basis of introducing foreign outstanding technology of the same kind of products.
-
- Posts: 28
- Joined: Sat Jan 13, 2018 8:34 pm
- Location: Shanghai Jiao Tong University
Re: DLL creation with Visual Studio 2017
using VS 2010 solved it for me