ciubotaru / feud Goto Github PK
View Code? Open in Web Editor NEWa turn-based military and political strategy game written in C
License: GNU General Public License v3.0
a turn-based military and political strategy game written in C
License: GNU General Public License v3.0
so if I run
./configure --prefix=/Users/emanueleianni/personal/feud/compiledgame
make
I have
file.c:8:10: fatal error: 'endian.h' file not found
that can be fixed doing
#include <machine/endian.h>
Once I fixed that I have many warnings like
gcc -c -g -O2 file.c -o file.o
file.c:83:15: warning: implicit declaration of function 'be16toh' is invalid in C99 [-Wimplicit-function-declaration]
set_gametime(be16toh(year_be), mon);
^
file.c:109:27: warning: implicit declaration of function 'be16toh' is invalid in C99 [-Wimplicit-function-declaration]
uint16_t nr_characters = be16toh(nr_characters_be);
^
file.c:165:24: warning: implicit declaration of function 'be16toh' is invalid in C99 [-Wimplicit-function-declaration]
uint16_t nr_regions = be16toh(nr_regions_be); /* global var */
and
gcc -g -O2 -o feud map.o character.o dice.o diplomacy.o piece.o time.o file.o window.o voronoi.o world.o feud.o -lncurses -lm
Undefined symbols for architecture x86_64:
"_be16toh", referenced from:
_deserialize_game_metadata in file.o
_deserialize_characterlist in file.o
_deserialize_regionlist in file.o
_deserialize_grid in file.o
_deserialize_pieces in file.o
_deserialize_feudal in file.o
_deserialize_heir in file.o
...
"_htobe16", referenced from:
_serialize_game_metadata in file.o
_serialize_characterlist in file.o
_serialize_regionlist in file.o
_serialize_grid in file.o
_serialize_pieces in file.o
_serialize_feudal in file.o
_serialize_heir in file.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [feud] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.