In file included from regions.h:9,
from ai.cpp:21:
mapstuff.h: In constructor 'UOX::CMulHandler::MultiItemsIndex_st::MultiItemsIndex_st()':
mapstuff.h:101: error: 'SHRT_MAX' was not declared in this scope
mapstuff.h:101: error: 'SHRT_MIN' was not declared in this scope
mapstuff.h:102: error: 'SCHAR_MAX' was not declared in this scope
mapstuff.h:102: error: 'SCHAR_MIN' was not declared in this scope
make: *** [ai.o] Error 1
However it doesn't look like this file has been updated since I last built UOX3, so something else has changed somewhere.
And screw the bloody security restrictions on this forum
You might actually want to try running autogen.sh too. It looks like a similar process to my manual one, but was written against cygwin. Just chmod +x it and ./autogen.sh
That line? I get that too. Like I said, it was built against cygwin. It performs similar preparation steps to my manual walkthrough. After running the script it should still kick off the compile process when you type make after that, and then you should hit the mapstuff compilation error.
If you arn't getting to the same compile errors that I am suggests there is something going wrong in your toolchain or the local copies of your files (ie, not being download correctly, character encoding problems somewhere along the line, disk issues - /shrug).
intodesi@NixTestSrv:~/projects/uox3/source$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
intodesi@NixTestSrv:~/projects/uox3/source$ ./make
-bash: ./make: No such file or directory
intodesi@NixTestSrv:~/projects/uox3/source$ make
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"uox3\" -DVERSION=\"0.97\" -I. -I. -O2 -I./mozilla/js/src -MT cConsole.o -MD -MP -MF ".deps/cConsole.Tpo" -c -o cConsole.o cConsole.cpp; \
then mv -f ".deps/cConsole.Tpo" ".deps/cConsole.Po"; else rm -f ".deps/cConsole.Tpo"; exit 1; fi
cConsole.cpp: In member function âUOX::CConsole& UOX::CConsole::operator<<(const char*)â:
cConsole.cpp:112: error: âCONSOLE_SCREEN_BUFFER_INFOâ was not declared in this scope
cConsole.cpp:112: error: expected `;' before âScrBuffInfoâ
cConsole.cpp:113: error: âhcoâ was not declared in this scope
cConsole.cpp:113: error: âScrBuffInfoâ was not declared in this scope
cConsole.cpp:113: error: âGetConsoleScreenBufferInfoâ was not declared in this scope
make: *** [cConsole.o] Error 1
intodesi@NixTestSrv:~/projects/uox3/source$
uox3.o: In function `main':
uox3.cpp:(.text+0xe06b): undefined reference to `UOX::CConsole::operator<<(UOX::CEndL&)'
uox3.cpp:(.text+0xe07b): undefined reference to `UOX::CConsole::operator<<(char const*)'
uox3.cpp:(.text+0xe0e6): undefined reference to `UOX::CConsole::operator<<(char const*)'
uox3.cpp:(.text+0xe0f6): undefined reference to `UOX::CConsole::operator<<(UOX::CEndL&)'
uox3.cpp:(.text+0xe75b): undefined reference to `UOX::CConsole::operator<<(char const*)'
worldmain.o: In function `UOX::CWorldMain::SaveNewWorld(bool)':
worldmain.cpp:(.text+0x342b): undefined reference to `UOX::CConsole::operator<<(char const*)'
worldmain.cpp:(.text+0x343b): undefined reference to `UOX::CConsole::operator<<(UOX::CEndL&)'
worldmain.cpp:(.text+0x3467): undefined reference to `UOX::CConsole::operator<<(char const*)'
worldmain.cpp:(.text+0x3575): undefined reference to `UOX::CConsole::operator<<(char const*)'
worldmain.cpp:(.text+0x3584): undefined reference to `UOX::CConsole::operator<<(unsigned short const&)'
worldmain.cpp:(.text+0x3594): undefined reference to `UOX::CConsole::operator<<(UOX::CEndL&)'
worldmain.cpp:(.text+0x35b8): undefined reference to `UOX::CConsole::operator<<(char const*)'
worldmain.cpp:(.text+0x35c8): undefined reference to `UOX::CConsole::operator<<(UOX::CEndL&)'
worldmain.cpp:(.text+0x367b): undefined reference to `UOX::CConsole::operator<<(char const*)'
worldmain.cpp:(.text+0x368b): undefined reference to `UOX::CConsole::operator<<(UOX::CEndL&)'
collect2: ld returned 1 exit status
make: *** [uox3] Error 1
cConsole.cpp: In member function âUOX::CConsole& UOX::CConsole::operator<<(const char*)â:
cConsole.cpp:112: error: âCONSOLE_SCREEN_BUFFER_INFOâ was not declared in this s cope
cConsole.cpp:112: error: expected `;' before âScrBuffInfoâ
cConsole.cpp:113: error: âhcoâ was not declared in this scope
cConsole.cpp:113: error: âScrBuffInfoâ was not declared in this scope
cConsole.cpp:113: error: âGetConsoleScreenBufferInfoâ was not declared in this s cope
make: *** [cConsole.o] Error 1
intodesi2 wrote:Ok last question, Can I use a fresh install of mondains legacy or even kingdom reborn? I have been trying to find the info myself, but I got lost.
I use Mondain's Legacy.
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)