We help IT Professionals succeed at work.
Get Started

CUDA - Link unresolved externals      .exe even after link the libraries

319 Views
Last Modified: 2015-04-17
I am new in using CUDA my attempts to build and run some examples that I found went all bad because of linking error I try to solve them but I got these two errors which won't solve with me even after adding the necessary libraries in Linker->input.

glew64.lib;glut32.lib;glew32.lib;freeglut.lib;cudart.lib

Error   2   error LNK1120: 1 unresolved externals   D:\IUPUI\CSCI50400\CUDA\volumeRenderA\Debug\volumeRenderA.exe   volumeRenderA
Error   1   error LNK2019: unresolved external symbol __imp__glutCloseFunc@4 referenced in function _main   D:\IUPUI\CSCI50400\CUDA\volumeRenderA\volumeRenderA\volumeRender.obj    volumeRenderA

Open in new window

VolumeRender.jpg
LinkerInput.jpg
Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2016
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE