A possible solution to fix building on Linux
- Dominant language
- C++
- Stars
- 9
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Here is a quick fix to solve issues compiling HIDUE on linux.
Source/HIDUE/HIDUE.Build.cs
```csharp
using System.IO;
if (Target.Platform == UnrealTargetPlatform.Linux) {
File.Copy("/usr/include/libudev.h", ModuleDirectory + "/Private/libudev.h", true);
PublicSystemLibraries.Add("udev");
PublicSystemLibraryPaths.AddRange(new [] {
"/usr/lib" // only this is needed for linking udev
});
}
```
Consider adding this to Linux.md or HIDUE.Build.cs :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with Source/HIDUE/HIDUE.Build.cs and review the proposed Linux-specific build settings. Check Linux.md for the appropriate documentation location, then compile HIDUE on Linux to verify the build fix. Done means the plugin builds successfully on Linux with the required udev dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, linux, unreal-engine
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100