Modern open source game engine

 
pumkindonut
Topic Author
Posts: 2
Joined: Fri Jun 16, 2017 6:21 am

Master branch compilation error.

Fri Jun 16, 2017 6:29 am

Hi, thank you for the great engine. I'm very impressed by your clean code.


I failed to compile master branch. 
BansheeSL project has compile error.
How can I resolve it ?

==============================================

1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (77): error C3668: 'bs :: XscLog :: SubmitReport': 'override' takes precedence. Do not.
1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (198): error C2039: 'BufferType': is not a member of 'Xsc :: Reflection'
1> d: \ projects \ banshee \ source \ external \ xshadercompiler \ inc \ xsc \ reflection.h (24): Declare 'Xsc :: Reflection'
1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (198): error C2065: 'BufferType': undeclared identifier.
1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (198): error C2146: syntax error: ')'
1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (199): error C2143: syntax error: ';'
1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (199): error C2447: '{': function header missing. Is there a list of old style types?
(220): Error C2039: 'BufferType': is not a member of 'Xsc :: Reflection'. 1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp
1> d: \ projects \ banshee \ source \ external \ xshadercompiler \ inc \ xsc \ reflection.h (24): Declare 'Xsc :: Reflection'
1> d: \ projects \ banshee \ source \ bansheesl \ source \ bsslfxcompiler.cpp (220): error C2065: 'BufferType': undeclared identifier.
Last edited by pumkindonut on Fri Jun 16, 2017 9:08 am, edited 1 time in total.
 
User avatar
BearishSun
Banshee Developer
Posts: 64
Joined: Fri Sep 23, 2016 9:52 am

Re: Master branch compilation error.

Fri Jun 16, 2017 6:57 am

It appears one of the git submodules is out of date. Banshee build system is set up to automatically update them but this could have failed for some reason (do you have command-line git installed and globally accessible?)

To update the submodules manually run "git submodule update". Then delete the "Dependencies\Build" folder to force the dependencies to recompile. Finally, run the build again to recompile the out of date dependency.
 
pumkindonut
Topic Author
Posts: 2
Joined: Fri Jun 16, 2017 6:21 am

Re: Master branch compilation error.

Fri Jun 16, 2017 9:27 am

Thanks. Compiled successfully but crahsed :=(
 
User avatar
BearishSun
Banshee Developer
Posts: 64
Joined: Fri Sep 23, 2016 9:52 am

Re: Master branch compilation error.

Fri Jun 16, 2017 10:42 am

If you can, send me the crash log so I can track down the issue.

Who is online

Users browsing this forum: No registered users and 1 guest