Giter VIP home page Giter VIP logo

Comments (3)

wini3d avatar wini3d commented on July 1, 2024

Hi, so currently you can't run the samples on Windows? builds ok now with MinGW, but getting these errors:

[E][RSRC] Failed to load resource: programs/DeferredShading.ankiprog (C:/anki3d/src/anki/resource/ResourceManager.inl.h:
42 loadResource)
[E][R   ] Failed to initialize image reflections (C:\anki3d\src\anki\renderer\Indirect.cpp:60 init)
[E][R   ] Failed to initialize the renderer (C:\anki3d\src\anki\renderer\Renderer.cpp:71 init)
[I][R   ] Destroying main renderer (C:\anki3d\src\anki\renderer\MainRenderer.cpp:30 ~MainRenderer)
[E][CORE] App initialization failed (C:\anki3d\src\anki\core\App.cpp:136 init)
[E][N/A ] Error reported. To run ..\..\build\samples\sponza\sponza.exe you have to navigate to the /path/to/anki/samples
/sponza. And then execute it (C:\anki3d\samples\sponza\Main.cpp:40 main)

thanks.

from anki-3d-engine.

godlikepanos avatar godlikepanos commented on July 1, 2024

Hi,

Sorry for the late update (was away). Can you pull the latest commit and try again? I've added more helpful error messages.

from anki-3d-engine.

wini3d avatar wini3d commented on July 1, 2024

no worries and just got back to this. I cloned the latest and here's what I got:


C:\anki\samples\simple_scene>C:/anki/build/bin/simple_scene
[I][CORE] Using settings dir "C://Users/home/.anki" (C:\anki\src\anki\core\App.cpp:329 initDirs)
[I][CORE] Initializing application (version 0.1, optimized, NO dbg symbols, NO extra checks, compiler gcc 5.1.0, build d
ate Oct 18 2017, commit 5e947ce) (C:\anki\src\anki\core\App.cpp:180 initInternal)
[I][CORE] Number of main threads: 4 (C:\anki\src\anki\core\App.cpp:197 initInternal)
[I][CORE] Creating SDL window. SDL version 2.0 (C:\anki\src\anki\core\NativeWindowSdl.cpp:28 init)
[I][CORE] SDL window created (C:\anki\src\anki\core\NativeWindowSdl.cpp:81 init)
[I][GL  ] Creating GL 4.5 context... (C:\anki\src\anki\gr\gl\GrManagerImplSdl.cpp:40 createContext)
[I][GL  ] OpenGL async thread started: OpenGL version "4.5.0 NVIDIA 368.69", GLSL version "4.50 NVIDIA" (C:\anki\src\ank
i\gr\gl\RenderingThread.cpp:185 prepare)
[I][GL  ] GPU vendor is NVIDIA (C:\anki\src\anki\gr\gl\GlState.cpp:112 initRenderThread)
[I][GL  ] Found GL_ARB_shader_ballot (C:\anki\src\anki\gr\gl\GlState.cpp:190 initRenderThread)
[I][RSRC] Added new data path "." that contains 11 files (C:\anki\src\anki\resource\ResourceFilesystem.cpp:329 addNewPat
h)
[I][RSRC] Added new data path "../.." that contains 9401 files (C:\anki\src\anki\resource\ResourceFilesystem.cpp:329 add
NewPath)
[I][RSRC] Will use 384MB of memory for transfer scratch (C:\anki\src\anki\resource\TransferGpuAllocator.cpp:99 init)
[I][R   ] Initializing main renderer (C:\anki\src\anki\renderer\MainRenderer.cpp:42 create)
[I][R   ] Initializing offscreen renderer. Size 1366x768 (C:\anki\src\anki\renderer\Renderer.cpp:82 initInternal)
[I][R   ] Initializing image reflections (C:\anki\src\anki\renderer\Indirect.cpp:55 init)
 (C:\anki\src\anki\resource\ShaderLoader.cpp:93 parseSource)
[E][RSRC] Failed to load resource: programs/DeferredShading.ankiprog (C:/anki/src/anki/resource/ResourceManager.inl.h:42
 loadResource)
[E][R   ] Failed to initialize image reflections (C:\anki\src\anki\renderer\Indirect.cpp:60 init)
[E][R   ] Failed to initialize the renderer (C:\anki\src\anki\renderer\Renderer.cpp:71 init)
[I][R   ] Destroying main renderer (C:\anki\src\anki\renderer\MainRenderer.cpp:30 ~MainRenderer)
[E][CORE] App initialization failed (C:\anki\src\anki\core\App.cpp:136 init)
[E][N/A ] Error reported. Bye! (C:\anki\samples\simple_scene\Main.cpp:36 main)

C:\anki\samples\simple_scene>

from anki-3d-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.