Hello,
I am also trying to write a plugin implementing a custom biphasic code. For this I followed your suggestion (see post of 09-20-2019) to try and copy the biphasic code (namely FEBiphasic, FEBiphasicSolidDomain, FEBiphasicDomain and FEBiphasiSolver; for all .cpp and .h) into a new plugin and trying to build it. However, after adding FEBiphasicSolidDomain and FEBiphasiSolver I get four LNK2001 errors. I tried removing the <windows.h> header file, but that didn’t change anything.
Here one example:
LNK2001 unresolved external symbol "public: __cdecl FEBioImport::FEBioImport(void)" (??0FEBioImport@@QEAA@XZ) C:\Users\...\febiomech.lib(FEMicroMaterial.obj)
Here a little additional information:
- I included the libraries and include folders from the SDK in VC++ Directories
- I added WIN32 in C++/Preprocessor
- I included fecore.lib;febiomech.lib;febiomix.lib;febiofluid.l ib in Linker input
- I use Visual Studio 2017, and try building the plugin using release and x64
I am not sure what the error could be and how to proceed.
Looking forward to any helpful comments.
Thanks!
I am also trying to write a plugin implementing a custom biphasic code. For this I followed your suggestion (see post of 09-20-2019) to try and copy the biphasic code (namely FEBiphasic, FEBiphasicSolidDomain, FEBiphasicDomain and FEBiphasiSolver; for all .cpp and .h) into a new plugin and trying to build it. However, after adding FEBiphasicSolidDomain and FEBiphasiSolver I get four LNK2001 errors. I tried removing the <windows.h> header file, but that didn’t change anything.
Originally posted by maas
View Post
LNK2001 unresolved external symbol "public: __cdecl FEBioImport::FEBioImport(void)" (??0FEBioImport@@QEAA@XZ) C:\Users\...\febiomech.lib(FEMicroMaterial.obj)
Here a little additional information:
- I included the libraries and include folders from the SDK in VC++ Directories
- I added WIN32 in C++/Preprocessor
- I included fecore.lib;febiomech.lib;febiomix.lib;febiofluid.l ib in Linker input
- I use Visual Studio 2017, and try building the plugin using release and x64
I am not sure what the error could be and how to proceed.
Looking forward to any helpful comments.
Thanks!
Comment