bzfed help

Discussion, updates, modifications, etc for the various map editors...
Post Reply
User avatar
Army of One
Private First Class
Private First Class
Posts: 62
Joined: Tue Jan 25, 2005 1:11 am
Contact:

bzfed help

Post by Army of One »

Hi all, hopefully someone can help me-i am using suse linux 11.1, I would like to install bzfed on my linux machine-I usally use blender but my 8 year old would like to start making maps, since I don't have the time and his age I went to install bzfed but it won't install first it tells me it can't find autogen.sh, second-i can run the configure comand and all requirments are there gmome 2.+ gtk ect. but when i run the make comand it doesn't install can some one tell me what i am doing wrong or tell me how to get it to install. Here are the results from the make command, and su root make install command. Hopfully someone can help me-my son would love to start makeing maps. thanks in advanced. Thanks runic- I have done a lot of research on line-allthough i ended up getting a lot mor errors i searched them out and fixed them-however here is a error that i can't figure out can someone help me

Army of One PS-Tanks for the help- but now i get this error

texture_manager.h:21: error: ‘string’ is not a member of ‘std’
texture_manager.h:21: error: ‘string’ is not a member of ‘std’
texture_manager.h:21: error: template argument 1 is invalid
texture_manager.h:21: error: template argument 3 is invalid
texture_manager.h:21: error: template argument 4 is invalid
texture_manager.h:21: error: invalid type in declaration before ‘;’ token
model.cpp: In member function ‘virtual void LinkModel::render(bool, bool, double)’:
model.cpp:849: warning: deprecated conversion from string constant to ‘char*’
model.cpp:890: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [model.o] Error 1
make[2]: Leaving directory `/home/Todd/Documents/bzfed-0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Todd/Documents/bzfed-0.1'
make: *** [all] Error 2
Todd@linux-i5m5:~/Documents/bzfed-0.1>
Attachments
make_install_command.txt
Here are the results
(2.73 KiB) Downloaded 310 times
make_command.txt
Here are the results
(7.27 KiB) Downloaded 303 times
configure_command.txt
Here are the results
(2.11 KiB) Downloaded 329 times
Last edited by Army of One on Fri Oct 23, 2009 5:56 pm, edited 2 times in total.
Some times you see me-some times you don't--and DESTRUCTION is only moments away
User avatar
Runic
Private First Class
Private First Class
Posts: 23
Joined: Fri Jul 02, 2004 8:51 pm

Re: bzfed help

Post by Runic »

In your make_command.txt there are errors listed

The errors were:

Code: Select all

texture_manager.cpp: In destructor "TextureManager::~TextureManager()":
texture_manager.cpp:46: error: "free" was not declared in this scope
texture_manager.cpp: In member function "int TextureManager::load(const char*, bool)":
texture_manager.cpp:55: error: "malloc" was not declared in this scope
texture_manager.cpp: In member function "bool TextureManager::flush(int)":
texture_manager.cpp:150: error: "free" was not declared in this scope
texture_manager.cpp: In member function "int TextureManager::loadBMP(const char*, TextureInfo*, bool)":
texture_manager.cpp:185: error: "malloc" was not declared in this scope
texture_manager.cpp:210: error: "free" was not declared in this scope
texture_manager.cpp: In member function "int TextureManager::loadTGA(const char*, TextureInfo*, bool)":
texture_manager.cpp:285: error: "free" was not declared in this scope
You should have stopped here and fixed the error and retried running "make" before trying to doing "make install"

To correct you need to add the missing include statement towards the top of texture_manager.cpp

Add this to the list of includes at the top of texture_manager.cpp :
(you can use any text editor)

Code: Select all

#include <stdlib.h>
Save the change and try running "make" again. Always check for errors, if there are no errors then run "make install"
BZFlag ROCKS!!!
Post Reply