You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems
amzn-phist 6651ae3d78
Fix for python load errors on Linux (#5627)
* Explicitly load libpython on Linux

Downstream loads of python modules that weren't linked to libpython would
fail to load because libraries were loaded using the RTLD_LOCAL flag.  This
adds a function that will explicitly load libpython on Linux using the
RTLD_GLOBAL flag.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Fix misspelled function name

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Addressing PR feedback

- Updates naming and location of things.
- Adds load code to a Gem template.
- Updates error checking.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Address further feedback

Removes the api function in favor of just having modules inherit off a
PythonLoader class, that way we get RAAI behavior and lifetime management
for free.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
4 years ago
..
AWSClientAuth [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
AWSCore AWS Core CDK: Add option to cleanup resources that are retained by default (#5470) (#5618) 4 years ago
AWSGameLift License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
AWSMetrics [AWSMetrics] Fail to build the project when include AWSMetricsBus header in the project C++ code (#5468) 4 years ago
Achievements License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
AssetMemoryAnalyzer License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
AssetValidation [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
Atom Fix for python load errors on Linux (#5627) 4 years ago
AtomContent fixed typo 4 years ago
AtomLyIntegration Atom/mriegger/normaloffsetbiasarealight (#4917) 4 years ago
AtomTressFX Fixing double registration of hair asset 4 years ago
AudioEngineWwise License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
AudioSystem [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
BarrierInput License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Blast ATOM-16747 RPISystemInterface::GetDefaultScene returns the scene crea… (#5153) (#5389) 4 years ago
Camera License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
CameraFramework License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
CertificateManager License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
CrashReporting License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
CustomAssetExample License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
DebugDraw License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
DevTextures License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
EMotionFX License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
EditorPythonBindings Fix for python load errors on Linux (#5627) 4 years ago
ExpressionEvaluation License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
FastNoise License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
GameState License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
GameStateSamples Fixed all errors with default seeds (#5489) 4 years ago
Gestures License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
GradientSignal License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
GraphCanvas License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
GraphModel License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
HttpRequestor License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
ImGui License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
InAppPurchases License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
LandscapeCanvas Fixed typo. 4 years ago
LmbrCentral Removing material type asset info 4 years ago
LocalUser License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
LyShine Fixed all errors with default seeds (#5489) 4 years ago
LyShineExamples Fixed all errors with default seeds (#5489) 4 years ago
Maestro License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
MessagePopup License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Metastream License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Microphone License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Multiplayer Fixing RPC autogen so that RPCs without parameters compile (and function). 4 years ago
MultiplayerCompression License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
NvCloth Fixed casing of .fbx.asset info files in cloth to match the fbx (#5371) 4 years ago
PhysX Fixed empty cluster UI appearing in joints component mode. (#5547) 4 years ago
PhysXDebug License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Prefab Fix Prefab builder test (#5377) 4 years ago
Presence License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
PrimitiveAssets License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Profiler Improve handling of cached data limits. (#5232) 4 years ago
PythonAssetBuilder Fix for python load errors on Linux (#5627) 4 years ago
QtForPython License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
SaveData License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
SceneLoggingExample License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
SceneProcessing License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
ScriptCanvas remove test code artifact 4 years ago
ScriptCanvasDeveloper License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
ScriptCanvasPhysics License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
ScriptCanvasTesting [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
ScriptEvents License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
ScriptedEntityTweener License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
SliceFavorites License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
StartingPointCamera CameraRigComponent - Disable Component Checkbox when the two others are toggled (#5546) 4 years ago
StartingPointInput License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
StartingPointMovement License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
SurfaceData License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Terrain Terrain depends on SurfaceData and GradientSignal (#5476) 4 years ago
TestAssetBuilder License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
TextureAtlas License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
TickBusOrderViewer License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
Twitch License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
UiBasics Fixed all errors with default seeds (#5489) 4 years ago
Vegetation Removing material type asset info 4 years ago
VideoPlaybackFramework License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
VirtualGamepad License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
WhiteBox License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago