Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个 .dll(动态链接库)。使用这个库我想创建可执行文件。
但我想为.dll 提供与.exe 链接的绝对路径。因此,当我执行 .exe 时,它会与 .dll 链接。
我不想设置 PATH(环境变量),不想将 .dll 放入系统目录或可执行文件的同一目录中。我知道可以使用 -rpath 选项进入 linux。
我是 Windows 新手。我尝试在窗口中找到 rpath equal 选项,但我失败了。