flwl / cppgamelauncher Goto Github PK
View Code? Open in Web Editor NEWA game launcher/updater/patcher written in C++ for the Windows platform.
License: MIT License
A game launcher/updater/patcher written in C++ for the Windows platform.
License: MIT License
I have gone through all the steps in trying to compile this. I kept getting errors and once those are fixed by going through the steps again it still won't compile. The last of the errors are list here, and why have it so we need to download and install all kinds of stuff just to compile the code?
Error C2065 'CURLOPT_XFERINFOFUNCTION': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 23
Error C2065 'CURLOPT_XFERINFOFUNCTION': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 78
Error C2065 'CURLOPT_XFERINFODATA': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 24
Error C2065 'CURLOPT_XFERINFODATA': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 79
Error C2664 'BIO *BIO_new_mem_buf(void *,int)': cannot convert argument 1 from 'const _Elem *' to 'void *' CPPGameLauncher j:\git\cppgamelauncher\rsaverifier.cpp 49
Hello, I`m trying to compile it, after solving all dependencies I'm receiving this error
'CPPGameLauncher.exe' (Win32): Loaded 'D:\DEV\CPPGameLauncher\x64\Debug\CPPGameLauncher.exe'. Symbols loaded. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.18362.778_none_17b1aa466d9fc986\GdiPlus.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1d.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'D:\DEV\CPPGameLauncher\x64\Debug\zlibd1.dll'. Symbols loaded. 'CPPGameLauncher.exe' (Win32): Loaded 'D:\DEV\CPPGameLauncher\x64\Debug\libcurl-d.dll'. Symbols loaded. 'CPPGameLauncher.exe' (Win32): Loaded 'D:\DEV\CPPGameLauncher\x64\Debug\libcrypto-1_1-x64.dll'. Symbols loaded. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\Wldap32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\secur32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\WindowsCodecs.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Exception thrown at 0x00007FFD83EDA799 in CPPGameLauncher.exe: Microsoft C++ exception: std::logic_error at memory location 0x000000EF7D78F408. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. 'CPPGameLauncher.exe' (Win32): Unloaded 'C:\Windows\System32\WinTypes.dll' 'CPPGameLauncher.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'. The thread 0x5a64 has exited with code 1 (0x1). The thread 0x628 has exited with code 0 (0x0). The thread 0x4658 has exited with code 0 (0x0). The thread 0x3664 has exited with code 0 (0x0). The thread 0x551c has exited with code 0 (0x0). The thread 0x6830 has exited with code 0 (0x0). The program '[5328] CPPGameLauncher.exe' has exited with code 0 (0x0).
Just wondering if this issue has been experienced before. The bottom progress bar doesn't seem to recognize when a new file is being downloaded, and since the progress doesn't reset, it just continues to increase.
It seems to count the files okay, but it doesn't give an accurate megabytesToDownload
variable. Despite an 11GB update existing which the launcher can see and download without issues, it will only show ~300MB total in the launcher itself.
Any ideas to try here?
Severity Code Description Project File Line Suppression State
Error (active) E0020 identifier "CURLOPT_XFERINFOFUNCTION" is undefined CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 23
Error (active) E0020 identifier "CURLOPT_XFERINFODATA" is undefined CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 24
Error (active) E0020 identifier "CURLOPT_XFERINFOFUNCTION" is undefined CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 78
Error (active) E0020 identifier "CURLOPT_XFERINFODATA" is undefined CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 79
Error C2065 'CURLOPT_XFERINFOFUNCTION': undeclared identifier CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 23
Error C2065 'CURLOPT_XFERINFODATA': undeclared identifier CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 24
Error C2065 'CURLOPT_XFERINFOFUNCTION': undeclared identifier CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 78
Error C2065 'CURLOPT_XFERINFODATA': undeclared identifier CPPGameLauncher C:\Users\Administrator\Desktop\CPPGameLauncher\downloader.cpp 79
Please help!
I installed all libs and keeping get these errors:
Error C2065 'CURLOPT_XFERINFOFUNCTION': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 23
Error C2065 'CURLOPT_XFERINFOFUNCTION': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 78
Error C2065 'CURLOPT_XFERINFODATA': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 24
Error C2065 'CURLOPT_XFERINFODATA': undeclared identifier CPPGameLauncher j:\git\cppgamelauncher\downloader.cpp 79
Error C2664 'BIO *BIO_new_mem_buf(void *,int)': cannot convert argument 1 from 'const _Elem *' to 'void *' CPPGameLauncher j:\git\cppgamelauncher\rsaverifier.cpp 49
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.