I am trying to write a User-defined Model in C++ for FLAC in Visual Studio Express 2010 c++. Initially, I am trying to run(debug and build) the built-in Strain-softening Model based on the Mohr-Coulomb criterion (Available in FLAC 8.0) by changing its name only from 'ssoft' to 'i_ssoft'. However, I am getting the following error msg:-

1>------ Build started: Project: i_ssoft, Configuration: Debug x64 ------

1>  modeli_ssoft.cpp

1>     Creating library C:\Program Files\Itasca\FLAC800\PluginFiles\Models\modeli_ssoft\i_ssoft\i_ssoft.lib and object C:\Program Files\Itasca\FLAC800\PluginFiles\Models\modeli_ssoft\i_ssoft\i_ssoft.exp

1>modeli_ssoft.obj : error LNK2001: unresolved external symbol "public: virtual class std::basic_string __cdecl models::ConstitutiveModel::getPluginName(void)const " (?getPluginName@ConstitutiveModel@models@@UEBA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ)

1>C:\Program Files\Itasca\FLAC800\PluginFiles\Models\modeli_ssoft\i_ssoft\\i_ssoft.dll : fatal error LNK1120: 1 unresolved externals

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

From the error code, it is clear that I need to add models::ConstitutiveModel::getPluginName library which I have tried  (a screenshot is attached), but still, I am getting the same error.

Anyone, please suggest to me any appropriate solution for my problem. Kindly, inform me if you need any further information from my end.

More Dipaloke Majumder's questions See All
Similar questions and discussions