View Full Version : compile error
Mortimus
12-17-2006, 09:10 AM
When i try to compile, i get
spell_explorer.cpp: In function 'int main(int, char**)':
spell_explorer.cpp:99: error: invalid conversion from 'int'
to 'SkillType'
make[1]: *** [spell_explorer] Error 1
this is running on my xubuntu machine.
Zeaus
12-20-2006, 03:29 PM
I'm getting this on Ubuntu 6.10 too.
I believe you don't need to compile that to run the emu although fixing it so that I compiles wouldn't go a miss.
I was taking a look at the line but nothing was jumping out at me as to the actual problem. :)
Mortimus
12-20-2006, 07:42 PM
Well, i fixed that by changing line 99 to
sp.skill=(SkillType)atoi(sep.arg[100]);
but now i got all these azone errors....
Cripp
12-20-2006, 07:50 PM
you dont need to compile azone to run a server if thats all your trying to do...
same goes for spelleditor as well hehe. cleanipc, libemusharemem, eqlaunch, zone, and world are all u need to compile.. cleanipc isnt necessary either but recommended
Angelox
12-20-2006, 11:59 PM
When i try to compile, i get
spell_explorer.cpp: In function 'int main(int, char**)':
spell_explorer.cpp:99: error: invalid conversion from 'int'
to 'SkillType'
make[1]: *** [spell_explorer] Error 1
this is running on my xubuntu machine.
I always get this error to, but since I didn't know what it was for and it didn't seem changed, I just use an older version of that.
spell_explorer got broken after 0.7.0.911. just compile that utility on an earlier version.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.