Tag Archives: windows

How to Solve UE5 Compile Error: Error MSB3073

Error Messages:

Severity Code Description Project File Line Suppression State

ErrorUnhandled exception: Dependency file “F:\unrealengine-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.14_of_18.cpp.json” version (“1.2”) is not supported version
UE5 F:\unrealengine-release\Engine\Intermediate\ProjectFiles\UnrealBuildTool 1

Severity Code Description Project File Line Suppression State

Error MSB3073 The command “…\Build\BatchFiles\Build.bat UnrealGame Win64 Development -WaitMutex -FromMsBuild” exited with code 6.
UE5 C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

 

Cause:
The problem occurs in the MSVC compiler (14.32.31326:MSVC v143-VS 2022 C++v14.32-17.2)
Visual Studio 2022 17.3.3 latest version, version too high
Locate.
/Engine/Source/Programs/UnrealBuildTool/System/CppDependencyCache.cs#L454
if (!String.Equals(Version, “1.1”) && !String.Equals(Version, “1.0”))
{
thrownew BuildException($”Dependency file “{InputFile.Location}” version (“{Version} “) is not supported version”);
}

Solution:
Use the following version of MSVC compiler and recompile it.
14.29.30133: MSVC v142 – VS 2019 C++ v14.29-16.11
14.30.30705: MSVC v143 – VS 2022 C++ v14.30-17.0
14.31.31103: MSVC v143 – VS 2022 C++ v14.31-17.1

 

[Endnote X9 Error] Unable to search online – prompt windows error 12029

Endnote failed to search online, prompting Windows error 12029. The solution is as follows:

In the IE browser, click the Internet option, select Advanced, and then select TLS1.2 from the drop-down box of Settings.

The official solution is invalid on my computer:

You can download the file using the link below :-

Connection Files

#Update Pubmed File

Proceed to open the downloaded file, and then click File > Save as and proceed to remove the copy and save to override this file.

[Solved] fatal error C1083: Cannot open included files: “stdafx.h”: No such file or directory

 

1. Error reporting

“Cannot open include file:” StdAfx. H “: no such file or directory”

The error here is that you included the header file # include generated by “StdAfx.h”. Presumably, you created an empty project but included this header file.

2. Solution

Method 1
replace the header file (this method is recommended, which is simpler); The contents of “StdAfx.h” are:

#include < stdio.h>
#include < tchar.h>
just delete your # include “StdAfx.h” here. Replace with what it contains. Namely:

#include < stdio.h>
#include < tchar.h>

method 2:
in your project, find the header file and add a header file named StdAfx.h: After adding successfully, click and add content:

#include < stdio.h>
#include < tchar.h>
save, compile again, and resolve the error~

 

[Solved] FATAL ERROR:Network error: Software caused connection abort

SSH client to connect, stuck or pscp command report an error as follows in pscp.exe  XXXXXX    XXXXXXX  windows:

FATAL  ERROR:Network  error:Software  caused  connection  abort

 

How to Solve:

1. Please check the firewall policy of Linux host;

2. Add a line sshd: all at the end (or add by IP address and address segment) in /etc/hosts.allow file, and save it;

3. systemctl restart   sshd. service; Restart the ssh service;

[Solved] docker Error response from daemon driver failed programming external connectivity on endpoint lamp

Docker containers do port mapping error:

docker: Error response from daemon: driver failed programming external connectivity on endpoint lamp3 (46b7917c940f7358948e55ec2df69a4dec2c6c7071b002bd374e8dbf0d40022c): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 86 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.

 

Solution:

The custom chain DOCKER defined at the start of the docker service is cleared

Restart and it will be OK! systemctl restart docker

[Solved] RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`

[problem description]

The previous code can run normally. After the data set is expanded, the following errors are reported in the GPU program running the deep learning training model, but CUDA out of memory error is not prompted.

RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`

[solution 1]

Change the program to run on the CPU and find that it can run normally, but the speed will be very slow and it will take a long time.

--device cpu

[solution 2]

Try to reduce the batch size used in the training model, and it can run normally.

[FAILED] Failed to start Raise network interfaces

[FAILED] Failed to start Raise network interfaces. 

The following error occurred during startup. Linux and windows cannot communicate. The reason may be that DHCP and static IP conflict. Use the ifconfig command to check that there is only IPv6 address but no IPv4 address.

 

Solution:

Modify the following file: /etc/network/interfaces.d/eth0, remove static IP settings or DHCP settings:
for example:

remove DHCP and replace it with:

auto eth0
iface eth0 inet static
address 192.168.2.99
netmask 255.255.255.0

Restart and the problem is solved.

How to Solve Remote Desktop Protocol 0xd06 Error

My environment:

Target computer win11 virtual machine vm16.2.0 (win10 in the virtual machine is copied from the original computer)

The original computer is win10 virtual machine vm15.5.0

Error reporting process:

Connect the win10 system in the virtual machine with the remote desktop connection tool mstsc provided by win11. The error is as follows:

The session will be disconnected due to a protocol error. Please reconnect to the remote computer
error code: 0xd06
extended error code: 0x0

Solution:

After a series of searches, no solution was found on the Internet. After careful consideration, considering that the win10 system in the virtual machine is copied from another original computer and the original computer uses the vm15.5.0 version of the virtual machine, it may be that the driver has a problem.

Solution:

Uninstall the display driver of win10 system in the virtual machine.

ERROR: Failed building wheel for osgeo [How to Solve]

ERROR: Failed building wheel for osgeo

Problem: When Installing pip3 install osgeo report an error: ERROR: Failed building wheel for osgeo

Solution:

Method 1

conda install gdal

Method 2:

1. According to the python version, download the corresponding GDAL installation file

for example: Python 3.8 download GDAL‑3.4.3‑cp38‑cp38‑win_amd64.whl

Cp38 stands for python3.8 version and windows64 bit

2. install:

pip3 install gdal-3.4.3-cp38-cp38-win_amd64.whl

 

[Solved] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

1. Error report Description:

Error reporting when building C + + program with cmake:

$ cmake .
-- Building for: NMake Makefiles
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error at CMakeLists.txt:2 (project):
  Running

   'nmake' '-?'

  failed with:

   The system cannot find the specified file.


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "C:/Users/eren.luo/Desktop/test/CMakeFiles/CMakeOutput.log".

2. Solution:

P. S. mingw64/bin and cmake have been added to the environment variable.

Modify

cmake .

to:

cmake -G "MinGW Makefiles" .

Use the following commands to run:

mingw32-make.exe all

3. the version of C++ and cmake:

  1. cmake-3.23.1-windows-x86_64.msi
  2. mingw-w64-install.exe

System: Windows 10

[Solved] Ubuntu 20.04.3 Fail to Start sshd Error: Failed to start OpenBSD Secure Shell server

Environmental Science:

Ubuntu 20.04.3-live-server
Hyper-V virtual environment

Problem Description:

Ubuntu 20.04.3 fails to start sshd with error: failed to start OpenBSD secure shell server
sshd – T
prompt sshd: no hostkeys available – exiting.

Solution:

1. Check whether the SSH service is enabled
PS - e | grep ssh

No response

2. Install ssh

 apt update
apt-get install openssh-server openssh-client

Prompt installed

3. Implementation

/etc/init.d/ssh start

fail to start

Continue to execute ssh-keygen -A
Restart successfully