Failing to compile

Added by kaelari over 2 years ago

Following directions here: http://dev.ryzom.com/projects/ryzom/wiki/BuildForLinuxCmake

keeps dying with:

[ 0%] [ 0%] [ 0%] Built target ryzom_client_patcher_pch
Built target ryzom_aishare_pch
Built target ryzom_servershare_pch
[ 0%] [ 0%] [ 0%] [ryzom_entities_game_service] Update precompiled header - done
[build_world_packed_col] Update precompiled header - done
[ryzom_ai_service] Update precompiled header - done
[ 0%] [ 0%] [ 0%] Generating ryzom_entities_game_service_pch
Generating build_world_packed_col_pch
Generating ryzom_ai_service_pch
In file included from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/entities_game_service/ryzom_entities_game_service_pch/stdpch.h:43:0:
/home/kaelari/ryzom/ryzomcore/code/nel/include/nel/georges/load_form.h:112:37: warning: multi-character character constant [-Wmultichar]
/home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/ai_service/ryzom_ai_service_pch/stdpch.h:177:34: fatal error: ../ai_share/ai_event.h: No such file or directory
compilation terminated.
In file included from /home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_lib.h:23:0,
from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/entities_game_service/ryzom_entities_game_service_pch/stdpch.h:185:
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_utils.h:717:25: warning: multi-character character constant [-Wmultichar]
In file included from /home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_lib.h:25:0,
from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/entities_game_service/ryzom_entities_game_service_pch/stdpch.h:185:
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_messages.h:1439:24: warning: multi-character character constant [-Wmultichar]
make2: * [ryzom/server/src/ai_service/ryzom_ai_service_pch/stdpch.h.gch] Error 1
make1:
[ryzom/server/src/ai_service/CMakeFiles/ryzom_ai_service_pch.dir/all] Error 2
make1:
Waiting for unfinished jobs....
[ 0%] Built target build_world_packed_col_pch
[ 0%] Built target ryzom_entities_game_service_pch
make: *
[all] Error 2

I've tried re-downloading the whole thing, made sure all the requirements were there. Everything seems ok but something is clearly wrong...
Any help would be much appreciated.


Replies (4)

RE: Failing to compile - Added by kervala over 2 years ago

Hi,

That's useless to redownload all if you didn't change anything in sources.

I just did a change that should fix your problem.

Just do :

hg pull && hg update

and you should be able to resume compilation.

RE: Failing to compile - Added by kaelari over 2 years ago

well I thought maybe something might have messed up in the download somehow since it was complaining about a missing file... still getting errors

In file included from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/entities_game_service/ryzom_entities_game_service_pch/stdpch.h:43:0:
/home/kaelari/ryzom/ryzomcore/code/nel/include/nel/georges/load_form.h:112:37: warning: multi-character character constant [-Wmultichar]
/home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/frontend_service/ryzom_frontend_service_pch/stdpch.h:70:22: fatal error: fe_types.h: No such file or directory
compilation terminated.
In file included from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/ai_service/ryzom_ai_service_pch/stdpch.h:191:0:
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/ai_share/world_map.h:1642:25: warning: multi-character character constant [-Wmultichar]
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/ai_share/world_map.h:1645:23: warning: multi-character character constant [-Wmultichar]
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/ai_share/world_map.h:1647:33: warning: multi-character character constant [-Wmultichar]
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/ai_share/world_map.h:2288:24: warning: multi-character character constant [-Wmultichar]
In file included from /home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_lib.h:23:0,
from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/entities_game_service/ryzom_entities_game_service_pch/stdpch.h:185:
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_utils.h:717:25: warning: multi-character character constant [-Wmultichar]
In file included from /home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_lib.h:25:0,
from /home/kaelari/ryzom/ryzomcore/code/build/ryzom/server/src/entities_game_service/ryzom_entities_game_service_pch/stdpch.h:185:
/home/kaelari/ryzom/ryzomcore/code/ryzom/server/src/pd_lib/pd_messages.h:1439:24: warning: multi-character character constant [-Wmultichar]
make2: * [ryzom/server/src/frontend_service/ryzom_frontend_service_pch/stdpch.h.gch] Error 1
make1:
[ryzom/server/src/frontend_service/CMakeFiles/ryzom_frontend_service_pch.dir/all] Error 2
make1:
Waiting for unfinished jobs....
[ 0%] Built target ryzom_ai_service_pch
[ 0%] Built target ryzom_entities_game_service_pch
make: *
[all] Error 2

RE: Failing to compile - Added by kervala over 2 years ago

If you don't want to have errors with PCH, you can simply disable them until they're entirely fixed using : -DWITH_PCH=OFF on CMake command line

RE: Failing to compile - Added by kaelari over 2 years ago

Thanks seems to have worked. compiled without dying anyways.

(1-4/4)