Comments (9)
Open JSBSimForUnreal.sln and if it was Debug build, then change to Release and then can build it.
After that's done, build again the UEReferenceApp.sln
JSBSimForUnreal.sln has to be built in Release configuration in order to create JSBSim.dll
If build as Debug config, it creates JSBSimDebug.dlll ,and the Unreal project cannot find it, unless also Unreal project is also built as Debug.
from jsbsim.
Open JSBSimForUnreal.sln and if it was Debug build, then change to Release and then can build it. After that's done, build again the UEReferenceApp.sln
JSBSimForUnreal.sln has to be built in Release configuration in order to create JSBSim.dll If build as Debug config, it creates JSBSimDebug.dlll ,and the Unreal project cannot find it, unless also Unreal project is also built as Debug.
Please keep this issue Open. It's actually a common issue with the plugin for new users because the default build settings for Visual Studio aren't matching UE5 build settings. It's an easy fix to re-order the default build options so everything is matching when projects are opened for the first time. But the Debug Build for UE5 is broken anyways, as discussed here #761. In the near future I'll add a pull request which solves both issues.
from jsbsim.
The error message mentions:
JSBSim.dll not found in D:\jsbsim\UnrealEngine 5.1 - 2\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Lib - Make sure that you have built JSBSimForUnreal.sln first
You didn't specify whether you built JSBSimForUnreal.sln
as the error message suggests.
from jsbsim.
@seanmcleod thanks for the quick comment, I have compiled the JSBSimForUnreal.sln
before opening the project in UE5.1. But when I open the project it says
This project was made with a different version of the Unreal Engine. Converting to this version will rebuild your code projects.
New features and improvements sometimes cause API changes, which may require you to modify your code before it compiles. Content saved with newer versions of the editor will not open in older versions.
We recommend you open a copy of your project to avoid damaging the original.
I am using UE5.1 and the latest JSBSim master code.
from jsbsim.
You can click okay, it's an Unreal Engine standard warning that the project cannot go back to version 5.0 once you open the project in engine 5.1.
If you still have problems, open and build UEReferenceApp.sln found in the Unreal folder.
from jsbsim.
@gallonmate I get your point, when I run UEReferenceApp.sln
I get following errors
Build started...
1>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: UEReferenceApp, Configuration: Development_Editor x64 ------
2>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UEReferenceAppEditor Win64 Development -Project="D:\jsbsim\UnrealEngine 5.1\UEReferenceApp.uproject" -WaitMutex -FromMsBuild
2>Log file: C:\Users\PC\AppData\Local\UnrealBuildTool\Log.txt
2>Using 'git status' to determine working set for adaptive non-unity build (D:\jsbsim).
2>Creating makefile for UEReferenceAppEditor (no existing makefile)
2>JSBSim.dll not found in D:\jsbsim\UnrealEngine 5.1\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Lib - Make sure that you have built JSBSimForUnreal.sln first
2>Unable to instantiate module 'JSBSim': JSBSim.dll not found in D:\jsbsim\UnrealEngine 5.1\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Lib - Make sure that you have built JSBSimForUnreal.sln first
2>(referenced via Target -> JSBSimFlightDynamicsModel.Build.cs)
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\Build.bat" UEReferenceAppEditor Win64 Development -Project="D:\jsbsim\UnrealEngine 5.1\UEReferenceApp.uproject" -WaitMutex -FromMsBuild" exited with code 6.
2>Done building project "UEReferenceApp.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
from jsbsim.
你可以点击确定,这是一个虚幻引擎标准警告,一旦你在引擎5.0中打开项目,项目就无法返回到5.1版。如果仍有问题,请打开并构建UEReferenceApp.sln该应用程序位于虚幻文件夹中。
I use ubuntu and VSCODE. It seems that I can't use sln file.I simply copied the folder under plugin of JSBSim to the plugins folder of UE5. I don't know what to do next.
from jsbsim.
@herewego48 The plugin is currently only setup for Windows. It does not currently work for Linux, but it might be possible.
See this discussion: #832
from jsbsim.
@herewego48 The plugin is currently only setup for Windows. It does not currently work for Linux, but it might be possible. See this discussion: #832
Thank you for your answer sir !
from jsbsim.
Related Issues (20)
- Cython warnings about 'tp_print' which is deprecated
- Wrong calculation of vPQRdot in FGAccelerations class HOT 4
- Fixing the mixture for JSBSim piston aircraft HOT 59
- Request: turbine spindown table or property support HOT 2
- Aircraft crashed on air when rolling consecutively HOT 15
- How Jsbsim models the "+" shaped tail fins of missiles and rockets. HOT 1
- JSBSimFlightDynamicsModel could not be loaded in Unreal Engine HOT 4
- AugmentCmd should be clamped to [0.0..1.0] HOT 5
- Transfer function make JSBSim close down HOT 2
- unresolved external symbol(s) logging/console related HOT 7
- Request: Unreal Marketplace Plugin HOT 5
- JSBSim can't interpolate between n dimensions
- Robocopy step errors if spaces in path. HOT 1
- Keyboard/Gamepad input non-functional in Unreal Plugin Project HOT 1
- aerodynamics_2_graphviz HOT 8
- Axis mapping doesn't work for elevators
- Feature request: Per-gear height of terrain HOT 17
- Helicopters cannot be trimmed in flight HOT 6
- can not start engine
- Request: round tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsbsim.