www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Need help fixing "The linker can't handle *.d.obj" issue

reply Heromyth <zxpmyth yahoo.com.cn> writes:
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
Apr 03 2010
parent reply Daniel Ribeiro Maciel <danielmaciel gmail.com> writes:
Hey, thanks a lot, I'm gonna try that!

Heromyth Wrote:

 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

Apr 03 2010
parent reply Daniel Ribeiro Maciel <danielmaciel gmail.com> writes:
Funny, I couldn't get that to work. I put both variables in my
CMakeDCompiler.cmake.in.
=[

Daniel Ribeiro Maciel Wrote:

 Hey, thanks a lot, I'm gonna try that!
 
 Heromyth Wrote:
 
 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


Apr 07 2010
parent Daniel Ribeiro Maciel <danielmaciel gmail.com> writes:
Aww... Nevermind, it worked. Silly me, forgot to clean CMake cache. 
Thanks a lot!

Daniel Ribeiro Maciel Wrote:

 Funny, I couldn't get that to work. I put both variables in my
CMakeDCompiler.cmake.in.
 =[
 
 Daniel Ribeiro Maciel Wrote:
 
 Hey, thanks a lot, I'm gonna try that!
 
 Heromyth Wrote:
 
 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



Apr 07 2010