I have Frank D Lunas directx11 book, and i'm trying to set it up using VS2012, but i've run into this:
1>------ Build started: Project: FirstProject, Configuration: Debug Win32 ------
1>TRACKER : error TRK0002: Failed to execute command: "C:\Users\Josh\Documents\Applications\DirectX\Utilities\bin\x64\fxc.exe /nologo /Emain /Fo "C:\Users\Josh\Documents\DirectX\Chapter 1\Projects\FirstProject\Debug\color.cso" /Od /Zi FX\color.fx". The handle is invalid.
1>
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
and I have no idea how to fix it.
I believe I have all the paths correct, and included files.
Any ideas?
Thanks!
Related
OpenCV Version: 4.4.0 (latest)
OpenVINO Version: 2020.4 (latest)
The error happens when trying to build the project which is generated by CMake 3.18.0 on Windows 10.
I have tried many times building from scratch (clear all caches, update the source code, reinstall the OpenVINO toolkit, and run it's all demos successfully), but the problem still exists.
Here is the VS 2019 build error logs:
46>Done building project "opencv_dnn.vcxproj" -- FAILED.
73>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_dnn440.lib'
75>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_dnn440.lib'
73>Done building project "opencv_text.vcxproj" -- FAILED.
81>------ Build started: Project: opencv_datasets, Configuration: Release x64 ------
82>------ Build started: Project: opencv_videostab, Configuration: Release x64 ------
75>Done building project "opencv_mcc.vcxproj" -- FAILED.
81>Done building project "opencv_datasets.vcxproj" -- FAILED.
88>Done building project "opencv_dnn_objdetect.vcxproj" -- FAILED.
87>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_datasets440.lib'
87>Done building project "opencv_tracking.vcxproj" -- FAILED.
94>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_tracking440.lib'
94>Done building project "opencv_stereo.vcxproj" -- FAILED.
95>cv2.cpp
95>D:\GitHub\opencv\opencv_contrib\modules\saliency\include\opencv2/saliency/saliencySpecializedClasses.hpp(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
95>D:\GitHub\opencv\opencv_contrib\modules\datasets\include\opencv2/datasets/dataset.hpp(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
93>LINK : fatal error LNK1181: cannot open input file '..\..\..\lib\Release\opencv_tracking440.lib'
93>Done building project "opencv_java.vcxproj" -- FAILED.
95>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_dnn_superres440.lib'
95>Done building project "opencv_python3.vcxproj" -- FAILED.
96>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
96>Building Custom Rule D:/GitHub/opencv/opencv/CMakeLists.txt
At the end 10 failed:
========== Build: 86 succeeded, 10 failed, 0 up-to-date, 0 skipped ==========
NOTE: Before I was able to build the OpenCV with IE without any errors but in the new release there are many errors while compiling and building.
Any solution..?
I am ready to provide more logs and info if needed.
Thanks!!
The problem was solved by configuring CMake with ngraph flag and locating its CMake files DIR location.
After update my vs2017 to 16.6.5, and update google sdk-build-tools to 27.0.3, my project got a problem with debugging for my tablet. My project type is xamarin.android, I check it for xamarin.forms but debugging for my (not emulator) tablet is woks! Also before this update i don't have any problem with debugging.
Here is my project output in diagnostic mode:
3>Done executing task "Delete".
3>Using "AndroidZipAlign" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Build.Tasks.dll".
3>Task "AndroidZipAlign"
3>Task Parameter:Source=F:\Projects\Amin\AminApp\AminApp\obj\Debug\android\bin\com.aminsystem.forush.apk
3>Task Parameter:DestinationDirectory=bin\Debug\
3>Task Parameter:ToolPath=C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3
3>AndroidZipAlign Task
3> Alignment: 4
3> Source: F:\Projects\Amin\AminApp\AminApp\obj\Debug\android\bin\com.aminsystem.forush.apk
3> DestinationDirectory: bin\Debug\
3>C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3\zipalign.exe 4 "F:\Projects\Amin\AminApp\AminApp\obj\Debug\android\bin\com.aminsystem.forush.apk" "bin\Debug\\com.aminsystem.forush-Signed.apk"
3>Done executing task "AndroidZipAlign".
3>Task "AndroidZipAlign"
3>Task Parameter:Source=F:\Projects\Amin\AminApp\AminApp\obj\Debug\android\bin\com.aminsystem.forush-armeabi-v7a.apk
3>Task Parameter:DestinationDirectory=bin\Debug\
3>Task Parameter:ToolPath=C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3
3>AndroidZipAlign Task
3> Alignment: 4
3> Source: F:\Projects\Amin\AminApp\AminApp\obj\Debug\android\bin\com.aminsystem.forush-armeabi-v7a.apk
3> DestinationDirectory: bin\Debug\
3>C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3\zipalign.exe 4 "F:\Projects\Amin\AminApp\AminApp\obj\Debug\android\bin\com.aminsystem.forush-armeabi-v7a.apk" "bin\Debug\\com.aminsystem.forush-armeabi-v7a-Signed.apk"
3>Output file 'bin\Debug\\com.aminsystem.forush-armeabi-v7a-Signed.apk' exists
3>"zipalign.exe" exited with code 1.
3>Done executing task "AndroidZipAlign" -- FAILED.
3>Done building target "_Sign" in project "AminApp.csproj" -- FAILED.
3>Done building project "AminApp.csproj" -- FAILED.
3>Build FAILED.
3>
3>Deploy failed on Samsung SM-T585
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
As you see my project compiled successfully!
I also tried copy zipalign.exe from Android\android-sdk\build-tools\27.0.3 to Android\android-sdk\tools, but it not works.
The problem was solved by changing the Debug option to X86!
Thanks to https://www.c-sharpcorner.com/forums/deployment-error-with-xamarin-android-application
In my case, zipalign.exe was being blocked by the Windows Virus & Threat protection and once I allowed it, it started working fine.
I'm trying to build the dart-vm on windows. I followed all steps described here https://code.google.com/p/dart/wiki/PreparingYourMachine and here https://code.google.com/p/dart/wiki/Building
When i try to execute the build.py script, i get the following error:
D:\_dev\workspace-vs\dart-repo\dart\tools>python build.py runtime
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\\devenv.com /build DebugX64|x64 /project runtime dart.sln
Microsoft Visual Studio 2013 Version 12.0.21005.1.
Copyright (C) Microsoft Corp. All rights reserved.
The following files were specified on the command line:
dart.sln
These files could not be found and will not be loaded.BUILD FAILED
D:\_dev\workspace-vs\dart-repo\dart\tools>
Is it even possible to build the vm on a windows system?
edit:
ok, so now, after i updated all visual studio solution files to my 2013 version, i can at least start the build chain. but i still get some errors. it seems i am unable to generate the 'global_intermediate' files, following solutions trying to build depend on them and fail. any ideas?
1>------ Build started: Project: generate_async_cc_file, Configuration: ReleaseIA32 Win32 ------
2>------ Build started: Project: generate_corelib_cc_file, Configuration: ReleaseIA32 Win32 ------
3>------ Build started: Project: generate_async_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
4>------ Build started: Project: generate_collection_cc_file, Configuration: ReleaseIA32 Win32 ------
5>------ Build started: Project: generate_collection_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
6>------ Build started: Project: generate_convert_cc_file, Configuration: ReleaseIA32 Win32 ------
7>------ Build started: Project: generate_convert_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
8>------ Build started: Project: generate_typed_data_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
2> Generating ..\build\ReleaseIA32\obj/global_intermediate/corelib_gen.cc file.
2> The system cannot find the path specified.
4> Generating ..\build\ReleaseIA32\obj/global_intermediate/collection_gen.cc file.
4> The system cannot find the path specified.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
3> Generating ..\build\ReleaseIA32\obj/global_intermediate/async_patch_gen.cc file.
3> The system cannot find the path specified.
9>------ Build started: Project: generate_corelib_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
10>------ Build started: Project: generate_internal_cc_file, Configuration: ReleaseIA32 Win32 ------
1> Generating ..\build\ReleaseIA32\obj/global_intermediate/async_gen.cc file.
10> Generating ..\build\ReleaseIA32\obj/global_intermediate/internal_gen.cc file.
10> The system cannot find the path specified.
1> The system cannot find the path specified.
solved. see https://code.google.com/p/dart/issues/detail?id=20023 for more info how to build on vs2013.
I have several MVC3 applications, when I try and publish it doesn't actually publish anything, the output is:
2>obj\Debug\Package\PackageTmp.
2>Deleting existing files...
2>Publishing folder /...
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
Change publish mode from RELEASE to DEBUG (or vice versa), publish, change again and publish again.
I'm trying to get into NDS Homebrew,
and have installed devkitPro and PALib, and linked it with Visual Express 2008.
But When I try to compile the Hello World example code that is automatically generated when you start a new NDS project, I get the following error:
1>------ Build started: Project: newtest, Configuration: Release Win32 ------
1>Performing Makefile project actions
1>Linking...
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x1c0): undefined reference to `__libnds_mpu_setup'
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x210): undefined reference to `initSystem'
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x21c): undefined reference to `__libnds_exit'
1>collect2: ld returned 1 exit status
1>make[1]: *** [/c/DSProjects/newtest/newtest/Release/newtest.elf] Error 1
1>make: *** [build] Error 2
1>Build log was saved at "file://c:\DSProjects\newtest\newtest\Release\BuildLog.htm"
1>newtest - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
so obviously something is missing or wrong in devkitPro, but can't figure out exactly what and how to fix it.
PAlib is not supported, you broke devkitARM by installing it.
The only advice we have is to uninstall devkitARM completely then reinstall without PAlib. Once you've done that you should ask questions on the devkitPro forums, the gbadev forums, or, if you prefer realtime answers then there's always the IRC channels
Avoid PAlib, PAlib users and PAlib tutorials at all costs.
Obviously something is missing or wrong from PAlib. devkitARM works perfectly fine for me. PAlib is old and very poorly written.