home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Compiling Cube Engine in Dev-Cpp

by DennisJm on 03/14/2005 03:34, 7 messages, last message: 03/20/2005 21:12, 2207 views, last view: 04/30/2024 10:37

Umm.. I have tried many times to compile the engine as is in Dev-Cpp many times. (the SRC) Including all files, libs, dirs, dlls, and anything else... Has anyone else every tried and succesfully done this? All my errors are in the \\\"tools.h\\\" file... If anyone can help me a bit, I will give the entire error code...

-Thanks

-Dennis

P.S. Sorry for the name, it will not send me a cookie Authentication Code... (Yes, I am just regular 'Dennis' as well...)


Error Code: (From Compile Log)

Compiler: Default compiler
Building Makefile: \\\"C:\\\\Documents and Settings\\\\Owner\\\\Desktop\\\\Dennis\\\\Cube\\\\source\\\\DevProj\\\\Makefile.win\\\"
Executing make...
make.exe -f \\\"C:\\\\Documents and Settings\\\\Owner\\\\Desktop\\\\Dennis\\\\Cube\\\\source\\\\DevProj\\\\Makefile.win\\\" all
g++.exe -c ../src/client.cpp -o ../src/client.o -I\\\"lib/gcc/mingw32/3.4.2/include\\\" -I\\\"include/c++/3.4.2/backward\\\" -I\\\"include/c++/3.4.2/mingw32\\\" -I\\\"include/c++/3.4.2\\\" -I\\\"include\\\" -I\\\"C:/Documents and Settings/Owner/Desktop/Dennis/Cube/source/include\\\"

In file included from ../src/cube.h:3,
from ../src/client.cpp:3:
../src/tools.h: In function `int fast_f2nat(float)\\\':
../src/tools.h:90: error: expected `(\\\' before \\\"fld\\\"
../src/tools.h:90: error: expected asm body before \\\"fld\\\"
../src/tools.h:90: error: `fld\\\' undeclared (first use this function)
../src/tools.h:90: error: (Each undeclared identifier is reported only once for each function it appears in.)
../src/tools.h:90: error: expected `;\\\' before \\\"a\\\"

../src/tools.h: In constructor `vector<T>::vector()\\\':
../src/tools.h:148: error: there are no arguments to `gp\\\' that depend on a template parameter, so a declaration of `gp\\\' must be available
../src/tools.h:148: error: (if you use `-fpermissive\\\', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

../src/tools.h: In constructor `hashtable<T>::hashtable()\\\':
../src/tools.h:223: error: there are no arguments to `gp\\\' that depend on a template parameter, so a declaration of `gp\\\' must be available

make.exe: *** [../src/client.o] Error 1

Execution terminated

   Board Index   

#1: BTW

by DennisJm on 03/14/2005 13:41

By the way... I am only doing this to see if I can compile it with my current IDE... If there is a problem, or someone knows of a FREE IDE to compile this, please tell me...

-Dennis

reply to this message

#2: Re: BTW

by pushplay on 03/18/2005 06:11, refers to #1

There was a mingw compatible source, but it 's a year old now.

reply to this message

#3: OK

by DennisJm on 03/20/2005 04:31

Ok, where is it?

reply to this message

#4: Re: OK

by jean pierre on 03/20/2005 14:17

You dont need to use it if you are using Dev-C++

reply to this message

#5: ??

by DennisJm on 03/20/2005 16:24

Then how come I keep getting that error? (Above)

reply to this message

#6: What is wrong with my dev-pak?

by DennisJm on 03/20/2005 16:51

Could it be the Dev-Pak I am trying to make? Here, look:

[Project]
FileName=Project1.dev
Name=Project1
UnitCount=44
Type=1
Ver=1
ObjFiles=
Includes="c:\Cube\src\Cube-SRC\include";"C:\Cube\src\Cube-SRC\include\GL";"C:\Cube\src\Cube-SRC\enet\include";"C:\Cube\source\Cube-SRC\enet\include\enet"
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=
CppCompiler=
Linker=lib/fmodvc.lib_@@_lib/SDL.lib_@@_lib/SDL_image.lib_@@_lib/SDL_mixer.lib_@@_lib/SDLmain.lib_@@_lib/zlib.lib_@@_
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
OverrideOutput=0
OverrideOutputName=Project1.exe
HostApplication=
Folders=Enet
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
CompilerSettings=0000000000000000000000

[Unit1]
FileName=src\client.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit2]
FileName=src\clientextras.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit3]
FileName=src\clientgame.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit4]
FileName=src\clients2c.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit5]
FileName=src\command.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit6]
FileName=src\console.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit7]
FileName=src\cube.h
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit8]
FileName=src\editing.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit9]
FileName=src\entities.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit10]
FileName=src\main.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit11]
FileName=src\menus.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit12]
FileName=src\monster.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit13]
FileName=src\pch.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit14]
FileName=src\physics.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit15]
FileName=src\protos.h
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit16]
FileName=src\rendercubes.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit17]
FileName=src\renderextras.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit18]
FileName=src\rendergl.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit19]
FileName=src\rendermd2.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit20]
FileName=src\renderparticles.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit21]
FileName=src\rendertext.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit22]
FileName=src\rndmap.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit23]
FileName=src\savegamedemo.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit24]
FileName=src\server.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit25]
FileName=src\serverbrowser.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit26]
FileName=src\serverms.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit27]
FileName=src\serverutil.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit28]
FileName=src\sound.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit29]
FileName=src\tools.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit30]
FileName=src\tools.h
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit31]
FileName=src\weapon.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit32]
FileName=src\world.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit33]
FileName=src\worldio.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit34]
FileName=src\worldlight.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit35]
FileName=src\worldocull.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit36]
FileName=src\worldrender.cpp
CompileCpp=1
Folder=Project1
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit37]
FileName=enet\host.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit38]
FileName=enet\list.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit39]
FileName=enet\memory.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit40]
FileName=enet\packet.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit41]
FileName=enet\peer.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit42]
FileName=enet\protocol.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit43]
FileName=enet\unix.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit44]
FileName=enet\win32.c
CompileCpp=1
Folder=Enet
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[VersionInfo]
Major=0
Minor=1
Release=1
Build=1
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=
AutoIncBuildNr=0

reply to this message

#7: or...

by DennisJm on 03/20/2005 21:12

or, does anyone know the problem?

-Thanks

-Dennis

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53864398 visitors requested 71639542 pages
page created in 0.019 seconds using 10 queries
hosted by Boost Digital