小编Kac*_*per的帖子

Qt应用程序是否需要来自最终用户的附加库?像C#和.NET Framework?

我正在将我的游戏启动器和更新程序从C#移动到另一种语言和框架,因为C#需要.NET Framework(很多玩家都有安装和东西问题).

Qt是否需要一些用户在运行我的应用程序之前必须安装的其他库?

c++ qt frameworks requirements

5
推荐指数
1
解决办法
560
查看次数

std :: unordered_map和链接器错误

我在编译新项目时遇到了一些问题.

编译器输出:

1>------ Build started: Project: IRPCore, Configuration: Debug Win32 ------
1>  core.cpp
1>     Creating library D:\Repo\Inter Role Play Gamemode\sa-mp-0.2-plugin-sdk\IRP\Debug\IRPCore.lib and object D:\Repo\Inter Role Play Gamemode\sa-mp-0.2-plugin-sdk\IRP\Debug\IRPCore.exp
1>core.obj : error LNK2001: unresolved external symbol "public: static class std::tr1::unordered_map<int,struct item,class std::hash<int>,struct std::equal_to<int>,class std::allocator<struct std::pair<int const ,struct item> > > core::itemCache" (?itemCache@core@@2V?$unordered_map@HUitem@@V?$hash@H@std@@U?$equal_to@H@3@V?$allocator@U?$pair@$$CBHUitem@@@std@@@3@@tr1@std@@A)
1>main.obj : error LNK2001: unresolved external symbol "public: static class std::tr1::unordered_map<int,struct item,class std::hash<int>,struct std::equal_to<int>,class std::allocator<struct std::pair<int const ,struct item> > > core::itemCache" (?itemCache@core@@2V?$unordered_map@HUitem@@V?$hash@H@std@@U?$equal_to@H@3@V?$allocator@U?$pair@$$CBHUitem@@@std@@@3@@tr1@std@@A)
1>D:\Repo\Inter Role Play Gamemode\sa-mp-0.2-plugin-sdk\IRP\Debug\IRPCore.dll : fatal error LNK1120: …
Run Code Online (Sandbox Code Playgroud)

c++ dll linker

1
推荐指数
2
解决办法
1993
查看次数

标签 统计

c++ ×2

dll ×1

frameworks ×1

linker ×1

qt ×1

requirements ×1