• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Compiling latest source..

Nevalopo

Demigod
Joined
Jul 21, 2008
Messages
5,165
Reaction score
68
Location
Sweden, Landskrona
Stains pack still works alright? I downloaded latest source --> Downloaded stains c++ dev thing --> Open the .dev file --> Clicked Compile --> Got Error...

Where am i going wrong? o_O


This is how my compile log looks like
Compiler: Default compiler
Building Makefile: "C:\0.2.7\dev-cpp\Makefile.win"
Executing make...
mingw32-make -f "C:\0.2.7\dev-cpp\Makefile.win" all
g++.exe -c ../account.cpp -o obj//account.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

In file included from ../actions.cpp:22:
../const.h:236: error: 'uint8_t' does not name a type

../const.h:264: error: 'uint8_t' does not name a type

mingw32-make: *** [obj//actions.o] Error 1

Execution terminated
 
Compiler: Default compiler
Building Makefile: "C:\0.2.7\dev-cpp\Makefile.win"
Executing make...
mingw32-make -f "C:\0.2.7\dev-cpp\Makefile.win" all
g++.exe -c ../account.cpp -o obj//account.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

In file included from ../actions.cpp:22:
../const.h:236: error: 'uint8_t' does not name a type

../const.h:264: error: 'uint8_t' does not name a type

mingw32-make: *** [obj//actions.o] Error 1

Execution terminated
 
try including this file, if its not already included:
#include <stdint.h>
or try replacing uint8_t with: unsigned char
 
Wow.. What the hell is wrong :/
Now i got a whole bunch of other errors

Compiler: Default compiler
Building Makefile: "C:\0.2.7\dev-cpp\Makefile.win"
Executing make...
mingw32-make -f "C:\0.2.7\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

g++.exe -c ../admin.cpp -o obj//admin.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

g++.exe -c ../allocator.cpp -o obj//allocator.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

g++.exe -c ../baseevents.cpp -o obj//baseevents.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

g++.exe -c ../beds.cpp -o obj//beds.o -I"C:/Documents and Settings/Admin of DOOM/Skrivbord/Stian's Repack Dev-Cpp 0.2, 64bit/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -fexpensive-optimizations -O1

In file included from ../itemloader.h:24,
from ../items.h:27,
from ../item.h:26,
from ../beds.h:24,
from ../beds.cpp:22:
../fileloader.h: In member function 'bool PropStream::GET_STRING(std::string&)':
../fileloader.h:249: error: 'memcpy' was not declared in this scope

../fileloader.h: In member function 'bool PropStream::GET_LSTRING(std::string&)':
../fileloader.h:269: error: 'memcpy' was not declared in this scope
../fileloader.h: In member function 'bool PropStream::GET_NSTRING(short unsigned int, std::string&)':
../fileloader.h:283: error: 'memcpy' was not declared in this scope

../fileloader.h: In constructor 'PropWriteStream::propWriteStream()':
../fileloader.h:313: error: 'memset' was not declared in this scope
../fileloader.h: In member function 'void PropWriteStream::ADD_TYPE(T*)':
../fileloader.h:334: error: there are no arguments to 'memcpy' that depend on a template parameter, so a declaration of 'memcpy' must be available
../fileloader.h:334: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../fileloader.h: In member function 'void PropWriteStream::ADD_STRING(const std::string&)':
../fileloader.h:367: error: 'memcpy' was not declared in this scope
../fileloader.h: In member function 'void PropWriteStream::ADD_LSTRING(const std::string&)':
../fileloader.h:383: error: 'memcpy' was not declared in this scope

In file included from ../item.h:26,
from ../beds.h:24,
from ../beds.cpp:22:
../items.h: In constructor 'Abilities::Abilities()':
../items.h:69: error: 'memset' was not declared in this scope

mingw32-make: *** [obj//beds.o] Error 1

Execution terminated
 
Back
Top