NVIDIA / NVIDIA/AMGX

how to load library in a standard way

Open
#247 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cuda
Stars
692
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hello.
I am a beginner to use the AMGX library. My development environment includes VS, Win11, and CUDA v11.6. I have completed using the test case, and now I want to use this library in my own project. However, I am having trouble building it with static linking, as VS keeps giving me errors like "error LNK2001: unresolved external symbol __imp_AMGX_vector_set_zero". How can i fix it.

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 with the Visual Studio static-linking configuration for the AMGX build and compare it with the completed test case in the repository. The work is done when the user's own Windows 11 project using CUDA 11.6 builds without the unresolved __imp_AMGX_vector_set_zero symbol.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.