Author Topic: error MSB6006: "CL.exe" in windows 7  (Read 13677 times)

0 Members and 1 Guest are viewing this topic.

highflyingbird

  • Bull Frog
  • Posts: 414
  • Later equals never.
error MSB6006: "CL.exe" in windows 7
« on: June 05, 2011, 09:15:27 PM »
I want to use Native Multitargeting Platform Toolsets Daffodil, from here

Now I am working in Win7,VS2010, I have installed Daffodil, I changed the platform toolsets to 8.0, I also installed VC2005,(This is a Green version ,or a portable one), then compiled my project. then :

C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(57,5): error MSB6006:"CL.exe"已退出,代码为 -1073741515。
my question maybe looks like this topic

But I did the same thing in windows XP ,it did work.I can compile multi-targeting ARX.
So what should I do?
Thanks for your any help.

by the way, I tested VC2008(a portable version too),It's working.
« Last Edit: June 05, 2011, 10:04:01 PM by HighflyingBird »
I am a bilingualist,Chinese and Chinglish.

pkohut

  • Bull Frog
  • Posts: 427
Re: error MSB6006: "CL.exe" in windows 7
« Reply #1 on: June 05, 2011, 09:27:31 PM »
For a faster response you might want to send Owen an email or PM.

highflyingbird

  • Bull Frog
  • Posts: 414
  • Later equals never.
Re: error MSB6006: "CL.exe" in windows 7
« Reply #2 on: June 05, 2011, 09:36:36 PM »
For a faster response you might want to send Owen an email or PM.
Yes,Good idea.
I am a bilingualist,Chinese and Chinglish.

owenwengerd

  • Bull Frog
  • Posts: 439
Re: error MSB6006: "CL.exe" in windows 7
« Reply #3 on: June 05, 2011, 11:35:24 PM »
error MSB6006:"CL.exe"已退出,代码为 -1073741515

It sounds like the cl.exe tool cannot be executed for some reason.  What exactly do you mean by the Green/portable version?  I'm not familiar with that terminology.  What happens if you execute [MSVC8]\VC\bin\cl.exe from a DOS command prompt?

highflyingbird

  • Bull Frog
  • Posts: 414
  • Later equals never.
Re: error MSB6006: "CL.exe" in windows 7
« Reply #4 on: June 05, 2011, 11:55:33 PM »
It sounds like the cl.exe tool cannot be executed for some reason.  What exactly do you mean by the Green/portable version?  I'm not familiar with that terminology.  What happens if you execute [MSVC8]\VC\bin\cl.exe from a DOS command prompt?
A portable version,I mean, I coped the VC2005 execute and library files ,like this:
2011/06/06  11:44    <DIR>          .
2011/06/06  11:44    <DIR>          ..
2007/04/20  21:49    <DIR>          atlmfc
2011/06/06  01:18    <DIR>          bin
2007/04/20  21:49    <DIR>          crt
2011/06/06  01:18    <DIR>          include
2011/06/06  01:18    <DIR>          lib
2007/04/20  21:49    <DIR>          PlatformSDK
2007/04/20  21:49    <DIR>          redist

then Added something into registration table.see attachment.
Becuase I don't want to install all the VC compiler fully in my system--it's very big size and a long time waiting job.

Directly  ececute CL.exe from a DOS command prompt? I will try.

Thank you,owenwengerd.
Happy Dragon Boat Festival everybody!
I am a bilingualist,Chinese and Chinglish.

highflyingbird

  • Bull Frog
  • Posts: 414
  • Later equals never.
Re: error MSB6006: "CL.exe" in windows 7
« Reply #5 on: June 08, 2011, 10:24:34 PM »
Ececute CL.exe from a DOS command..
It's OK. +
I am a bilingualist,Chinese and Chinglish.

owenwengerd

  • Bull Frog
  • Posts: 439
Re: error MSB6006: "CL.exe" in windows 7
« Reply #6 on: June 09, 2011, 09:38:41 AM »
Ececute CL.exe from a DOS command..
It's OK. +

In that case, it sounds like you have some missing or incorrect registry settings.

highflyingbird

  • Bull Frog
  • Posts: 414
  • Later equals never.
Re: error MSB6006: "CL.exe" in windows 7
« Reply #7 on: June 09, 2011, 10:21:02 AM »
Ececute CL.exe from a DOS command..
It's OK. +

In that case, it sounds like you have some missing or incorrect registry settings.

Maybe ,but today  I installed vs2008,then I used same VC2005 (portable version) , with your VCBuildHook ,compiled ARX file  successfully.
I am a bilingualist,Chinese and Chinglish.

owenwengerd

  • Bull Frog
  • Posts: 439
Re: error MSB6006: "CL.exe" in windows 7
« Reply #8 on: June 09, 2011, 11:21:01 AM »
The new MSBuild build system in VS 2010 is more complex and has more input parameters than the VS 2008 build system, so it's not surprising that VS 2008 would work while VS 2010 would fail. You could install VS 2005 correctly to see if that fixes the problem.

highflyingbird

  • Bull Frog
  • Posts: 414
  • Later equals never.
Re: error MSB6006: "CL.exe" in windows 7
« Reply #9 on: June 09, 2011, 11:39:56 AM »
The new MSBuild build system in VS 2010 is more complex and has more input parameters than the VS 2008 build system, so it's not surprising that VS 2008 would work while VS 2010 would fail. You could install VS 2005 correctly to see if that fixes the problem.
Thank you a lot. Yes,I think  I shouldn't be lazy.
I am a bilingualist,Chinese and Chinglish.

frtfff

  • Bull Frog
  • Posts: 214
Re: error MSB6006: "CL.exe" in windows 7
« Reply #10 on: December 04, 2011, 10:46:21 PM »
maybe,it's not been installed to the net frame3.5+

frtfff

  • Bull Frog
  • Posts: 214
Re: error MSB6006: "CL.exe" in windows 7
« Reply #11 on: December 04, 2011, 10:47:13 PM »
i am in xiamen,qq 2544512892 db.please.