News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

[SOLVED] dmd: Error: unrecognized file extension dll

Started by Zeex, August 24, 2010, 12:23:22 PM

Previous topic - Next topic

Zeex

Hello,

I'm trying to make a DLL using D (I choose Dyamic Library in project settings) and dmd2 compiler, and I have only two files in my project. The .obj files are generated without any errors but when it tries to link them it prints "Error: unrecognized file extension dll". How do I fix this?  Which option should I change?

Thanks in advance.

Zeex

OK it seems I solved this problem.

In case someone else have it - go to Settings -> Compiler and debugger -> Choose Digital Mars D Compiler in compiler list-> Other Settings -> Advanced options button -> Commands tab -> Change "Link object files to dynamic library" command to "$linker -of$exe_output $link_options $link_objects $libs $link_resobjects", then re-build your project.