Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
31 Views

Multiply defined symbols

Hi,

I get these errors after compiling a program, please see attachment.
They refer to multiply defined symbols like "for_close already defined in libifcoremdd.lib(libifcoremdd.dll)"

This happened  after I used a non intrinsic module in the program. The module contains one subroutine.
If I don't use the module, but add the subroutine to my program the errors go away.

The compiler version is 19.0.0.117

Any idea as to what is wrong?

Regards,

Svein-Atle Engeseth
 

0 Kudos
2 Replies
Highlighted
Black Belt
31 Views

You probably attempted to link objects and libraries, of which some had been compiled with the "multithreaded libraries" option and others with the "multithreaded dynamic libraries". Make sure to compile all the objects with one and the same option.

0 Kudos
Highlighted
31 Views

Hi mecej4,

Thank you. You are absolutely right, that was the problem.
Thanks.

Svein-Atle Engeseth

0 Kudos