May 11, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to FrankLike |
On 10.05.2014 10:42, FrankLike wrote:
>
>> I've been using VisualD for a long time without problems. If it makes
>> you nervous, you can get the source from Github and compile it yourself.
>
> Hello,Meta
>
> When I compile the Visual D projects:
>
> at first,I compile the 'build' project,then get some error:
>
>
> ------START ALL BUILD: PROJECT: c2d, Debug Win32 ------
> Building ..\bin\Debug\c2d.lib...
> Build time: 1 s
> ------ START ALL BUILD: PROJECT: vsi2d, Debug Win32 ------
> Building ..\bin\Debug\vsi2d.exe...
> Converting debug information...
> Build time: 1 s
> ------ START ALL BUILD: PROJECT: build, Debug Win32 ------
> Building ..\bin\Debug\build.sdk...
> 'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.
> Building ..\bin\Debug\dte_idl.success failed!
>
>
> Here is my VSSDK AND WINSDK:
> VSSDK100Install = C:\Program Files (x86)\Microsoft Visual Studio 2010
> SDK SP1
> WindowsSdkDir = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
>
> How can I do?
>
> Thank you.
There are some quotes missing when building the Debug configuration. I have committed a fix and also added the missing file reported in your other message (IIRC it is not needed by every VS SDK).
|
May 12, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | > There are some quotes missing when building the Debug configuration. I have committed a fix and also added the missing file reported in your other message (IIRC it is not needed by every VS SDK).
Thank you,I'll try it.
Frank
|
May 12, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | > There are some quotes missing when building the Debug configuration. I have committed a fix and also added the missing file reported in your other message (IIRC it is not needed by every VS SDK). Sorry,Rainer Schuetze, Here is some error when compile the VisualD: --------------ERROR START---------------- Building Resources\pkgcmd.cto Command Line set PATH=D:\D\dmd2\windows\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\\bin;%PATH% set DMD_LIB=D:\D\dmd2\windows\lib set VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin set CTC=%VS9SDKBIN%\CTC.exe if not exist "%CTC%" goto no_CTC if not exist "C:\Program Files (x86)\Microsoft Visual Studio 10.0\\Common7\Tools\vsvars32.bat" goto no_CTC set PATH=%PATH%;%VS9SDKBIN% call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\\Common7\Tools\vsvars32.bat" if errorlevel 1 goto reportError "%CTC%" Resources\pkgcmd.ctc Resources\pkgcmd.cto -Ccl -I. goto reportError :no_CTC echo Warning: CTC.exe not found in %VS9SDKBIN%. echo It is part of the VS2008 SDK and is needed to compile Resources\pkgcmd.ctc if not exist Resources\pkgcmd.cto exit 1 echo Resources\pkgcmd.cto exists, so it is assumed to be up to date. echo If the project rebuilt again and again with this message, touch Resources\pkgcmd.cto to make it newer than Resources\pkgcmd.ctc :reportError :reportError if errorlevel 1 echo Building Resources\pkgcmd.cto failed! Output Warning: CTC.exe not found in c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin. It is part of the VS2008 SDK and is needed to compile Resources\pkgcmd.ctc -------------ERROR END--------- I found it always to overwite the file 'visuald\visuald\Resources\pkgcmd.cto.build.cmd',let the 'VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin' not use '%VSSDK100Install%VisualStudioIntegration\Tools\Bin' . Then failed. Thank you again. Frank |
May 12, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to FrankLike | On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:
>> There are some quotes missing when building the Debug configuration. I have committed a fix and also added the missing file reported in your other message (IIRC it is not needed by every VS SDK).
>
Sorry,Rainer Schuetze,
And there is a little error in sdk.bat
'(echo unexpected Visual Studio SDK installation at %VSISDKINC% && exit /B 1)'
%VSISDKINC% should be "%VSISDKINC%"
Thank you again.
Frank
|
May 12, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to FrankLike |
On 12.05.2014 08:36, FrankLike wrote:
>> There are some quotes missing when building the Debug configuration. I
>> have committed a fix and also added the missing file reported in your
>> other message (IIRC it is not needed by every VS SDK).
>
> Sorry,Rainer Schuetze,
> Here is some error when compile the VisualD:
>
> --------------ERROR START----------------
> Building Resources\pkgcmd.cto
> Command Line
> set PATH=D:\D\dmd2\windows\bin;C:\Program Files (x86)\Microsoft
> SDKs\Windows\v7.0A\\bin;%PATH%
> set DMD_LIB=D:\D\dmd2\windows\lib
> set VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin
> set CTC=%VS9SDKBIN%\CTC.exe
> if not exist "%CTC%" goto no_CTC
> if not exist "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\\Common7\Tools\vsvars32.bat" goto no_CTC
> set PATH=%PATH%;%VS9SDKBIN%
> call "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\\Common7\Tools\vsvars32.bat"
> if errorlevel 1 goto reportError
> "%CTC%" Resources\pkgcmd.ctc Resources\pkgcmd.cto -Ccl -I.
> goto reportError
>
> :no_CTC
> echo Warning: CTC.exe not found in %VS9SDKBIN%.
> echo It is part of the VS2008 SDK and is needed to compile
> Resources\pkgcmd.ctc
> if not exist Resources\pkgcmd.cto exit 1
> echo Resources\pkgcmd.cto exists, so it is assumed to be up to date.
> echo If the project rebuilt again and again with this message, touch
> Resources\pkgcmd.cto to make it newer than Resources\pkgcmd.ctc
> :reportError
> :reportError
> if errorlevel 1 echo Building Resources\pkgcmd.cto failed!
> Output
> Warning: CTC.exe not found in
> c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin.
> It is part of the VS2008 SDK and is needed to compile Resources\pkgcmd.ctc
> -------------ERROR END---------
>
> I found it always to overwite the file
> 'visuald\visuald\Resources\pkgcmd.cto.build.cmd',let the
> 'VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin' not use
> '%VSSDK100Install%VisualStudioIntegration\Tools\Bin' .
> Then failed.
ctc.exe is not distributed with the SDKs starting from VS2010, so mapping to a more recent version does not work. That's why there is a precompiled pkgcmd.cto file in the repository. You'll have to update its modification time to avoid the build process trying to generate it from pkgcmd.ctc every time.
The explicitely used c:\l\vs9SDK is my installation, I should add a check for %VSSDK90Install% here.
|
May 12, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to FrankLike |
On 12.05.2014 08:38, FrankLike wrote:
> On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:
>>> There are some quotes missing when building the Debug configuration.
>>> I have committed a fix and also added the missing file reported in
>>> your other message (IIRC it is not needed by every VS SDK).
>>
> Sorry,Rainer Schuetze,
> And there is a little error in sdk.bat
> '(echo unexpected Visual Studio SDK installation at %VSISDKINC% && exit
> /B 1)'
> %VSISDKINC% should be "%VSISDKINC%"
>
I agree it is a bit clearer with quotes, but echo still works without, doesn't it?
|
May 12, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | > ctc.exe is not distributed with the SDKs starting from VS2010, so mapping to a more recent version does not work. That's why there is a precompiled pkgcmd.cto file in the repository. You'll have to update its modification time to avoid the build process trying to generate it from pkgcmd.ctc every time. > > The explicitely used c:\l\vs9SDK is my installation, I should add a check for %VSSDK90Install% here. Sorry,Rainer Schuetze, Use it ,this is a good idea: set VSISDKINC= if "%VSISDKINC%" == "" if not "%VSSDK120Install%" == "" set VSISDKINC=%VSSDK120Install% if "%VSISDKINC%" == "" if not "%VSSDK110Install%" == "" set VSISDKINC=%VSSDK110Install% if "%VSISDKINC%" == "" if not "%VSSDK100Install%" == "" set VSISDKINC=%VSSDK100Install% if "%VSISDKINC%" == "" if not "%VSSDK90Install%" == "" set VSISDKINC=%VSSDK90Install% if "%VSISDKINC%" == "" if not "%VSSDK80Install%" == "" set VSISDKINC=%VSSDK80Install% if "%VSISDKINC%" == "" (echo could not detect the Visual Studio SDK && exit /B 1) >> Sorry,Rainer Schuetze, >> And there is a little error in sdk.bat >> '(echo unexpected Visual Studio SDK installation at %VSISDKINC% && exit >> /B 1)' >> %VSISDKINC% should be "%VSISDKINC%" >> > > I agree it is a bit clearer with quotes, but echo still works without, doesn't it? Not work now in VS2010. The error is : '\Microsoft is ....' Thank you. Frank |
May 27, 2014 Re: Down the VisualD0.3.38-1.exe ,found virus! | ||||
---|---|---|---|---|
| ||||
Posted in reply to sigod | >> Hi,everyone, >> down VisulaD from http://rainers.github.io/visuald/visuald/StartPage.html >> found the virus:Win32.Troj.Undef.(kcloud) >> >> Why? >> >> Frank > > https://www.virustotal.com/en/file/bbd76ddb41a80f0526f6cf1e37a2db2736cfa8f29ed3f5fd7a4336bf4c8bbe43/analysis/ > > Just 5 of 52. Probably a false alarm. Kaspersky IS accepts the installer VisualD-v0.3.38-1.exe without complaint, but after installation removes 'c:\program files (x86)\visuald\visuald.dll' by claiming it as 'UDS:DangerousObject.Multi.Generic'. I don't know how to prevent this removal (and whether I should do so). Version 0.3.37 that was contained in the DMD 2.065 installer could be installed without problem. Do you have any hint? |
Copyright © 1999-2021 by the D Language Foundation