Problem compiling plugins in Linux (Ubuntu) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Problem compiling plugins in Linux (Ubuntu) (
/showthread.php?tid=294398)
Problem compiling plugins in Linux (Ubuntu) -
RyDeR` - 01.11.2011
I am able to compile my plugins in CentOS but since I like Ubuntu more I tried on Ubuntu but it's not working well. I am getting the following error in terminal after typing "make CTime_Compile":
Код:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
I tried to install all different kinds of libraries with "apt-get" but it's still not working. Anyone has a solution for this?
Re: Problem compiling plugins in Linux (Ubuntu) -
RyDeR` - 02.11.2011
Hi, sorry for bumping the topic but I'd be grateful if someone can find a solution to this. I'm sure the people compiling plugins in Ubuntu can tell me something more about this.
Re: Problem compiling plugins in Linux (Ubuntu) -
CyNiC - 03.11.2011
Try to move the files for the 'home' folder and compile.
I had a similar problem and this way worked.
Re: Problem compiling plugins in Linux (Ubuntu) -
RyDeR` - 03.11.2011
Quote:
Originally Posted by CyNiC
Try to move the files for the 'home' folder and compile.
I had a similar problem and this way worked.
|
Still same - you mean moving the files from desktop to home folder right?
Re: Problem compiling plugins in Linux (Ubuntu) -
CyNiC - 03.11.2011
Quote:
Originally Posted by RyDeR`
Still same - you mean moving the files from desktop to home folder right?
|
Yes.
Then, how is included this file? I had this problem too when the include was included such:
Код:
#include <include.h>
The problem was solved when I changed for:
Код:
#include "include.h"
It's all that I can say to help you.