EverNewJoy / VictoryPlugin

Rama's Victory BP Plugin
MIT License
867 stars 256 forks source link

on linux how to compile it from source ? #44

Open Kyridiculous2 opened 6 years ago

Kyridiculous2 commented 6 years ago

i use the ue4a automation tool then get a error like this UnrealBuildTool: ERROR: Couldn't find module rules file for module 'ApexDestruction'.

Zectbumo commented 6 years ago

This could be the same problem as #45. Activate the Apex Destruction plugin.

ajboloor commented 5 years ago

Could you kindly compile a Linux version of the plugin for UE4.18, or describe what would be the best way to go about doing it?

EverNewJoy commented 5 years ago

Make a UE4 C++ project, move the plugin to Plugins folder of your C++ project, then follow these directions:

https://docs.unrealengine.com/en-us/Platforms/Linux/GettingStarted

:)

Rama

brothermechanic commented 5 years ago

Hello, Rama I want to try this plugin on linux But can't get binary this is my algorythm

bm@GL703VM /media/disk/UnrealProjects $ cd Plug
bm@GL703VM /media/disk/UnrealProjects/Plug $ UE4GenerateProjectFiles Plug.uproject 
Attempting to set up UE4 pretty printers for gdb (existing UE4Printers.py, if any, will be overwritten)...
        updated UE4Printers.py
        found necessary entries in ~/.gdbinit file, not changing it.

Setting up Unreal Engine 4 project files...

Fixing inconsistent case in filenames.
Setting up Mono
Discovering modules, targets and source code for project...
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing... 100%
Writing project files... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing... 100%
Writing project files... 100%
bm@GL703VM /media/disk/UnrealProjects/Plug $ make PlugEditor                       
mono "/home/bm/bin/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe" PlugEditor Linux Development  -project="/media/disk/UnrealProjects/Plug/Plug.uproject" 
Performing full C++ include scan (building a new target)
Using 'git status' to determine working set for adaptive non-unity build (/home/bm/bin/UnrealEngine).
Creating makefile for PlugEditor (no existing makefile)
Building UnrealHeaderTool...
Using 'git status' to determine working set for adaptive non-unity build (/home/bm/bin/UnrealEngine).
Creating makefile for UnrealHeaderTool (no existing makefile)
------- Build details --------
Using toolchain located at '/home/bm/bin/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/bm/bin/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '6.0.1' (string), 6 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/bm/bin/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Target is up to date
Total build time: 1.20 seconds (NoActionsToExecute executor: 0.00 seconds)
Parsing headers for PlugEditor
  Running UnrealHeaderTool "/media/disk/UnrealProjects/Plug/Plug.uproject" "/media/disk/UnrealProjects/Plug/Intermediate/Build/Linux/B4D820EA/PlugEditor/Development/PlugEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
Reflection code generated for PlugEditor in 7,6591344 seconds
------- Build details --------
Using toolchain located at '/home/bm/bin/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/bm/bin/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '6.0.1' (string), 6 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/bm/bin/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Performing 5 actions (8 in parallel)
[2/5] Compile Plug.init.gen.cpp
[3/5] Compile PlugGameModeBase.cpp
[4/5] Compile Plug.cpp
[1/5] Compile PlugGameModeBase.gen.cpp
[5/5] Link (ld) libUE4Editor-Plug.so
Total build time: 38,72 seconds (Local executor: 7,41 seconds)

Help me to build it. What i do wrong?

MalikuMane commented 2 months ago

Help me to build it. What i do wrong?

You need to add Linux to the whitelistplatforms aray. https://github.com/EverNewJoy/VictoryPlugin/blob/4a05929b718dd14f47a0a949481ae8f7c21d2eaa/VictoryBPLibrary.uplugin#L24