Please wait...
×

Error



Posted 9 years ago 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 9 years ago by adacovsk
I think it's broken. I can't compile anything, even my previous plug-ins.
Posted 9 years ago by Carlos Andres Rivera Villarreyes Business Owner - 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 9 years ago 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 9 years ago by Carlos Andres Rivera Villarreyes Business Owner - 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 7 years ago 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 7 years ago by adacovsk
Bumping previous message...

Keep having LNK2001 and LNK1120 error in Visual Studio 2015... I will try reinstalling  :'(
Posted 7 years ago 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 7 years ago 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.