ERROR compiling new command.cpp
Just had compile error after pulling latest source with the new command.cpp:
/ Code:
home/huppy/source/zone/command.cpp: In function int command_init(): |
Just to mention, This still shows up with a completely fresh git pull of the whole source code,
without any modifications. Usually everytime there is a source update, I empty out my source folder and pull all of it new. |
It looks like you have some sort of modification, although you say you haven't modified the file at all. Those errors work like this 'file location:line number:column number' So on line 400 you have 3 errors and on line 416 you have an error. Would you mind posting from line 390 to 420 of your command.cpp (located in source/zone folder)?
Note: The reason I say it seems like there is a modification is because the scalar symbol ($) is not used in C++ for variable declaration, the only place you'll find that in any of EQEmulator's code is in Perl or PHP. Edit: Compiled the source as of today (12/13/15) and did not receive this error or any sort of error at all. |
Thiis the orginal downloaded from git, with no mods EDIT : Line 420 at bottom is blank
Code:
command_add("viewnpctype", "[npctype id] - Show info about an npctype", 100, command_viewnpctype) || |
Quote:
smooth, hahaha |
Pretty weird stuff man, haha. Seems like people get some wildcard errors every so often.
|
Ya, I will try it again, no urgency here, I was trying to compile the commands update, to see what it's like with the new command system. My karma gets me this kind of thing once in awhile. I've had NPC scripts stop working out of the blue and and then start working again, hahaha
|
Just tried something different. Not only clearing out the source folder, but deleted the folder as well.
I created a new folder with same name "source" and pulled the code from git. It compiled with no errors. Go figure. |
Glad to hear it worked itself out, it never is fun to encounter issues like this. Wish I could see what the actual issue was, as to allow me to keep people from experiencing the same issue in the future or better diagnose it.
|
All times are GMT -4. The time now is 04:43 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.