I have a questions about compiling tinymud server version 2_2.
I have tried typing make at the command line, and I get a long list of compile errors. According to the readme file included with the software, you can also type:
gcc tinymudserver.cpp -o tinymudserver -g -Wall at the command line to try to get it to compile. However, this method also produces compile errors (at least for me). Perhapse I have something wrong with my build environment.
I have tried pulling files into netbeans one at a time to try to help me identify the problems and get it to compile. Most of the errors I've found appear to stem from the lack of putting std:: in front of string declarations.
So far, I have gotten nearly everything cleared up. However, I still have one error where netbeans states that it cannot resolve the identifier MAKE_STRING used in player.h.
No matter what I try, I cannot get the compiler to recognize MAKE_STRING from the following code:
// output to player (any type)
template<typename T>
tPlayer & operator<< (const T & i)
{
outbuf += MAKE_STRING (i);
return *this;
};
Can someone please offer some suggestions?
Thanks in advance.
I have tried typing make at the command line, and I get a long list of compile errors. According to the readme file included with the software, you can also type:
gcc tinymudserver.cpp -o tinymudserver -g -Wall at the command line to try to get it to compile. However, this method also produces compile errors (at least for me). Perhapse I have something wrong with my build environment.
I have tried pulling files into netbeans one at a time to try to help me identify the problems and get it to compile. Most of the errors I've found appear to stem from the lack of putting std:: in front of string declarations.
So far, I have gotten nearly everything cleared up. However, I still have one error where netbeans states that it cannot resolve the identifier MAKE_STRING used in player.h.
No matter what I try, I cannot get the compiler to recognize MAKE_STRING from the following code:
// output to player (any type)
template<typename T>
tPlayer & operator<< (const T & i)
{
outbuf += MAKE_STRING (i);
return *this;
};
Can someone please offer some suggestions?
Thanks in advance.