[DiscordArchive] No, I was told to do the build directly, I thought it was strange, I did the same as during installa
[DiscordArchive] No, I was told to do the build directly, I thought it was strange, I did the same as during installa
Archived author: Exilium • Posted: 2023-09-18T15:06:52.880000+00:00
Original source
No, I was told to do the build directly, I thought it was strange, I did the same as during installation, I configured + generated?
Archived author: Exilium • Posted: 2023-09-18T15:18:50.956000+00:00
Original source
```
Generating project "game.vcxproj" completed -- FAILED.```
Archived author: Exilium • Posted: 2023-09-18T15:19:26.927000+00:00
Original source
```
Error LNK2019 unresolved external symbol "public: void __cdecl lfg::LFGMgr::ToggleSoloLFG(void)" (?ToggleSoloLFG@LFGMgr@lfg@@QEAAXXZ) referenced in function "public: virtual void __cdecl lfg_solo::OnLogin(class Player) *,bool)" (?OnLogin@lfg_solo@@UEAAXPEAVPlayer@@_N@Z) worldserver C:\Users\server\Desktop\Neltharius\Build\src\server\worldserver\scripts.lib(Lfg_Solo.obj) 1``` (and I used cmake before)
Archived author: Tea • Posted: 2023-09-18T15:21:51.677000+00:00
Original source
thats not strange to me, game failed to compile so worldserver (which depends on game) fails too
Archived author: M'Dic • Posted: 2023-09-18T15:23:19.496000+00:00
Original source
Usually when it failes for me like that its because of either cmake isnt ran or not being added in the scriptloader.
Archived author: Exilium • Posted: 2023-09-18T15:23:29.364000+00:00
Original source
so the main error is this?
Archived author: Exilium • Posted: 2023-09-18T15:24:13.422000+00:00
Original source
```cpp
void AddLfgSoloScripts();
// The name of this function should match:
// void Add${NameOfDirectory}Scripts()
void AddCustomScripts()
{
AddLfgSoloScripts();
}
```
Archived author: Exilium • Posted: 2023-09-18T15:24:50.824000+00:00
Original source
this is the scriptloader container
Archived author: M'Dic • Posted: 2023-09-18T15:25:58.396000+00:00
Original source
Close the solution. Open cmake. Delete the cmake cache, re-run cmake, and then open the solution and compile
Archived author: M'Dic • Posted: 2023-09-18T15:26:28.531000+00:00
Original source
If that doesnt work then either you messed up somewhere when refactoring. Like a missing include somewhere or something