Fatal error C1083 in Adding A New Material process

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
yajiewu
Posts: 1
Joined: Thu Feb 08, 2018 1:54 pm
Location: Tongji University

Fatal error C1083 in Adding A New Material process

Post by yajiewu »

I am studying how to add a new material in OpenSees and just follow the tutorial given by Dr. Frank Mckenna.

However, when I included all the cpp files and built it, then came out this: fatal error C1083: “bool.h”: No such file or directory.

I do not know why this came out, as I checked all the steps in Dr. Mckenna's video and pdf file.
duguyihan
Posts: 13
Joined: Wed Dec 02, 2015 4:05 am
Location: Hunan University

Re: Fatal error C1083 in Adding A New Material process

Post by duguyihan »

I put the file "bool.h"(from src) into the "core" directory and add it in the source files, it works! But i face the following errors (Win10 64bit, visual studio 2017, v2.5.0):

1>dllmain.cpp
1>win32Functions.obj : error LNK2005: _DllMain@12 already defined in win32Functions.obj
1> Creating library E:\OpenseesSecondary\source code\DEVELOPER\material\cpp\ElasticPPcpp\Release\ElasticPPcpp.lib and object E:\OpenseesSecondary\source code\DEVELOPER\material\cpp\ElasticPPcpp\Release\ElasticPPcpp.exp
1>E:\OpenseesSecondary\source code\DEVELOPER\material\cpp\ElasticPPcpp\Release\ElasticPPcpp.dll : fatal error LNK1169: one or more multiply defined symbols found
1>Done building project "ElasticPPcpp.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
CMiculas
Posts: 26
Joined: Wed Oct 25, 2017 6:23 am
Location: University of Coimbra

Re: Fatal error C1083 in Adding A New Material process

Post by CMiculas »

Did you manage to solve the problem?
In my case it cannot find, 'tcl.h' file. Have you also encountered this error?
Post Reply