FileOnQ / Imaging.Raw

4 stars 1 forks source link

Add README #16

Closed SkyeHoefling closed 2 years ago

SkyeHoefling commented 3 years ago

As of right now there is no README or basic documentation on how to use the library. While we are still in rapid development we should have some basic getting started guides for community members wanting to try this out.

Bett-A-Fish commented 2 years ago

source: https://github.com/LibRaw/LibRaw

for adding GNU license: https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository


Bett-A-Fish commented 2 years ago

need to run git submodule update --init --recursive or clone using git clone --recurse-submodules <link>

have the CUDA SDK installed: need version 11.4: https://developer.nvidia.com/cuda-11-4-3-download-archive restart. This version installs for VS2019. can find the location of the files using cmd vswhere -version 15.0 -find **\BuildCustomizations\CUDA*.props -version 15.0 looks at files for vs2019

add package to vs2019 install to include windows sdk version 10.0.18 and desktop for C++

Bett-A-Fish commented 2 years ago

running msbuild /p:Platform="x64" in developer cmd at the project root fixed my issues with lib files not being able to be opened

SkyeHoefling commented 2 years ago

Does it work if use the dotnet cli from a Visual Studio 2019 x64 developer command prompt?

Bett-A-Fish commented 2 years ago

running msbuild /p:Platform="x64" fixed this issue I was having: MicrosoftTeams-image

but I'm no longer having errors with the lib files and building normally now works fine for me.

Bett-A-Fish commented 2 years ago

Note on vswhere from: https://github.com/microsoft/vswhere

vswhere is included with the installer as of Visual Studio 2017 version 15.2 and later, and can be found at the following location: %ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe

update: vswhere comes with it but is not in path to be used directly. possible fix is to have the full path to get to it.

Bett-A-Fish commented 2 years ago

Need to update nuget FileOnQ.Imaging.Raw to latest prerelease version. (1.0.0-dev.19)

whenever the documentation mentions local does it actually mean this dev nuget? or is the local nuget something else?

kenny-sellers commented 2 years ago

@Bett-A-Fish You will not have to update the nuget package with the changes that I am working on currently. It will be creating a nuget package everytime a project is built and stored locally. That is what is it referring to.

Bett-A-Fish commented 2 years ago

dotnet build src/FileOnQ.Imaging.Heif/FileOnQ.Imaging.Heif.csproj works from the dev command prompt if normal cmd does not.

but the lib file error is still happening with a normal build.

Bett-A-Fish commented 2 years ago

the cuda sdk version i think installs for vs2019. might want to test if using vs2022 without a vs2019 install will work.