Closed AMZN-Gene closed 1 year ago
Alternate Workaround
as outlined in issue #66 , one can add the define in the Code folder's CMakeLists.txt. Check the issue link for more details.
Also this issue has been resolved in this PR #67 , though it was mentioned in the issue comments that the better fix would be to add this change in FindPopcornFX.cmake.
Closed
Duplicate #67
PopcornFx fails to compile due to linker errors when building the GameLauncher in release mode
Repro steps
Expected Behavior The game compiles
Actual Behavior PopcornFX plugin fails to compile due to linker errors
Workaround 1) Open .o3de\3rdParty\packages\PopcornFX-2.17.2-O3DE-windows\FindPopcornFX.cmake 2) Replace line 20 with: _set(POPCORNFX_LIBRARY_SUFFIX $<IF:$,_d,$<IF:$,_r,_r>>${CMAKE_STATIC_LIBRARYSUFFIX})