Is GDNative hard to deploy to different platforms ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Karim

In Godot docs, they say that C++ is hard to deploy on different platforms and i am wondering how is this possible ?

:bust_in_silhouette: Reply From: yrtv
  1. Obtain C++ SDK for each platform (no legal os x and ios sdk without mac)
  2. Write native module(s) (until it’s something simple code will be platform\compiler dependent)
  3. Maintain and update native module(s) for each platform (html5 support only in beta. html5 threads may be disabled if gdnative is enabled)

Thanks for the help. Anyway i found out the problem and the problem was that i must wrap the whole class in namespace godot {} alongside using namespace godot;

Karim | 2021-02-01 18:20