quesoph 105 Posted July 6, 2013 Is there anyone having a problem compiling a fresh checked out server with cygwin? Haven't experience this error with CentOS and MSVC++ 2010. Quote Share this post Link to post Share on other sites
0 Ind 945 Posted July 8, 2013 Thank you Fixed in https://github.com/HerculesWS/Hercules/commit/f409afc22eb2d561e9eedcb238aa624ad7e80f4e 1 quesoph reacted to this Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted July 8, 2013 Thanks very much sir.. Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted July 8, 2013 (edited) Thank you Fixed in https://github.com/HerculesWS/Hercules/commit/f409afc22eb2d561e9eedcb238aa624ad7e80f4e The error is still there: .../src/common/console.c // Copyright (c) Hercules Dev Team, licensed under GNU GPL.// See the LICENSE file// Portions Copyright (c) Athena Dev Teams#include "../common/cbasetypes.h"#include "../common/showmsg.h"#include "../common/core.h"#include "../config/core.h"#include "console.h"#ifndef MINICORE #include "../common/ers.h" #include "../common/malloc.h" #include "../common/atomic.h" #include "../common/spinlock.h" #include "../common/thread.h" #include "../common/mutex.h" #include "../common/timer.h" #include "../common/strlib.h"#endif#include <stdio.h>#include <stdlib.h>+#include <sys/time.h> I got pass the error by adding this: #include <sys/time.h> Another error. This error doesn't show up with *Athena emu. Edited July 8, 2013 by quesoph Quote Share this post Link to post Share on other sites
0 Ind 945 Posted July 8, 2013 I'll get my cygwin setup so I may debug it fully, thank you for bringing this to us. Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted July 8, 2013 My pleasure sir. thank you.. Quote Share this post Link to post Share on other sites
0 Ind 945 Posted July 8, 2013 ran it on cygwin a couple times, fixed in https://github.com/HerculesWS/Hercules/commit/4f69a9ea0f80e78da61482b2d1143a6e58859fd1 Thank you very much 1 quesoph reacted to this Quote Share this post Link to post Share on other sites
0 Ind 945 Posted July 8, 2013 By the way you probably will encounter some supposedly "sql update" error messages after map server launches, ignore them -- they're not dangerous, the code for cygwin is forgetting to skip 'r', I'll get it fixed in a upcoming commit Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted July 8, 2013 By the way you probably will encounter some supposedly "sql update" error messages after map server launches, ignore them -- they're not dangerous, the code for cygwin is forgetting to skip 'r', I'll get it fixed in a upcoming commit Thank you so much! and one more thing. if you comment this line: /// Comment to disable Hercules' console_parse/// CONSOLE_INPUT allows you to type commands into the server's console,/// Disabling it saves one thread.#define CONSOLE_INPUT/// Maximum number of caracters 'CONSOLE_INPUT' will support per line.#define MAX_CONSOLE_INPUT 150 the compiler will produce an error. Quote Share this post Link to post Share on other sites
0 Ind 945 Posted July 8, 2013 Thank you for bringing this to our attention, it will be fixed in my upcoming commit Quote Share this post Link to post Share on other sites
Is there anyone having a problem compiling a fresh checked out server with cygwin?
Haven't experience this error with CentOS and MSVC++ 2010.
Share this post
Link to post
Share on other sites