Visual Studio 2010 with NMAKE - visual-studio-2010

I am trying to generate a Visual Studio 2010 solution with the SCons, using vs2010 for building arp32 lib with the help of NAMKE of vs2010, after a successful build we are getting last line.
Please see this log, any suggestion will be appreciated.
1>------ Build started: Project: cipp, Configuration: cipp_algo_ti_arp32_debug Win32 ------
1>Build started 9/28/2016 6:50:03 AM.
1>Build:
1> Starting SCons
1> TRIDIP::::::::::::::::::float(num) 10.0
1> Path not found - D:\VS2010_test\CIPP\04_Engineering\03_Workspace\algo\cipp_sim\cipp_evm_hil\vme\generic\evm_sw
1>
1> targets being built/cleaned : cipp_algo_ti_arp32_debug
1> running with -j 1
1> command line defines :
1> verbose output : 0
1>EXEC : error : Compiler Personality file is not found
1>EXEC : error : Compiler Personality file is not found
1>EXEC : error : Compiler Personality file is not found
1>EXEC : error : Compiler Personality file is not found
1>EXEC : error : Compiler Personality file is not found
1> TRIDIP::::::::::::::::::float(num) 10.0
1> TRIDIP::::::::::::::::::float(num) 10.0
1> TRIDIP::::::::::::::::::float(num) 8.0
1> TRIDIP::::::::::::::::::float(num) 8.0
1> TRIDIP::::::::::::::::::float(num) 8.0
1> TRIDIP::::::::::::::::::float(num) 8.0
1> TRIDIP::::::::::::::::::float(num) 8.0
1> TRIDIP::::::::::::::::::float(num) 8.0
1> scons: `cipp_algo_ti_arp32_debug' is up to date.
1>
1> Build succeeded.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "echo Starting SCons && cd D:\VS2010_test\CIPP\04_Engineering\03_Workspace\algo\cipp && scons.bat -Q -j 1 skip_ide_generation=1 build_from_ide=1 build_from_vs=1 -C "D:\VS2010_test\CIPP\04_Engineering\03_Workspace\algo\cipp" -f SConstruct "cipp_algo_ti_arp32_debug" 2>&1 | ..\..\..\02_Development_Tools\scons_tools\gnutools\sed.exe -e "s/:\([0-9]\+\):[0-9]\+:/(\1) : /" -e "s/, line \([0-9]\+\):/(\1) : /"& if exist errorlevel.txt (for /f %%A in (errorlevel.txt) do exit /b %%A)" exited with code -1.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:03.60
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Related

Cordova app Build is failing in visual studio

I am not able to build cordova app in Visual studio. i have installed cordova extensions for my visual studio
In VS console it just displaying build is failed but no errors.
------ Build started: Project: SampleCordovaUsingCTP, Configuration: Debug Android ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> GeneratedJavascript=
1> C:\PhonegapSamples\SampleCordovaUsingCTP\SampleCordovaUsingCTP\SampleCordovaUsingCTP>call "C:\Program Files\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.29 (x64) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\R3EFQQ33.L3R\packages\vs-mda
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

An error occurred building visual studio cordova app using multi-device-hybrid-apps

I am getting 3 fatal errors. I installed the android SDK 19 as well. Any ideas???
An error occurred while listing Android targets
C:\Project\AngularJS_ToDo_Sample_for_Multi-Device_Hybrid_Apps\JavaScript\AngularJSTodo\EXEC 1 1 AngularJSToDo
C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\create.bat: Command failed with exit code 8
C:\Project\AngularJS_ToDo_Sample_for_Multi-Device_Hybrid_Apps\JavaScript\AngularJSTodo\EXEC 1 1 AngularJSToDo
The command ""C:\Users\wil\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Debug --projectDir . --projectName "AngularJSToDo"" exited with code 8.
C:\Users\wil\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets 115 5 AngularJSToDo
I tried #Freddy's answer, everything looked right but it didn't work. I got this:
1>------ Build started: Project: BlankCordovaApp2, Configuration: Debug Android ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(90,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> Your environment has been set up for using Node.js 0.10.22 (x64) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\ojeaygbd.tal\packages\vs-mda
1> ------ Name from source package.json: vs-mda
1> ------ Version from source package.json: 0.1.1
1> ------ Current globally installed version : 0.1.1
1> ------ Build settings:
1> ------ buildCommand: prepare
1> ------ platform: Android
1> ------ cordovaPlatform: android
1> ------ configuration: Debug
1> ------ cordovaConfiguration: Debug
1> ------ projectName: BlankCordovaApp2
1> ------ projectSourceDir: C:\Project\vsPhoneGap\BlankCordovaApp2
1> ------ Creating app at C:\Project\vsPhoneGap\BlankCordovaApp2\bld\Debug
1> Creating a new cordova project with name "HelloCordova" and id "io.cordova.hellocordova" at location "C:\Project\vsPhoneGap\BlankCordovaApp2\bld\Debug"
1> Using stock cordova hello-world application.
1> cordova library for "www" already exists. No need to download. Continuing.
1> Copying stock Cordova www assets into "C:\Project\vsPhoneGap\BlankCordovaApp2\bld\Debug\www"
1> ------ Copying app files to www
1> ------ Done copying app files to www
1> ------ Copying res files
1> ------ Creating directory: res
1> ------ Done copying res files
1> ------ Adding platform: android
1> cordova library for "android" already exists. No need to download. Continuing.
1> Checking if platform "android" passes minimum requirements...
1> Creating android project...
1> Running command: C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\create.bat --cli C:\Project\vsPhoneGap\BlankCordovaApp2\bld\Debug\platforms\android io.cordova.BlankCordovaApp2 BlankCordovaApp2
1>
1> C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:126
1> throw e;
1> ^
1>EXEC : error : An error occurred while listing Android targets
1> at C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\lib\check_reqs.js:87:29
1> at _rejected (C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:808:24)
1> at C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:834:30
1> at Promise.when (C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:1079:31)
1> at Promise.promise.promiseDispatch (C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:752:41)
1> at C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:574:44
1> at flush (C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:108:17)
1> at process._tickCallback (node.js:415:13)
1> Command finished with error code 8: C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\create.bat --cli,C:\Project\vsPhoneGap\BlankCordovaApp2\bld\Debug\platforms\android,io.cordova.BlankCordovaApp2,BlankCordovaApp2
1>
1> C:\Users\wil\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:126
1> throw e;
1> ^
1>EXEC : error : C:\Users\wil\.cordova\lib\android\cordova\3.4.0\bin\create.bat: Command failed with exit code 8
1> at ChildProcess.whenDone (C:\Users\wil\AppData\Roaming\npm\node_modules\vs-mda\node_modules\cordova\src\superspawn.js:126:23)
1> at ChildProcess.EventEmitter.emit (events.js:98:17)
1> at maybeClose (child_process.js:735:16)
1> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
1>C:\Users\wil\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets(115,5): error MSB3073: The command ""C:\Users\wil\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Debug --projectDir . --projectName "BlankCordovaApp2"" exited with code 8.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
00:03.210 - Failed - Debug Android - BlankCordovaApp2.jsproj
Total build time: 00:00.000
========== : 0 succeeded or up-to-date, 1 failed, 0 skipped, Completed at 5/17/2014 12:01:25 AM ==========
I was getting the same errors. There are three environment variables that must be defined:
1) %JAVA_HOME% -- C:\Program Files (x86)\Java\jdk1.7.0_55
2) %ADT_HOME% -- C:\Users\YOUR_NAME_GOES_HERE\AppData\Local\Android\android-sdk
3) %ANT_HOME% -- C:\apache-ant-1.9.3
NOTE -- The paths for these programs may be totally different on your PC - You have to figure out the install paths for each.
Once you have defined these variables then copy the entry below into the Path variable for your user account (I have read elsewhere that it is best to add these to the beginning of the entry and not the end - thats what I did and it worked for me). Reboot PC after making all changes.
%JAVA_HOME%\bin;%ADT_HOME%\tools;%ADT_HOME%\platform-tools;%ANT_HOME%\bin;
*Taken from the "Installing 3rd party software manually" section in the official documentation.
i had same problem, after installing Android SDK Build-tool from Android SDK Manager
the problem was solved
go to directory of Android SDK
as ...\AppData\Local\Android\android-sdk
open SDK Manager.exe
in list of packages
Android SDK Build tools package not install
and sdk manager will auto select lastest Rev. for you to install it
click Install Packages
wait until it done
try to build project again
and i got apk files at directory
.........\bin\Android\Debug
and i can run it in BlueStacks
sorry my english language is bad . -*-
GO to Command Prompt and type:
npm install -g glob
Now try running your app, It should work.
Try to following these steps in order:
Ensure that the Android SDK is installed at %localappdata%/Android/android-sdk
Ensure that Android is updated to the latest API (API 19 at the time of writing)
Ensure the Android SDK path is setup correctly:
Add ADT_HOME as an environment variable and point it to the android-sdk folder
Add to System Path: "%ADT_HOME%\tools;%ADT_HOME%\platform-tools"
Reboot your machine
This should resolve the issue.
*Taken from the "Installing 3rd party software manually" section in the official documentation.

Compilation error while building chromium

I am trying to build chromium on Windows 7 64 bit using VS2010.
I am getting error in building webkit.Here is error
1>------ Build started: Project: generate_supplemental_dependency, Configuration: Debug Win32 ------
1>Build started 11/11/2012 12:22:17 AM.
1>InitializeBuildStatus:
1> Touching "../../../../..\build\Debug\obj\generate_supplemental_dependency\generate_supplemental_dependency.unsuccessfulbuild".
1>CustomBuild:
1> Resolving [Supplemental=XXX] dependencies in all IDL files
1> 6 [main] perl 5908 child_copy: linked dll data write copy failed, 0xD2A000..0xD49C48, done 0, windows pid 5972, Win32 error 487
1> Can't call method "fileName" without a package or object reference at ../bindings/scripts/IDLParser.pm line 113.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 255.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:09.56
2>------ Build started: Project: webcore_bindings_sources, Configuration: Debug Win32 ------
2>Build started 11/11/2012 12:22:27 AM.
2>InitializeBuildStatus:
2> Touching "../../../../..\build\Debug\obj\webcore_bindings_sources\webcore_bindings_sources.unsuccessfulbuild".
2>CustomBuild:
2> HTMLEntityTable
2> Running call "C:\chrome\src\third_party\WebKit\Source\WebCore\WebCore.gyp\..\..\..\..\..\third_party\cygwin\setup_env.bat"
2> make: *** No rule to make target `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\supplemental_dependency.tmp', needed by `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\webcore\bindings\V8SpeechRecognitionEvent.cpp'. Stop.
2> make: *** No rule to make target `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\supplemental_dependency.tmp', needed by `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\webcore\bindings\V8SpeechRecognitionEvent.cpp'. Stop.
2> HTMLNames, and also WebKitFontFamilyNames, and also SVGNames, and also MathMLNames, and also XLinkNames, and also XMLNSNames, and also XMLNames
2> Failed to read names from file: C:/chrome/src/third_party/WebKit/Source/WebCore/html/HTMLTagNames.in at C:\chrome\src\third_party\WebKit\Source\WebCore\dom\make_names.pl line 290.
2> Traceback (most recent call last):
2> File "scripts/action_makenames.py", line 185, in <module>
2> File "scripts/action_makenames.py", line 167, in main
2> AssertionError
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.
2>
2>Build FAILED.
I search this error a lot on net and most of the solutions were related to cygwin rebasing.
they have mentionded to use following commad to rebase cygwin
ash.exe rebaseall
But I am not able to find ash or rebase all in cygwin director in third_party/cygwin folder.
Any idea about this error?
This error indicates that your cygwin installation does not contain (d)ash package. The best way to install cygwin with all the dependencies need for chrome is to run the cygwin-downloader.py.
This will install all the required dependencies, including ash.
Or else if you prefer to install ash.exe only, run the setup search for package dash include this package and proceed with the setup.

USBView Compile Error

I just downloaded the USBView sample application, and I'm getting a cryptic error when compiling with Visual Studio 2010.
1>------ Rebuild All started: Project: usbview, Configuration: Win8 Debug Win32 ------
1>Build started 10/5/2012 11:58:11 AM.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5):
error MSB8008: Specified platform toolset
(WindowsApplicationForDrivers8.0) is not installed or invalid. Please
make sure that a supported PlatformToolset value is selected.
1>
1>Build FAILED.
1> 1>Time Elapsed 00:00:00.16
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Any thoughts or ideas to resolve this would be appreciated. I'm using Windows 7, 32-bit.
I was able to resolve the problem by installing Visual Studio 2012 Express and recommended components, removing the offending line from the Microsoft.Cpp.Platform.targets file (double-clicked error message), and compiling as Release.

Visual Studio 2010 new project wizard manufactured MFC Dialog program doesn't compile in Debug Mode?

I've created a new project using the Visual Studio 2010's wizard. Once VS was finished generating the project I tried building it - in release mode it worked great, but in debug mode it didn't, giving the following compiler error:
1>------ Build started: Project: MyProj, Configuration: Debug Win32 ------
1>Build started 05/10/2010 22:17:08.
1>InitializeBuildStatus:
1> Touching "Debug\MyProj.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1> All outputs are up-to-date.
1>ResourceCompile:
1> All outputs are up-to-date.
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>LINK : fatal error LNK1104: cannot open file 'D:\My Documents\Dev\MyProj\MyProj\Debug\MyProj.exe'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.24
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I set the following parameters in the wizard:
MFC Application
Dialog based
Use MFC in a static library
Added the "Windows Sockets" advanced feature
I'm on a Windows 7 64bit Ultimate machine.
This seems like a minor bug in Visual Studio 2010. Once I closed the solution and reopened it, it worked fine...
This error is reproducible on my setup.

Resources