How to use the JSBSim plugin with Unreal Engine? #664
-
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 12 replies
-
Did you follow the steps described in the plugin README ? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The error message is pretty explicit. You need to build jsbsim.dll first. When opened in Visual Studio, you should select and build x64/Release. |
Beta Was this translation helpful? Give feedback.
-
battlegear2099, I can't see your message on github right now. So I assume
you solved and deleted your comment? If not solved, then you can just find
a github commit from when the UE5 plugin was last updated or try a commit
from a week ago. They are currently worked on some string conversion
updates for JSBSim, which appear are giving you that error and failed build.
…On Sun, Jan 1, 2023 at 2:53 PM battlegear2099 ***@***.***> wrote:
just looking at this post for the first time, I am attempting build it ,
jan 23 for jbsim-master unreal and plugin, following the readme info in
jbsim and on the forks - build the JSBSimForUnreal.sln under release x64
fails to build on release x64 with error at bottom so no unreal dll built.
and also unreal plugin fails as result I am guessing since there is no dll.
is this still the way to do this still via vs 2019 buildtools.xml in vs22 -
with vs 2019 build tools 14.29.30136 toolchain is this the same as
selecting under vs22 -- 2019 14.29.16.11? in the visual installer under
build tools. , or has this been updated to newer buildtools in vs22 and
documents have not been updated. I am finding it says It can't find the
14.29.30136 toolchain error in build log and as result fails and switching
to old just with regular vs22 in build xml it also fails. this is error
what am I missing, 1>FGInputSocket.obj : error LNK2001: unresolved external
symbol "double __cdecl atof_locale_c(class std::basic_string<char,struct
std::char_traits,class std::allocator > const &)" (?atof_locale_c@
@***@***.******@***@***.***@@v <https://github.com/v>
***@***@***.***@@std <https://github.com/std>@@@z <https://github.com/z>)
1>D:\Documents\Unreal
Projects\jsbsim-master\UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Lib\JSBSim.dll
: fatal error LNK1120: 1 unresolved externals
—
Reply to this email directly, view it on GitHub
<#664 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG27QIOZKK4UXQRJ252QZ43WQHODLANCNFSM5ZPLVDQA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
battlgear2099, @gallonmate I forgot that there is a separate Visual Studio project file for the Unreal stuff, so I only updated standard JSBSim Visual Studio project file. In the meantime @bcoconni has pushed a commit to update the Unreal Visual Studio project file - a8c91ec |
Beta Was this translation helpful? Give feedback.
-
@techjunkie2099 that's the whole point about the update to the Visual Studio project file that I mentioned above, i.e. a reference has been added for the new source file so that you won't get an error from the linker. So just pull the repo to get the updated Visual Studio project file. |
Beta Was this translation helpful? Give feedback.
The error message is pretty explicit. You need to build jsbsim.dll first. When opened in Visual Studio, you should select and build x64/Release.
Do that first, and in case it fails, share your build log here...