home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Dev-C++

by Larken_ on 08/05/2006 04:53, 22 messages, last message: 08/25/2006 03:02, 5677 views, last view: 04/30/2024 21:10

so i\\\'m using Bloodshed\\\'s Dev-C++
to compile the latest version of
Sauerbraten. I\\\'ve used prjconverter.exe
to change the .sln into a .dsp file
that I can import into Dev-C++ (which
is then automatically made into the
native .dev file). I keep getting this
error.

C:\\\\Program Files\\\\Sauerbraten\\\\src\\\\vcpp\\\\Makefile.win [Build Error] [../engine/server.o] Error 1

can anyone help me with what this means
and how to fix it?

Go to first 20 messagesGo to previous 20 messages    Board Index   

#3: ..

by Quin on 08/06/2006 10:28, refers to #2

Sorry, internet connection buggering up, admin feel free to censor this and the message preceding.

reply to this message

#4: log

by larken__ on 08/07/2006 14:39

here is the log. thanks for your help

Compiler: Default compiler
Building Makefile: "C:\Program Files\Sauerbraten\src\vcpp\Makefile.win"
Executing make...
make.exe -f "C:\Program Files\Sauerbraten\src\vcpp\Makefile.win" all
g++.exe -c ../engine/cubeloader.cpp -o ../engine/cubeloader.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/sauerbraten/src/include" -I"C:/sauerbraten/src/enet" -I"../enet/include" -I"../include" -I"../engine" -I"../fpsgame" -I"../shared" -D__GNUWIN32__ -W -finline-functions -fomit-frame-pointer -DNDEBUG -D_CONSOLE -D_MBCS -fexceptions

In file included from ../engine/engine.h:8,
from ../engine/cubeloader.cpp:2:

../engine/shaders.h:1: error: `PFNGLGENPROGRAMSARBPROC' does not name a type
../engine/shaders.h:2: error: `PFNGLBINDPROGRAMARBPROC' does not name a type
../engine/shaders.h:3: error: `PFNGLPROGRAMSTRINGARBPROC' does not name a type
../engine/shaders.h:4: error: `PFNGLPROGRAMENVPARAMETER4FARBPROC' does not name a type
../engine/shaders.h:5: error: `PFNGLPROGRAMENVPARAMETER4FVARBPROC' does not name a type
../engine/shaders.h: In member function `void Shader::set()':
../engine/shaders.h:34: error: `GL_VERTEX_PROGRAM_ARB' undeclared (first use this function)
../engine/shaders.h:34: error: (Each undeclared identifier is reported only once for each function it appears in.)
../engine/shaders.h:34: error: `glBindProgram_' undeclared (first use this function)
../engine/shaders.h:35: error: `GL_FRAGMENT_PROGRAM_ARB' undeclared (first use this function)

In file included from ../engine/cubeloader.cpp:2:
../engine/engine.h: At global scope:
../engine/engine.h:86: error: `PFNGLGENBUFFERSARBPROC' does not name a type
../engine/engine.h:87: error: `PFNGLBINDBUFFERARBPROC' does not name a type
../engine/engine.h:88: error: `PFNGLBUFFERDATAARBPROC' does not name a type

../engine/engine.h:89: error: `PFNGLDELETEBUFFERSARBPROC' does not name a type

../engine/engine.h:91: error: `PFNGLGENQUERIESARBPROC' does not name a type
../engine/engine.h:92: error: `PFNGLDELETEQUERIESARBPROC' does not name a type
../engine/engine.h:93: error: `PFNGLBEGINQUERYARBPROC' does not name a type
../engine/engine.h:94: error: `PFNGLENDQUERYARBPROC' does not name a type
../engine/engine.h:95: error: `PFNGLGETQUERYIVARBPROC' does not name a type
../engine/engine.h:96: error: `PFNGLGETQUERYOBJECTUIVARBPROC' does not name a type

make.exe: *** [../engine/cubeloader.o] Error 1

Execution terminated

reply to this message

#5: ..

by PlateWolfAwayFromHome on 08/07/2006 18:46

I got the same 'does not name a type' error.
Thanx for your help Quin.

reply to this message

#6: Re: log

by CrazyTB on 08/08/2006 04:00, refers to #4

Not sure, but looks like you are missing OpenGL libs/includes at your dev-c++. Again, not sure, because I never looked at sauer code, and I don't use Windows for years.

reply to this message

#7: Re: log

by Quin on 08/09/2006 11:39, refers to #4

Yeah, that's right. Make the bottom of src/shared/pch.h look like this..

-----------------
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif

#include "SDL.h"
#include "SDL_image.h"

//#define GL_GLEXT_LEGACY
//#define __glext_h__
//#define NO_SDL_GLEXT
#define GL_GLEXT_PROTOTYPES
#define GL_GLAUX_PROTOTYPES
#include "SDL_opengl.h"
//#undef __glext_h__
//#include "GL/glext.h"

#include "enet/enet.h"

#ifdef main
#undef main
#endif

#ifdef WIN32
#define _WINDOWS
#ifndef __GNUC__
#define ZLIB_DLL
#include <eh.h>
//#include <dbghelp.h>
#endif
#endif
#include <zlib.h>

reply to this message

#8: ..

by Quin on 08/09/2006 11:40, refers to #7

Dev-C++'s SDL actually handles that stuff, therefore when SDL is being used GLext doesn't do what it's supposed to, which is provide those things SDL does in this case.

reply to this message

#9: Backport code that compiles in Dev-C++

by Quin on 08/11/2006 11:55

Thought people here might find this useful to.

http://qreeves.googlepages.com/sauerbraten_2006_07_22_normalmap_edition_tesseract_backport_2006_08_11.zip

reply to this message

#10: ..

by PlateWolfAwayFromHome on 08/11/2006 14:07

Thanx Q, haven't replied cause haven't had the time for this yet.
Waiting for the weekend :)

reply to this message

#11: Re: Backport code that compiles in Dev-C++

by shadow,516 on 08/11/2006 14:42, refers to #9

Much appreciated dude ;)

reply to this message

#12: Re: Making DevCPP work.

by Options on 08/12/2006 06:15, refers to #1

I downloaded dev-cpp and was able to get it working, without using any converting program. Dev-Cpp is just an IDE built on top of MinGW, so use the makefile from that... i do think i had to drop a makefile short a directory or some shit and invoke it by hand like \"mingw32-make -f makefile.mingw\" something along them lines.. perhaps thats cuz im stupid tho.

Peace

reply to this message

#13: ..

by PlateWolf on 08/13/2006 02:06

I keep getting a 'C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lz' error.

Anyone seen this before ?

Thanx.

reply to this message

#14: Re: ..

by pushplay on 08/13/2006 23:46, refers to #13

It can't find libz.a. -L should point to the folder it's in.

reply to this message

#15: ..

by PlateWolfAwayFromHome on 08/14/2006 14:18

Thanx, I'll give another try when I get home

reply to this message

#16: problem

by maximusDM on 08/16/2006 23:46

have a small problem
I only want to modify one parameter in the file monster.h in order to modify somehow thegameplay. I tried and i ran the make.mingw.bat file supplied but i get an error "cannot find path ..." and "mingw32-make is not recognized as internal or external command ..."
What can i do in order to make this small modification to the game ?

I already made/edit some small mods for quake1 using proqcc to compile/ decompile(very easy for a newbie like me)but at this time i cant compile anymore using the utility included

reply to this message

#17: Re: problem

by pushplay on 08/19/2006 05:10, refers to #16

Put it in your path.

reply to this message

#18: Re: problem

by maximusDM on 08/19/2006 10:53, refers to #17

Sorry, i didnt got the point !

Where to put the make.mingw.bat and how to edit it ???

Thanks!

reply to this message

#19: Re: problem

by pushplay on 08/20/2006 08:15, refers to #18

No, mingw32-make must be in your system path. If you don't know what either of those are use google.

reply to this message

#20: cannot find -lz error

by ethan592 on 08/20/2006 19:47

having the cannot find -lz error with that backport. help?

reply to this message

#21: wow...

by c0rdawg on 08/20/2006 21:37

just a few lines above your post is the answer to your question...
"It can't find libz.a. -L should point to the folder it's in."

reply to this message

#22: Re: wow...

by Quin on 08/25/2006 03:02, refers to #21

On that note, it helps to install the zlib devpak too, y'know :)

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index   


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


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