64位的EXE崩溃的Visual Studio之外,但在Visual Studio中工作 [英] 64 bit exe crashing outside visual studio but working inside visual studio
问题描述
我编译使用freeglut,Optix公司,CUDA和其他库(其中一些dinamically加载)的程序。它编译和运行,而不在Visual Studio中的问题,但它崩溃,如果我的Visual Studio之外执行它。这两个版本和调试版本在VS上的Windows 8的工作,他们都崩溃,没有任何信息,如果我尝试直接执行它们。
I compiled a program using freeglut, optix, cuda and other libraries (some of them dinamically loaded). It compiles and runs without problems in Visual Studio but it crashes if I execute it outside Visual Studio. Both release and debug versions work within VS, they both crash without any information on Windows 8 if I try to execute them directly.
我已经包括了所有必要的DLL,没有工作。
I already included all the necessary DLLs, that didn't work.
这可能是什么问题?
推荐答案
您可以尝试比较Visual Studio和默认环境之间的环境。
You can try comparing the environments between visual studio and the default environment.
的Dependency Walker 应确定任何缺少的DLL。
Dependency walker should identify any missing DLLs.
这篇关于64位的EXE崩溃的Visual Studio之外,但在Visual Studio中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!