即使我以发布模式构建exe文件,当我尝试在另一台PC上执行程序时,仍会出现DLL未找到的错误。因此,我需要找出程序需要哪些dll,并将它们与exe文件一起复制。但我似乎无法弄清楚如何查找程序使用了哪些dll。
#include "SDL.h"
#include "SDL_image.h"
#include "SDL_ttf.h"
#include "SDL_mixer.h"
#include <string>
#include "head.h"
#include <cstdlib>
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <windows.h>
我相当确定它所需的dll基于包含的内容,因此以下是它们。我知道SDL库使用了哪些,但其他的我就不清楚了。