make tools bug in 0.6.2
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
make tools bug in 0.6.2
The lines 650-652 of config.cpp generate a compilation error
for make_translation
(game_event.cpp is not in the dependancies of make_translation)
Michel.
for make_translation
(game_event.cpp is not in the dependancies of make_translation)
Michel.
make make_translation and
make merge_translations
does not work because the moving of files...
In utils/Makefile :
MAKE_TRANS_OBJS=../src/tools/make_translation.o src/config.o src/filesystem.o src/game_config.o src/l
In src/tools/make_translation.cpp
#include "../config.hpp"
But it doesnt compile:
make merge_translations
does not work because the moving of files...
In utils/Makefile :
MAKE_TRANS_OBJS=../src/tools/make_translation.o src/config.o src/filesystem.o src/game_config.o src/l
In src/tools/make_translation.cpp
#include "../config.hpp"
But it doesnt compile:
Code: Select all
lama@khiraly:~/wesnoth/utils$ make make_translation
g++ -g -O2 -Wall -DWESNOTH_PATH=\"/usr/local/share/games/wesnoth-data\" -I. -Isrc -Isrc/tools -Isrc/widgets `sdl-config --cflags` `freetype-config --cflags` -c ../src/tools/make_translation.cpp -o ../src/tools/make_translation.o
../src/tools/make_translation.cpp: In function `void process_config(const
std::string&, const config&, std::map<std::string, std::string,
std::less<std::string>, std::allocator<std::pair<const std::string,
std::string> > >&)':
../src/tools/make_translation.cpp:28: request for member `begin' in `
cfg->config::all_children() const', which is of non-aggregate type `<unknown
type>'
make: *** [../src/tools/make_translation.o] Error 1
lama@khiraly:~/wesnoth/utils$