Compiling Error

Mumbles

Former Global Moderator
Messages
618
Points
0
Location
California
Discord
Mumbles#0001
Github
datmumbles
Not really sure what's going on in there, but I got this error while compiling in Linux.

Code:
make[1]: Leaving directory `/root/Desktop/Hercules/src/char'make[1]: Entering directory `/root/Desktop/Hercules/src/map'	    MKDIR   obj_sql	    CC	  map.c	    CC	  chrif.c	    CC	  clif.c	    CC	  pc.c	    CC	  status.c	    CC	  npc.c	    CC	  npc_chat.c	    CC	  chat.c	    CC	  path.c	    CC	  itemdb.c	    CC	  mob.c	    CC	  script.c	    CC	  storage.c	    CC	  skill.cskill.c:1: error: stray â357â in programskill.c:1: error: stray â273â in programskill.c:1: error: stray â277â in programmake[1]: *** [obj_sql/skill.o] Error 1make[1]: Leaving directory `/root/Desktop/Hercules/src/map'make: *** [map_sql] Error 2
 
Last edited by a moderator:
usually thats' do to the encoding of the file. I believe it has to be ANSI

 
wooo a char encoding issue due to no reason i'm aware of, i'll ask our staff whos experienced at this kind of issue to take a look

 
Last edited by a moderator:
usually thats' do to the encoding of the file. I believe it has to be ANSI
How would I go about fixing it? .-.

If it's useful information to anyone, I'm running CentOS5 lol.

Edit: Also, this is basically whatever I cloned from Github.

 
Last edited by a moderator:
I'm not too sure how to do it on linux, but I would transfer the skill.c file to my windows through winscp. And then open with notepad++. 

Then encoding>>encode in ANSI

then save the file, and transfer back.

until then probably wait until the devs fix the problem

 
I'm not too sure how to do it on linux, but I would transfer the skill.c file to my windows through winscp. And then open with notepad++. 

Then encoding>>encode in ANSI

then save the file, and transfer back.

until then probably wait until the devs fix the problem
Thanks Judas; I was able to compile successfully after doing that.

 
Back
Top