12.06.2016, 17:34
I have downloaded the Linux version of the Pawn compiler from Zeex repository and everything seems to work except for y_hooks. When I include y_hooks, I received various include errors which I've fixed for the most part by replacing the backslash \ to a forward slash / in each file. The final error that I get is this one which I'm unsure how to fix:
a_samp.inc does exist in my include folder and my gamemode includes this file as well, so I'm not sure what the problem could be. Also, when I don't include y_hooks my gamemode compiles without any errors. I would greatly appreciate any help you can give me in resolving this problem. Thank you for your time.
Here's information about my Linux distribution:
Код:
owner@owner-server:~/Games/samp$ ./pawnc-3.10/pawncc -ipawnc-3.10/include gamemodes/valkyrie_cnr.pwn -';+' -'\\' -'(+' Pawn compiler 3.10.20150531 Copyright © 1997-2006, ITB CompuPhase pawnc-3.10/include/YSI/internal/../y_scriptinit.inc(62) : fatal error 100: cannot read from file: "a_samp" Compilation aborted. 1 Error.
Here's information about my Linux distribution:
Код:
owner@owner-server:~/Games/samp$ cat /etc/*-release DISTRIB_ID=LinuxMint DISTRIB_RELEASE=17.2 DISTRIB_CODENAME=rafaela DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela" NAME="Ubuntu" VERSION="14.04.3 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.3 LTS" VERSION_ID="14.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" owner@owner-server:~/Games/samp$ uname -a Linux owner-server 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux