PopcornFX / O3DEPopcornFXPlugin

PopcornFX plugin for O3DE
https://www.popcornfx.com/
Other
13 stars 12 forks source link

Build failure on Linux/Release #64

Closed spham-amzn closed 1 year ago

spham-amzn commented 1 year ago

There is a release-build failure for the gem when building in release mode (commit 65cd36a)

[INFO] root: In file included from /home/o3de/github/o3de/build/game/External/O3DEPopcornFXPlugin-54fb4c54/Code/CMakeFiles/PopcornFX.Static.dir/Unity/unity_2_cxx.cxx:3:

[INFO] root: /home/o3de/github/o3de/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Code/Source/Integration/Managers/WindManager.cpp:106:6: error: no member named 'm_OptimizerDefs' in 'PopcornFX::SSimulationInterfaceDefinition'

[INFO] root:         def.m_OptimizerDefs.m_FnRangeBuildPtr = &_CustomRangeBuild_SceneSampleWindField;

[INFO] root:         ~~~ ^

[INFO] root: /home/o3de/github/o3de/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Code/Source/Integration/Managers/WindManager.cpp:106:43: error: use of undeclared identifier '_CustomRangeBuild_SceneSampleWindField'

[INFO] root:         def.m_OptimizerDefs.m_FnRangeBuildPtr = &_CustomRangeBuild_SceneSampleWindField;

[INFO] root:                                                  ^

[INFO] root: /home/o3de/github/o3de/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Code/Source/Integration/Managers/WindManager.cpp:178:2: error: unknown type name 'CSimulationInterfaceMapper'

[INFO] root:         CSimulationInterfaceMapper      *simInterfaceMapper = CSimulationInterfaceMapper::DefaultMapper();

[INFO] root:         ^

[INFO] root: /home/o3de/github/o3de/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Code/Source/Integration/Managers/WindManager.cpp:178:51: error: use of undeclared identifier 'CSimulationInterfaceMapper'

[INFO] root:         CSimulationInterfaceMapper      *simInterfaceMapper = CSimulationInterfaceMapper::DefaultMapper();

[INFO] root:                                                               ^

[INFO] root: In file included from /home/o3de/github/o3de/build/game/External/O3DEPopcornFXPlugin-54fb4c54/Code/CMakeFiles/PopcornFX.dir/Unity/unity_0_cxx.cxx:11:

[INFO] root: /home/o3de/github/o3de/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Code/Source/Integration/PopcornFXIntegration.cpp:74:2: error: use of undeclared identifier 'm_StatsManager'

[INFO] root:         m_StatsManager.Reset(mediumCollection);

[INFO] root:         ^

[INFO] root: /home/o3de/github/o3de/o3de-multiplayersample-assets/Gems/O3DEPopcornFXPlugin/Code/Source/Integration/PopcornFXIntegration.cpp:76:39: error: use of undeclared identifier 'm_StatsManager'

[INFO] root:         STATS_START_MAIN_THREAD_TIMER_SCOPED(m_StatsManager);
HugoPKFX commented 1 year ago

Hi, Thanks for reporting the issue, it is fixed on development branch, commit 8f5f560cbc4821259fb36d05cbb1152a94f0e940. It will also be released in the upcoming v2.15.13 & v2.17.4.