Home > Back-end >  GlutInit cannot resolve external symbols, the symbol referenced in the main () function
GlutInit cannot resolve external symbols, the symbol referenced in the main () function

Time:09-18

Runtime error, this should be how do ah?

CodePudding user response:

Link could not find the library need to file,

CodePudding user response:

You didn't connect glut xx. Lib.
Opengl32. Lib and glu32. Lib, glaux lib, glut. Lib

CodePudding user response:

Opengl32. Lib and glu32. Lib, glut. Some lib, run only when an error

CodePudding user response:

For loading and dynamic library calls, please refer to the
"VS2015 dynamic library the Win32 of programming the use of dynamic libraries (under)"
Wish I could help you!

CodePudding user response:

When the tip is clearly link error.

CodePudding user response:

You this is a link error, not a runtime error, related to the OpenGL library link in can

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- a delicate small tail -- -- --
https://bbs.gnsoft.ltd
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

CodePudding user response:

reference lingyikong reply: 3/f
opengl32. Lib and glu32. Lib, glut. Some lib, run only when an error

Haven't completed this isn't the run times wrong, links, or lack of lib library, or libraries, this kind of situation is only found the function declaration but couldn't find the definition,

CodePudding user response:

What should do? Libraries are some, the 32-bit without error, a 64 - bit is not line, I have put the library in 64 is in the folder

CodePudding user response:

refer to the eighth floor lingyikong response:
what should do? Libraries are some, the 32-bit without error, 64 can't, I have already put the library in 64 that folder inside the

Library is not a 64 - bit, so do not match,
Another check, 64 links to external library path is right,
  • Related