Issue referencing a library within a cloned GitHub project
Hi all, I know this sounds quite silly and probably is..
I have been struggling to reference the namespace "DirectXTex" in: https://github.com/Neodymium146/gta-toolkit/blob/master/RageLib/Helpers/DDSIO.cs
From what I see/know. DirectXTex is a c++ library of sorts to process DDS files (an image format used in game textures).
The library source code is included in the repo: https://github.com/Neodymium146/gta-toolkit/tree/master/Libraries/DirectXTex
However, I cannot for the life of me get DirectXTex referenced properly in my cloned copy of GTA-Toolkit/TextureTool.
I also have a build of TextureTool, which included the DirectXTex.dll, however this is not seen as valid when attempting to add a reference in C#.
Could someone please help me out here? Apologies for my horrible explination.
7 Replies
The library is included within the Solution too, but no luck.
I just found an option to right click "DirectXTex" within the solution explorer and it had a "Build" option, upon building it seemed like nothing had happened, however a .log file was dropped in "gta-toolkit\Libraries\DirectXTex\Debug" - I have attached the contents here and will be researching it now.
I'm pretty much live solving my issue right now, but posting my progress here incase I take a wrong turn and someone notices and can help me :kekw:
I've attempted to retarget DirectXTex, and it seems to successfully retarget
however. i'm still left with this log file when building the library.
any help would be appreciated.
Issue resolved. My dumbass didn't have c++ build tools installed for Visual Studios.
Thanks for witnessing folks.