简体   繁体   English

奇怪的“找不到入口点”错误

[英]Weird “Entry Point Not Found” error

I've been using the visual studio 2008 toolset to rebuild my project for compatibility reasons, and while it works perfectly fine with the 2012 toolset (v110), after building with 2008 (v90) I got this weird message when running my program. 出于兼容性原因,我一直在使用Visual Studio 2008工具集来重建我的项目,尽管它与2012工具集(v110)完美配合,但是在使用2008(v90)进行构建后,我在运行程序时得到了这个奇怪的消息。

"The procedure entry point __GLEW_VERSION_2_1 could not be located in the dynamic link library OpenAL32.dll" “无法在动态链接库OpenAL32.dll中找到过程入口点__GLEW_VERSION_2_1”

As you may know, GLEW and OpenAL are completely different unrelated libraries. 如您所知,GLEW和OpenAL是完全不同的无关库。

The libraries I am linking against are: 我要链接的库是:

-OpenAL -ALUT -OpenGL -libvorbisfile -SDL -SDLmain -OpenAL -ALUT -OpenGL -libvorbisfile -SDL -SDLmain

Any idea what could be causing this weird mixup? 知道是什么原因导致这种奇怪的混淆吗?

Just out of interest, does your main executable and library run under the same character set? 只是出于兴趣,您的主要可执行文件和库是否以相同的字符集运行? The amount of times I have developed a static library/DLL and a main application and run into this problem beggars belief. 我已经开发了一个静态库/ DLL和一个主应用程序,并且遇到了这个问题,这简直就是乞belief。 Essentially, all projects must use the same character set (UNICODE, ANSI). 本质上,所有项目都必须使用相同的字符集(UNICODE,ANSI)。 Might not be your problem but I thought I would try and help :-) 可能不是您的问题,但我想我会尽力帮助的:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM