cyberegoorg / cetech

Data driven game engine.
Creative Commons Zero v1.0 Universal
162 stars 26 forks source link

OSX build #165

Closed bagobor closed 7 years ago

bagobor commented 8 years ago
  1. mistyping in documentation: Generate project $ pthon build.py -g
~/d/g/cetech> python3 build.py -g
Runing Protobuild.exe.
Traceback (most recent call last):
  File "build.py", line 204, in <module>
    main()
  File "build.py", line 193, in main
    debug=args.debug)
  File "build.py", line 166, in make
    run_protobuild(config=config, platform_=platform_)
  File "build.py", line 155, in run_protobuild
    cmds.append(PLATFORMS_PROTOBUILD[platform_])
KeyError: 'darwin64'
OndraVoves commented 8 years ago

Hi =) Now is supported only Linux and Windows because i do not have mac computer. But if i have time i can write "blind" port.

bagobor commented 8 years ago

Can you provide some info so I can try to fix by myself?

OndraVoves commented 8 years ago

Make blind port in this (terrible) commit => 9f3da0ea03fe690605608f6c0aad366fe64c1af9 Before build you must build externals "python3 externals/externals.py -v"

bagobor commented 8 years ago

Error:

FileNotFoundError: [Errno 2] No such file or directory: '.libs/libnanomsg.so.4.0.0'

while building externals.

OndraVoves commented 8 years ago
  1. Find lib in externals/src/nanomsg/.libs
  2. on line 249 in externals/externals.yml change .libs/libnanomsg.so.4.0.0 and libnanomsg.so to right lib name
  3. on line 25 in Build/Projects/NNanomsg change libnanomsg.so change to right lib name
bagobor commented 8 years ago

I see .. I'll check all build script for same problems tonight. so -> dynlib and libraries naming are different for different platforms.

OndraVoves commented 8 years ago

Please can you fix it and send pull request?

bagobor commented 8 years ago

sure :)