64位的EXE崩溃的Visual Studio之外,但在Visual Studio中工作但在、工作、EXE、Studio

2023-09-08 10:39:11 作者:来瓶敌敌畏

我编译使用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.

 
精彩推荐
图片推荐