Please wait...
×

Error

Posted Wed, 06 Jan 2016 22:24:26 GMT by Colin Kikuchi Groundwater Hydrologist
Hello all,

I apologize if this is a very basic question but I am new to using the IFM in FEFLOW.

I am trying to reproduce the basic "Hello World" example in the FEFLOW 7.0 users manual but encounter a problem when running "Debug". The following messages appear:

LNK2001 unresolved external symbol DllRegisterServer
LNK2001 unresolved external symbol DllUnregisterServer
LNK1120 2 unresolved externals

I don't really have a programming background and am thinking there is something fairly basic that I must have missed - any suggestions or advice would be greatly appreciated!!!

Thanks,
Colin
Posted Wed, 13 Jan 2016 00:06:08 GMT by adacovsk
I think it's broken. I can't compile anything, even my previous plug-ins.
Posted Sun, 24 Jan 2016 11:49:49 GMT by Carlos Andres Rivera Villarreyes Global Product Specialist - FEFLOW
Hi,

Unfortunately, this is a bug in FEFLOW 7.0. You can easily continue your work with the following steps:

1) Open the properties of the plug-in project.
2) Go to COMMON Properties
3) You will see that there is a link still related to FEFLOW 6.2. Remove this link.
4) Add the new link now with FEFLOW 7.0. Typically this is located under "C:\Users\Public\Documents\DHI FEFLOW 7.0\sdk\ifm\lib". You just need to take the right version of your Microsoft Visual Studio and include file "ifm.vcxproj".
5) Clean solution and rebuild everything again.

Carlos
Posted Fri, 12 Feb 2016 22:27:32 GMT by adacovsk
This did not work for me. I had to first remove the ifm project from my solution, add it back in from FEFLOW 7.0 path (as mentioned) then modify the configuration properties to make it work, along with adding the common property back as Carlos mentioned...

So remember to change the configuration properties (if it doesn't work):
Debugging command
C/C++ additional include directories
Post-Build Event command line
Posted Wed, 24 Feb 2016 12:31:24 GMT by Carlos Andres Rivera Villarreyes Global Product Specialist - FEFLOW
Dear all,
This bug is already fixed in the new update # 3 of FEFLOW 7.0. The correct link associated is ensured in the MS template.
Best,
Carlos
Posted Mon, 14 May 2018 21:34:53 GMT by adacovsk
Hi,

I am experiencing this once again with FEFLOW v6.2 p16 64-bit:
[code]
LNK2001 unresolved external symbol DllRegisterServer
LNK2001 unresolved external symbol DllUnregisterServer
LNK1120 2 unresolved externals
[/code]

I am also experiencing with FEFLOW v7.1:

[code]Error LNK1158 cannot run 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\rc.exe'
[/code]

I do have MSVS 2010 and MSVS2015 installed as well, because of compatibility issues with my plug-ins.

Regards,

Adam
Posted Tue, 18 Sep 2018 21:21:03 GMT by adacovsk
Bumping previous message...

Keep having LNK2001 and LNK1120 error in Visual Studio 2015... I will try reinstalling  :'(
Posted Wed, 19 Sep 2018 14:04:53 GMT by Björn Kaiser
Which OS and version are you using? Please let me also the update number of FEFLOW 7.1. Thanks Adam.
Posted Thu, 20 Sep 2018 17:06:01 GMT by adacovsk
Reinstalling did work, it seems the path changes likely due to OS, sorry about that.

You must be signed in to post in this forum.