I'm having trouble getting make to work with MASM. I have a single file main.asm in the directory. My makefile looks like this:
main : main.obj
link /SUBSYSTEM:CONSOLE main.obj c:/Irvine/Kernel32.lib
main.obj: main.asm
ml /c /coff main.asm
The output on the commandline is as follows:
ml /c /coff main.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: c:/
MASM : fatal error A1000: cannot open file : c:/
make: *** [main.obj] Error 1
I have no idea what I'm doing wrong.
Related
vstest.console.exe 16.10 works with Chutzpah 4.2.3. But upgraded to Chutzpah 4.4.11, and it fails with exit code of 2. chutzpah.console.exe also works by itself in 4.4.11, so I'm not sure if I'm missing something in the vstest command line. (I get the same results with vstest.console.exe when running from an Azure DevOps pipeline.)
Any suggestions?
> "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe"
"[path-to-test-file]\index-tests.js"
/TestAdapterPath:"C:\Users\TFSBuild\.nuget\packages\chutzpah\4.4.11\tools"
Microsoft (R) Test Execution Command Line Tool Version 16.10.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Error: Unknown error occurred when executing test file. Received exit code of 2
While Running:[path-to-test-file]\index-tests.js
No test is available in [path-to-test-file]\index-tests.js.
Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
Test Run Failed.
Found the solution. I'm using Engine: Chrome, and the newer version of Chutzpah was failing to find chrome.exe. Defining the path to the exe in Chutzpah.json resolved the issue.
"Engine": "Chrome",
"EngineOptions": {
"ChromeBrowserPath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
}
I have installed Qt5.5.1 on Windows 8 and the compiler is MSVC2013 64 bit, now I need to integrate qwt with Qt
I am following the instruction here, as a first step downloaded qwt source and extracted it, then opened Qt5.5 64bit(MASVC 2013) command prompt and run the command
C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\qmake.exe qwt.pro
Which end with no error.
Now I open Visual studio x64 Win64 Command prompt(2010) and run
nmake
Which give following error
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>E:
E:\>cd
E:\
E:\>cd Software\Qt\QWT\qwt-6.1.1
E:\Software\Qt\QWT\qwt-6.1.1>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd src\ && ( if not exist Makefile C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\qma
ke.exe E:\Software\Qt\QWT\qwt-6.1.1\src\src.pro -o Makefile ) && "C:\Program Fil
es (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe" -f Makefile
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.
exe" -f Makefile.Release all
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
compiling .\qwt_abstract_scale_draw.cpp .\qwt_clipper.cpp .\qwt_color_map.cpp .\
qwt_column_symbol.cpp .\qwt_date.cpp .\qwt_date_scale_draw.cpp .\qwt_date_scale_
engine.cpp .\qwt_dyngrid_layout.cpp .\qwt_event_pattern.cpp .\qwt_graphic.cpp .\
qwt_interval.cpp .\qwt_interval_symbol.cpp .\qwt_math.cpp .\qwt_magnifier.cpp .\
qwt_null_paintdevice.cpp .\qwt_painter.cpp .\qwt_painter_command.cpp .\qwt_panne
r.cpp .\qwt_picker.cpp .\qwt_picker_machine.cpp .\qwt_pixel_matrix.cpp .\qwt_poi
nt_3d.cpp .\qwt_point_polar.cpp .\qwt_round_scale_draw.cpp .\qwt_scale_div.cpp .
\qwt_scale_draw.cpp .\qwt_scale_map.cpp .\qwt_spline.cpp .\qwt_scale_engine.cpp
.\qwt_symbol.cpp .\qwt_system_clock.cpp .\qwt_text_engine.cpp .\qwt_text_label.c
pp .\qwt_text.cpp .\qwt_transform.cpp .\qwt_widget_overlay.cpp .\qwt_curve_fitte
r.cpp .\qwt_abstract_legend.cpp .\qwt_legend.cpp .\qwt_legend_data.cpp .\qwt_leg
end_label.cpp .\qwt_plot.cpp .\qwt_plot_renderer.cpp .\qwt_plot_xml.cpp .\qwt_pl
ot_axis.cpp .\qwt_plot_curve.cpp .\qwt_plot_dict.cpp .\qwt_plot_directpainter.cp
p .\qwt_plot_grid.cpp .\qwt_plot_histogram.cpp .\qwt_plot_item.cpp .\qwt_plot_ab
stract_barchart.cpp .\qwt_plot_barchart.cpp .\qwt_plot_multi_barchart.cpp .\qwt_
plot_intervalcurve.cpp .\qwt_plot_zoneitem.cpp .\qwt_plot_tradingcurve.cpp .\qwt
_plot_spectrogram.cpp .\qwt_plot_spectrocurve.cpp .\qwt_plot_scaleitem.cpp .\qwt
_plot_legenditem.cpp .\qwt_plot_seriesitem.cpp .\qwt_plot_shapeitem.cpp .\qwt_pl
ot_marker.cpp .\qwt_plot_textlabel.cpp .\qwt_plot_layout.cpp .\qwt_plot_canvas.c
pp .\qwt_plot_panner.cpp .\qwt_plot_rasteritem.cpp .\qwt_plot_picker.cpp .\qwt_p
lot_zoomer.cpp .\qwt_plot_magnifier.cpp .\qwt_plot_rescaler.cpp .\qwt_point_mapp
er.cpp .\qwt_raster_data.cpp .\qwt_matrix_raster_data.cpp .\qwt_sampling_thread.
cpp .\qwt_series_data.cpp .\qwt_point_data.cpp .\qwt_scale_widget.cpp .\qwt_plot
_svgitem.cpp .\qwt_plot_glcanvas.cpp .\qwt_abstract_slider.cpp .\qwt_abstract_sc
ale.cpp .\qwt_arrow_button.cpp .\qwt_analog_clock.cpp .\qwt_compass.cpp .\qwt_co
mpass_rose.cpp .\qwt_counter.cpp .\qwt_dial.cpp .\qwt_dial_needle.cpp .\qwt_knob
.cpp .\qwt_slider.cpp .\qwt_thermo.cpp .\qwt_wheel.cpp
cl : Command line error D8021 : invalid numeric argument '/FS'
NMAKE : fatal error U1077: 'echo' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
E:\Software\Qt\QWT\qwt-6.1.1>
What could be the issue, my Qt using MSVC2013 64 bit compiler and where as I running nmake using visual studio 2010 command prompt. Could that be the issue?
If so do I need to install Visual studio 2013?
I also tried jom using the command
C:\Qt\Qt5.5.1\Tools\QtCreator\bin\jom.exe -j12
Which also end up with some error.
Any help will be appreciated,
Thanks
Haris
you need to open the command prompt like administrator.
And for be available to use the plugins, need to compile qwt in the same compiler that Qt Creator.
I have just installed ASP.NET 5 RC-1 Version on Windows 7 Ultimate.
I have project name MvcMovie
and then I ran the comand below
D:\Projects\MvcMovie\src\MvcMovie>dnvm list
This is the result
Active Version Runtime Architecture OperatingSystem Alias
------ ------- ------- ------------ --------------- -----
1.0.0-rc1-update1 clr x86 win
'C:\Users\Black' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
I dont understand why I get the above error.
Then I want to run dnvm use... as below
D:\Projects\MvcMovie\src\MvcMovie>dnvm use 1.0.0-rc1-update1
But then I got this error
Adding C:\Users\Black Fujitsu\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bi
n to process PATH
'C:\Users\Black' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
D:\Projects\MvcMovie\src\MvcMovie>
The issue is that your user name has a space in it as does mine. This is confirmed here:
https://github.com/aspnet/Home/issues/371
I am running VS 2015 Enterprise Update 1 with ASP.NET 5 RC 1 on Windows 10 Pro Build 1151. I have a user name with a space in it. I am getting the following error when attempting to run dnvm from the command line:
Get-Help : Get-Help could not find dnvm - Copy.cmd in a help file in this session. To download updated help topics type
: "Update-Help". To get help online, search for the help topic in the TechNet library at http://go.microsoft.com/fwlink
/?LinkID=107116.
At C:\Users\Wayne Blackmon.dnx\bin\dnvm.ps1:998 char:26
$h = Get-Help $_.Name -ShowWindow:$false
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException
FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand
Copy.cmd ForEach-Object : You cannot call a method on a null-valued expression. At C:\Users\Wayne Blackmon.dnx\bin\dnvm.ps1:994 char:13
ForEach-Object {
~~~~~~~~~~~~~~~~
CategoryInfo : InvalidOperation: (:) [ForEach-Object], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull,Microsoft.PowerShell.Commands.ForEachObjectCommand
The system cannot find the path specified.
'C:\Users\User' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
C:\Users\User Name>
And I get the following error when I attempt to run 'dnx run' from the command line
'dnx' is not recognized as an internal or external command,
operable program or batch file.
I just ran dnvm install latest in PowerShell with no error. Then I ran dnvm list also without errors. However, I do get path errors when I run the same commands from a windows command prompt. I have confirmed that this does work when run in PowerShell. The solution is to use PowerShell when accessing dnvm and dnx from a command line. I have also confirmed that dnx run does work in Powershell. For now, use PowerShell if your windows user name has a space in it when accessing dnvm until this issue is fixed.
i'm trying to build an signed apk with visual studio /Cordova template. But i'm receiving this error: ERROR building one of the platforms 1
And : Error MDAVSCLI 1
I´m following this tutorial:
http://taco.visualstudio.com/en-us/docs/tutorial-package-publish-readme/
and my Keystore is like image bellow:
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating MainActivity-release-unsigned.apk for release...
-post-package:
-release-prompt-for-password:
-release-nosign:
-release-sign:
[echo] Signing final apk...
BUILD FAILED
C:\Users\Leo\AppData\Local\Android\sdk1\tools\ant\build.xml:1135: The following error occurred while executing this line:
C:\Users\Leo\AppData\Local\Android\sdk1\tools\ant\build.xml:1147: C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\"my-release-key.Keystore" (The file name syntax, the name of the directory or volume label incorrect)
Total time: 52 seconds
Picked up _JAVA_OPTIONS: -Xmx512M
C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "ant release -f C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen"
Command finished with error code 1: C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\cordova\build.bat --release
ERROR building one of the platforms : error : C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\cordova\build.bat: Command failed with exit code 1
You may not have the required environment or OS to build this project
MDAVSCLI : error : C:\Users\Leo\Desktop\Mobile\Mooobile\platforms\android\c
I've found a way : removing the quotes in my ant.properties i can build.
Using Visual Studio RTM 2015 Blank Cordova (5.1.1) TypeScript project to test packaging applications for Android.
Following these instructions: https://github.com/Microsoft/cordova-docs/tree/master/tutorial-package-publish#android
Created the build.json and keystore.
When I publish (Release > Android > Device), I get the following error:
Reading build config file: D:\erase\BlankCordovaApp9\build.json
Command finished with error code 1: cmd /s /c "D:\erase\BlankCordovaApp9\platforms\android\cordova\build.bat --debug --buildConfig=D:\erase\BlankCordovaApp9\build.json"
ERROR building one of the platforms : error : cmd: Command failed with exit code 1
Are the instructions still accurate for 2015 RTM? Using the instructions I get Misssing a comma after an object member when using the suggested format in build.json.
Win 8.1