open.mp forum
[Pawn] Issue with compiler - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Issue with compiler (/showthread.php?tid=2807)



Issue with compiler - LARP Head Admin - 2024-06-30

Hi,

I'm trying to convert over our old SA:MP script to the latest version of O:MP, I've unfortunately gotten stuck at the first hurdle.


I'm getting a very basic error after seemingly doing everything correct.

I've downloaded the latest server exec (I haven't found much documentation on what else I need to be downloading) which should have all the up to date includes etc related to the standard release of O:MP.

The error I'm getting is:

Quote:\OpenMP LARP Script\gamemodes\new_0.1.9.pwn(32) : fatal error 100: cannot read from file: "openmp\openmp"

after doing what the compatibility post said (below):

Quote:#define OPENMP_COMPAT
#include <openmp\openmp>

Now I completely realise that I do not have the Openmp\openmp directory what so ever, so essentially my question is where do I find it, I've been looking for quite some time now.

I apologise if I'm just being a retard and its somewhere plainly obvious.


RE: Issue with compiler - PainFrenemy - 2024-07-29

#define OPENMP_COMPAT
#include <open.mp>