![]() |
|
Windows Server Source by pwesty - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: General Support (https://lckb.dev/forum/forumdisplay.php?fid=203) +----- Thread: Windows Server Source by pwesty (/showthread.php?tid=4699) |
- Groby - 01-14-2017 HI can someone help me pls i will compile the source but i have this error 1>------ Build started: Project: Helper, Configuration: PGMAN_USA Win32 ------ 1>Build started 14.01.2017 19:27:14. 1>InitializeBuildStatus: 1> Touching ".\Helper___Win32_PGMAN_USA\Helper.unsuccessfulbuild". 1>ClCompile: 1> All outputs are up-to-date. 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Server\Helper\.\Helper___Win32_PGMAN_USA\Helper.exe) does not match the Linker's OutputFile property value (C:\Server\Helper\Helper.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 1>Link: 1> ShareLib.lib(logsystem.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_real_query@12 1>CmdMsg.obj : error LNK2001: unresolved external symbol _mysql_real_query@12 1>doFuncChangeBoss.obj : error LNK2001: unresolved external symbol _mysql_real_query@12 1>doFuncCommand.obj : error LNK2001: unresolved external symbol _mysql_real_query@12 1>GuildStash.obj : error LNK2001: unresolved external symbol _mysql_real_query@12 1>doFuncCommand.obj : error LNK2001: unresolved external symbol _mysql_free_result@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4 1>doFuncCommand.obj : error LNK2001: unresolved external symbol _mysql_insert_id@4 1>doFuncCommand.obj : error LNK2001: unresolved external symbol _mysql_error@4 1>Server.obj : error LNK2001: unresolved external symbol _mysql_error@4 1>Syndicate.obj : error LNK2001: unresolved external symbol _mysql_error@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_error@4 1>doFuncCommand.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 1>Server.obj : error LNK2001: unresolved external symbol _mysql_init@4 1>Server.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32 1>Server.obj : error LNK2001: unresolved external symbol _mysql_close@4 1>Server.obj : error LNK2001: unresolved external symbol _mysql_ping@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_fetch_fields@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_data_seek@12 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_fetch_row@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_store_result@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_num_fields@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_affected_rows@4 1>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_num_rows@4 1>Helper.exe : fatal error LNK1120: 16 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:05.26 2>------ Build started: Project: SubHelper, Configuration: WORLD_TOURNAMENT Win32 ------ 2>Build started 14.01.2017 19:27:19. 2>InitializeBuildStatus: 2> Touching ".\SubHelper___Win32_WORLD_TOURNAMENT0\SubHelper.unsuccessfulbuild". 2>ClCompile: 2> All outputs are up-to-date. 2>ManifestResourceCompile: 2> All outputs are up-to-date. 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Server\SubHelper\.\SubHelper___Win32_WORLD_TOURNAMENT0\SubHelper.exe) does not match the Linker's OutputFile property value (C:\Server\SubHelper\SubHelper.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 2>Link: 2> ShareLib.lib(logsystem.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 2>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification 2>doFuncCommand.obj : error LNK2001: unresolved external symbol _mysql_real_query@12 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_real_query@12 2>doFuncTradeAgent.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 2>RankingSystem.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 2>Server.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string@16 2>RankingSystem.obj : error LNK2001: unresolved external symbol _mysql_init@4 2>Server.obj : error LNK2001: unresolved external symbol _mysql_init@4 2>RankingSystem.obj : error LNK2001: unresolved external symbol _mysql_close@4 2>Server.obj : error LNK2001: unresolved external symbol _mysql_close@4 2>RankingSystem.obj : error LNK2001: unresolved external symbol _mysql_error@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_error@4 2>RankingSystem.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32 2>Server.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32 2>ReservedGmCommandManager.obj : error LNK2001: unresolved external symbol _mysql_free_result@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_free_result@4 2>ReservedGmCommandManager.obj : error LNK2001: unresolved external symbol _mysql_escape_string@12 2>Server.obj : error LNK2001: unresolved external symbol _mysql_ping@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_fetch_fields@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_data_seek@12 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_fetch_row@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_store_result@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_num_fields@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_affected_rows@4 2>ShareLib.lib(DBCmd.obj) : error LNK2001: unresolved external symbol _mysql_num_rows@4 2>SubHelper.exe : fatal error LNK1120: 16 unresolved externals 2> 2>Build FAILED. 2> Messenger work .but this error ... thanks guys - Karmel - 01-14-2017 Project Properties > Linker > Input > Additional Dependencies > mysqlclient.lib You are trying to build in configuration PGMAN_USA / WORLD_TOURNAMENT, source is configured for USA, as we see in that screen 2 - Groby - 01-14-2017 Thans its work ![]() - pwesty - 01-14-2017 Project Properties > Linker > Input > Additional Dependencies > mysqlclient.lib You are trying to build in configuration PGMAN_USA / WORLD_TOURNAMENT, source is configured for USA, as we see in that screen 2 it builds in PGMAN ^^ the configuration manager is set to build how i have it...This is just how barunson had it setup up so i left it You can build USA on all of them if you wanted to - Groby - 01-14-2017 hmm next error :mellow: help me pls C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Server\Helper\.\Helper___Win32_PGMAN_USA\Helper.exe) does not match the Linker's OutputFile property value (C:\Server\Helper\Helper.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 1>LINK : fatal error LNK1104: cannot open file 'C:\Server\PGMAN_USA\.obj' C:\Server\PGMAN_USA\ i have wat is .obj ?? :wacko: - Karmel - 01-14-2017 Need to have same path there: Project Properties > General > Output Directory // ex. "$(SolutionDir)$(Configuration)\" Project Properties > General > Target Name // ex. "$(ProjectName)" Project Properties > General > Target Extension // ex. ".exe" and there: Project Properties > Linker > General > Output File // ex. "$(SolutionDir)$(Configuration)\$(ProjectName).exe" - pwesty - 01-15-2017 Need to have same path there: Project Properties > General > Output Directory // ex. "$(SolutionDir)$(Configuration)\" Project Properties > General > Target Name // ex. "$(ProjectName)" Project Properties > General > Target Extension // ex. ".exe" and there: Project Properties > Linker > General > Output File // ex. "$(SolutionDir)$(Configuration)\$(ProjectName).exe" the changes really weren't needed if he followed the instructions i gave he'd not have a problem :/ ![]() - Groby - 01-15-2017 Thanks guys for help i have it wrong Linked ^^ my bad ![]() - Nymphetamine - 01-15-2017 Locked. |