Ok that got ride of some of it but not i get a new message...
act_move.c: In function 'ROOM_INDEX_DATA* generate_exit<ROOM_INDEX_DATA*, EXIT_DATA**>':
act_move.c:604: erro: ISO C++ forbids cast to non-reference type used as lvalue
I get the same Error, even after uncommenting the Cygwin and Crypt lines. Here is my Makefile. I also don't have crypt.h anywhere on my computer. It'd be great to know where I can get it, and where it needs to be placed.
CC = g++
#PROF = -p
NOCRYPT =
# -E Preprocess only; do not compile, assemble or link
# -S Compile only; do not assemble or link
# -c Compile and assemble, but do not link
# -x Specify language of input files c++ or c
EXTRAFLG =
#Uncomment to compile in Cygwin
CYGWIN = -DCYGWIN
#Uncomment the line below if you are getting undefined crypt errors
NEED_CRYPT = -lcrypt
#Uncomment the line below if you are getting warnings about undefined math functions
#NEED_MATH = -lm
well i check the makefile and made the change's im still getting the:
$ make
make -s swr
Compiling o/act_comm.o....
Compiling o/act_info.o....
act_info.c: In function `void do_password(CHAR_DATA*, char*)':
act_info.c:2551: error: `crypt' undeclared (first use this function)
act_info.c:2551: error: (Each undeclared identifier is reported only once for ea
ch function it appears in.)
make[1]: *** [o/act_info.o] Error 1
make: *** [all] Error 2
my makefile is:
CC = g++
#PROF = -p
NOCRYPT =
# -E Preprocess only; do not compile, assemble or link
# -S Compile only; do not assemble or link
# -c Compile and assemble, but do not link
# -x Specify language of input files c++ or c
EXTRAFLG =
#Uncomment to compile in Cygwin
CYGWIN = -DCYGWIN
#Uncomment the line below if you are getting undefined crypt errors
#NEED_CRYPT = -lcrypt
#Uncomment the line below if you are getting warnings about undefined math functions
#NEED_MATH = -lm
ok im having a bit of trouble. I edited the makefile to be able to use cygwin. Im running off a winxp notebook. i keep getting this:
$ make
make -s swr
Compiling o/act_comm.o....
Compiling o/act_info.o....
act_info.c: In function `void do_password(CHAR_DATA*, char*)':
act_info.c:2551: error: `crypt' undeclared (first use this function)
act_info.c:2551: error: (Each undeclared identifier is reported only once for ea
ch function it appears in.)
make[1]: *** [o/act_info.o] Error 1
make: *** [all] Error 2
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.