Giter VIP home page Giter VIP logo

Comments (9)

gallonmate avatar gallonmate commented on September 23, 2024 2

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.

gallonmate avatar gallonmate commented on September 23, 2024 1

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.

seanmcleod avatar seanmcleod commented on September 23, 2024

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.

junaidbinsarfraz avatar junaidbinsarfraz commented on September 23, 2024

@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.

gallonmate avatar gallonmate commented on September 23, 2024

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.

junaidbinsarfraz avatar junaidbinsarfraz commented on September 23, 2024

@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.

herewego48 avatar herewego48 commented on September 23, 2024

你可以点击确定,这是一个虚幻引擎标准警告,一旦你在引擎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.

gallonmate avatar gallonmate commented on September 23, 2024

@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 avatar herewego48 commented on September 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.