ROSIntegration icon indicating copy to clipboard operation
ROSIntegration copied to clipboard

UAT build indtructions

Open tayabalik opened this issue 3 years ago • 9 comments

Please could someone help me with what information has to be put to the UAT script. What should be the target platform:[] and the path to the package. I'm new to the UAT script please help.

tayabalik avatar Apr 02 '21 06:04 tayabalik

Depends on what system you're building for. I'm developing on Windows 10 so my platform is Win64. Within my project folder I have a folder for plugin-source and the Plugins folder where the build results go. I build all my plugins at once from a batch file, so the line for ROSIntegration looks like:

call "C:\Program Files\Epic Games\UE_4.25\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -TargetPlatform=Win64 -Plugin="C:/UP/qu/ps/ROSIntegration/ROSIntegration.uplugin" -Platform=Win64 -Package="C:/UP/qu/Plugins/ROSIntegration/" -Rocket

The two-letter folder names are there because I have another plugin with a really long name and the Unreal build system doesn't recognize that I have long paths enabled in Windows.

mjforan avatar Apr 07 '21 16:04 mjforan

You can also put the source code in the Plugins folder directly and use the editor to build

mjforan avatar Apr 08 '21 22:04 mjforan

Depends on what system you're building for. I'm developing on Windows 10 so my platform is Win64. Within my project folder I have a folder for plugin-source and the Plugins folder where the build results go. I build all my plugins at once from a batch file, so the line for ROSIntegration looks like:

call "C:\Program Files\Epic Games\UE_4.25\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -TargetPlatform=Win64 -Plugin="C:/UP/qu/ps/ROSIntegration/ROSIntegration.uplugin" -Platform=Win64 -Package="C:/UP/qu/Plugins/ROSIntegration/" -Rocket

The two-letter folder names are there because I have another plugin with a really long name and the Unreal build system doesn't recognize that I have long paths enabled in Windows.

Hi, I tried to build using this command on both UE 4.24 and UE 4.25, but I got the same error:

Remote compiling requires a server name. Use the editor (Project Settings > IOS) to set up your remote compilation settings

I don't know if there's a bug in this plugin. Also in UE 4.20, I got this error when building the plugin:

ERROR: UBT ERROR: Failed to produce item: E:\Plugins\ROSIntegration-master\ROSIntegration-master\ROSIntegration\HostProject\Plugins\ROSIntegration\Binaries\Win64\UE4Editor-ROSIntegration.dll

May I ask which version of Unreal Engine you are using?

LancerXE avatar Jun 25 '22 14:06 LancerXE

Your first error can be solved by setting the target platforms in the plugin file (did you even try searching the error message?). I'm not sure about your other problem. I'm using 4.25. I now use visual studio to develop for the plugin so I don't have to mess with the command line.

mjforan avatar Jun 25 '22 15:06 mjforan

Your first error can be solved by setting the target platforms in the plugin file (did you even try searching the error message?). I'm not sure about your other problem. I'm using 4.25. I now use visual studio to develop for the plugin so I don't have to mess with the command line.

Thanksfor your reply! I know the error occured because it tried to build for IOS. I did select the target platform as Win64 in command, that's why I didn't get why the error still comes out.

LancerXE avatar Jun 25 '22 15:06 LancerXE

I think you need to use the whitelist/blacklist mechanism in the .uplugin file as well (for some reason).

mjforan avatar Jun 25 '22 15:06 mjforan

Hello. This is probably a dumb question, and I realize that the error says: "Use the editor (Project Settings > IOS) to set up your remote compilation settings" But isnt the plugin getting built inside the plugins folder of the engine source? How is any specific project relevant? Thanks in advance!

tria97 avatar Feb 25 '23 08:02 tria97

But isnt the plugin getting built inside the plugins folder of the engine source? How is any specific project relevant?

It may be possible to build it along with the engine itself, but I think it is more common to build for a specific project. That was my workflow anyways.

mjforan avatar Feb 25 '23 13:02 mjforan

Mine too. I've always used this plugin in an individual UE4 Project

Sanic avatar Feb 25 '23 17:02 Sanic