Need help fixing "The linker can't handle *.d.obj" issue

Heromyth zxpmyth at yahoo.com.cn
Sat Apr 3 07:03:20 PDT 2010


Daniel Ribeiro Maciel Wrote:

> Hey guys!
> 
> The linker can't handle *.d.obj files:
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=2886
> 
> I really need this issue fixed, so can any of you guys point me in the right direction? Where can I find its source code and where to begin and stuff...
> 
> It is really ruining my CMake building scripts.
> 
> Best Regards,
> Daniel

If using CMake, you can get it solved by setting this switch
CMAKE_<LANG>_OUTPUT_EXTENSION
in CMake.

I am using this
SET(CMAKE_D_OUTPUT_EXTENSION_REPLACE 1)
in CMakeDCompiler.cmake.in for CMakeD. Hope this useful.

Sorry for that not being sure whether this switch is working



More information about the Digitalmars-d mailing list