Giter Site home page Giter Site logo

catalyst's Introduction

catalyst's People

Contributors

ewanburnett avatar

Watchers

 avatar

catalyst's Issues

Using x86 DirectX SDK Libraries instead of x64 libraries

The Library Machine Type of d3d11.lib and d3dcompiler.lib are both set to x86, as they are being loaded from the DirectX SDK path's x86 directory.
Changing CMakeLists.txt's find_library command appropriately
find_library(D3D11_LIB d3d11.lib PATHS "$ENV{DXSDK_DIR}/Lib/x64" "C:/Program Files (x86)/Microsoft DirectX SDK/Lib/x64" DOC "The directory where d3d11.lib resides")
still results in the x86 directory being returned.

using FIND_LIBRARY_USE_LIB64_PATHS could be a solution to this, though it's not a critical issue, it would be good to resolve quickly to avoid other conflicts later down the line.

Error C1083 with FX11/inc/d3dx11effect.h

Building the library succeeds, but when building the Catalyst project, error C1083 is reported:
Catalyst\Engine\inc\Graphics\Backends\..\..\IO\ResourcePool.h(3,10): fatal error C1083: Cannot open include file: 'd3dx11effect.h': No such file or directory

Assumedly this is because these headers are private to the Catalyst-Engine project, but when changing the visibility, a number of linker errors is reported instead.

1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1094,5): error MSB6006: "link.exe" exited with code 1120.
1>Catalyst-Engine.lib(DX11_GFX.obj) : error LNK2019: unresolved external symbol D3D11CreateDevice referenced in function "void __cdecl CreateDX11Device(class Microsoft::WRL::ComPtr<struct ID3D11Device> &,enum D3D_FEATURE_LEVEL *,class Microsoft::WRL::ComPtr<struct ID3D11DeviceContext> &)" (?CreateDX11Device@@YAXAEAV?$ComPtr@UID3D11Device@@@WRL@Microsoft@@PEAW4D3D_FEATURE_LEVEL@@AEAV?$ComPtr@UID3D11DeviceContext@@@23@@Z)
1>Catalyst-Engine.lib(DX11_GFX.obj) : error LNK2019: unresolved external symbol D3DReadFileToBlob referenced in function "class Microsoft::WRL::ComPtr<struct ID3D10Blob> __cdecl CompileShader(enum Engine::EShaderType)" (?CompileShader@@YA?AV?$ComPtr@UID3D10Blob@@@WRL@Microsoft@@W4EShaderType@Engine@@@Z)
1>Catalyst-Engine.lib(DX11_GFX.obj) : error LNK2019: unresolved external symbol D3DCompileFromFile referenced in function "class Microsoft::WRL::ComPtr<struct ID3D10Blob> __cdecl CompileShader(enum Engine::EShaderType)" (?CompileShader@@YA?AV?$ComPtr@UID3D10Blob@@@WRL@Microsoft@@W4EShaderType@Engine@@@Z)
1>Effects11.lib(EffectAPI.obj) : error LNK2001: unresolved external symbol D3DCompileFromFile
1>Effects11.lib(EffectAPI.obj) : error LNK2019: unresolved external symbol D3DCompile referenced in function D3DX11CompileEffectFromMemory
1>Effects11.lib(EffectLoad.obj) : error LNK2019: unresolved external symbol D3DReflect referenced in function "protected: long __cdecl D3DX11Effects::CEffectLoader::BuildShaderBlock(struct D3DX11Effects::SShaderBlock *)" (?BuildShaderBlock@CEffectLoader@D3DX11Effects@@IEAAJPEAUSShaderBlock@2@@Z)
1>Effects11.lib(EffectLoad.obj) : error LNK2019: unresolved external symbol D3DGetBlobPart referenced in function "protected: long __cdecl D3DX11Effects::CEffectLoader::BuildShaderBlock(struct D3DX11Effects::SShaderBlock *)" (?BuildShaderBlock@CEffectLoader@D3DX11Effects@@IEAAJPEAUSShaderBlock@2@@Z)

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.