volcoma / EtherealEngine

C++ Game Engine and Editor
BSD 2-Clause "Simplified" License
971 stars 159 forks source link

Error In Build #23

Closed mikrokode closed 6 years ago

mikrokode commented 6 years ago

error Hi, I am new in game programming and C++. When I built your game engine, i got the above two error. Could you help me to resolve it?

volcoma commented 6 years ago

Did you follow the build steps described in the info of the repo. Did you update submodules? This should not be the case as bgfx is defined as follows

bool init(
          RendererType::Enum _type = RendererType::Count
        , uint16_t _vendorId = BGFX_PCI_ID_NONE
        , uint16_t _deviceId = 0
        , CallbackI* _callback = NULL
        , bx::AllocatorI* _allocator = NULL
        );

Seems to me like you did not update submodules and are missing the whole bgfx lib. What version of visual studio are you using also? Minimum required is 2015.

mikrokode commented 6 years ago

hi,

I using VS2017 community version, i used the latest version of bgfx. so how can i solve it?

mikrokode commented 6 years ago

Hi,

After replacing the init method with your provided one, your game editor compiled successfully?