NVIDIA / NVIDIA/nvapi

Thousands of C2059 Visual Studio C++

Open
#4 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
239
Forks
39
PR merge metrics
No merged PRs in 30d

Description

I added the includes and references of NVMAPI-Main folder and I added the reference folder of amd64 for my 64 bit machine. it displays thousands of compile errors C2059 on NVAPI_INTERFACE . There are 0 instructions on how to setup NVAPI for my IDE

#include "nvapi.h"
#include "NvApiDriverSettings.h"
#include <stdlib.h>
#include <stdio.h>
#include <iostream> 

#pragma comment(lib, "nvapi64.lib")

int main()
{
    std::cout << "Hello World!\n";
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the NVAPI setup around NVMAPI-Main, nvapi.h, NvApiDriverSettings.h, the amd64 reference folder, and nvapi64.lib in Visual Studio. Clarify the required include and library configuration, then document the setup steps and verify that the provided sample builds without the reported C2059 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.