0 like 0 dislike
1.1k views

We get the following error when trying to compile the 1.4.4 plugin for Unreal 4.16 :( 

Has anyone else got this when compiling for the that version of the engine? Any work arounds?

T:\Craig\PROJECTS\PERSONAL\sandBurst_001\Unreal\TieFighter\Plugins\UE4PopcornFXPlugin\PopcornFX\Source\PopcornFX\Private\Internal\Startup.cpp(348): error C4840: non-portable use of class 'PopcornFX::TAtomic<PopcornFX::hh_u32>' as an argument to a variadic function
T:\Craig\PROJECTS\PERSONAL\sandBurst_001\Unreal\TieFighter\Plugins\UE4PopcornFXPlugin\PopcornFX\Source\PopcornFX\Private\Internal\Startup.cpp(348): note: 'PopcornFX::TAtomic<PopcornFX::hh_u32>::TAtomic' is non-trivial
T:\Craig\PROJECTS\PERSONAL\sandBurst_001\Unreal\TieFighter\Plugins\UE4PopcornFXPlugin\PopcornFX\Source\PopcornFX\Private\Internal\Startup.cpp(348): note: the constructor and destructor will not be called; a bitwise copy of the class will be passed as the argument
T:\Craig\PROJECTS\PERSONAL\sandBurst_001\Unreal\TieFighter\Plugins\UE4PopcornFXPlugin\PopcornFX\PopcornFX_Runtime_SDK\source_tree\hellheaven\hh_kernel/include/kr_refptr.h(287): note: see declaration of 'PopcornFX::TAtomic<PopcornFX::hh_u32>'

by feanix (1.2k points)

1 Answer

0 like 0 dislike
 
Best answer
Several people encountered the issue when Visual Studio 2017 was installed.

You can try to install Visual Studio 2015. If already installed, try to Repair the install (re-install).
by Jordan (14.6k points)
that did the job, thanks!
...