CytopiaTeam / Cytopia

:deciduous_tree::house_with_garden::office::evergreen_tree: A city building simulation game
https://www.cytopia.net
GNU General Public License v3.0
1.97k stars 105 forks source link

Someone can help me compile this project and use cmake. If you can, contact me at GitHub #1033

Open dd123-a opened 1 year ago

dd123-a commented 1 year ago

PermissionError: [Errno 13] Permission denied: b'C:\Users\DrTang\.conan\data\sdl\2.26.0\\.count.lock'

CMake Error at cmake-build-debug/_cmcm-modules/resolved/conan.cmake:651 (message): Conan install failed='1'

This is where I stopped running. I don't know how to run to the next step. All kinds of reasons here make it difficult for me to learn this project

dd123-a commented 1 year ago

now
This mistake has become another mistake ERROR: Invalid settings.yml format: module 'collections' has no attribute 'Hashable' CMake Error at cmake-build-debug/_cmcm-modules/resolved/conan.cmake:651 (message): Conan install failed='1'

dd123-a commented 1 year ago

ERROR: libiconv/1.17: Error in build() method, line 133 autotools.make() ConanException: Error 2 while executing make -j8

This mistake has changed to this

dd123-a commented 1 year ago
gcc -DHAVE_CONFIGH -DEXEEXT=\".exe\" -I. -I/c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib -I.. -I../lib -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -m64 -g -c -o libicrt_a-stat.o `test -f 'stat.c' echo '/c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/'`stat.c In file included from /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c:52: /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_stat_atimens閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:69:10: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 69 return STAT_TIMESPEC (st, st_atim).tv_nsec; ^~~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_stat_ctimens閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:82:10: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 82 return STAT_TIMESPEC (st, st_ctim).tv_nsec; ^~~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_stat_mtimens閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:95:10: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 95 return STAT_TIMESPEC (st, st_mtim).tv_nsec; ^~~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_statatime閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:121:10: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 121 return STAT_TIMESPEC (st, st_atim); ^~~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_statctime閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:135:10: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 135 return STAT_TIMESPEC (st, st_ctim); ^~~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_statmtime閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:149:10: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 149 return STAT_TIMESPEC (st, st_mtim); ^~~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h: 閸︺劌鍤遍弫鎵斥偓姒瀍t_statbirthtime閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:52:43: 闁挎瑨顕ら敍姝﹏valid use of undefined type 閳ユonst struct _stati64閳�? 52 # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) ^~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/stat-time.h:167:7: 闂勫嫭鏁為敍姝﹏ expansion of macro 閳ユソTAT_TIMESPEC閳�? 167 t = STAT_TIMESPEC (st, st_birthtim); ^~~~~ gcc -DHAVE_CONFIGH -DEXEEXT=\".exe\" -I. -I/c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib -I.. -I../lib -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -m64 -g -c -o libicrt_a-stat-time.o `test -f 'stat-time.c' echo '/c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/'`stat-time.c /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c: 閸︺劍鏋冩禒鏈电稊閻€劌鐓欓敍?/c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c:68:1: 闁挎瑨顕ら敍姝漮nflicting types for 閳ユΜpl_fstat閳�? have 閳ユnt(int, struct _stati64 *)閳�? 68 rpl_fstat (int fd, struct stat *buf) ^~~~~ In file included from /usr/include/time.h:158, from ./time.h:47, from /usr/include/sys/stat.h:9, from ./sys/stat.h:32, from /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c:25: ./sys/stat.h:955:1: 闂勫嫭鏁為敍姝眗evious declaration of 閳ユΜpl_fstat閳�?with type 閳ユnt(int, struct _stati64 *)閳�? 955 _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); ^~~~ /c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c: 閸︺劌鍤遍弫鎵斥偓姒琾lfstat閳ユ瑤鑵�: /c/users/drtang/.conan/data/libiconv/1.17//_/build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c:92:47: 鐠�锕�鎲¢敍姘炊闁巻鈧Ζrig_fstat閳ユ瑧娈戠粭?2 娑擃亜寮弫鐗堟閸︺劋绗夐崗鐓庮啇閻ㄥ嫭瀵氶柦鍫㈣閸ㄥ妫挎潪顒佸床 [-Wincompatible-pointer-types] 92 return stat_time_normalize (orig_fstat (fd, buf), buf); ^~~
struct _stati64 *
/c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c:35:34: 闂勫嫭鏁為敍姘舵付鐟曚胶琚崹瀣р偓姒畉ruct stat 閳ユ瑱绱濇担鍡楃杽閸欏倻娈戠猾璇茬�锋稉琛♀偓姒畉ruct _stati64 閳�? 35 orig_fstat (int fd, struct stat *buf)
~~~^
/c/users/drtang/.conan/data/libiconv/1.17///build/2e90c2fe2f69846019f521f2004427fb191035af/src/srclib/fstat.c:92:53: 鐠�锕�鎲¢敍姘炊闁巻鈧Ξtat_time_normalize閳ユ瑧娈戠粭?2 娑擃亜寮弫鐗堟閸︺劋绗夐崗鐓庮啇閻ㄥ嫭瀵氶柦鍫㈣閸ㄥ妫挎潪顒佸床 [-Wincompatible-pointer-types] 92 return stat_time_normalize (orig_fstat (fd, buf), buf); ^~~
struct _stati64 *

what the fucking the piece of shit

MartinX3 commented 10 months ago

Take a look here: https://aur.archlinux.org/packages/cytopia-git