one problem is that QB64 does not have an intrinsic data type that's the size of a pointer except ~offset but ~offset can't be used as normal integer, so functions in gmp that return a 32 or 64-bit integer depending on whether you are compiling for 32 or 64-bit don't have a generic solution, you would need 32 and 64-bit bit versions of the header, and that's just for one platform, windows and linux have different datatype sizes.
besides, QB64 string functions don't play well with C-strings, I don't feel like presenting an example, I have done so in the past.