IanW wrote: "@GemGames Hi, I've compiled the linux player and compiler. The compiler "compiles" my agk project into bytecode.byc and the player runs it ok in Linux.
So unless TGC add the missing linux lib to the git repo, I guess my options under Linux are either to move to tier 2 (and use the libAGKLinux.a file I can build) or use a text editor to edit my tier 1 source then manually compile and run it or buy a new laptop to run windows 11 :-("
That's interesting - I did some searching in the AppGameKit installed folders and all I could find for Linux specific files was under the folder "AGK2/Players/Linux". There are 2 files there: "LinuxPlayer32" and "LinuxPlayer64". I could not find any file named "libAGKLinux.a", so I guess it must only exist indirectly in the online repository as you had mentioned (that it was built from the files there, and not directly downloadable, nor included in the installed files from AGK).
I was searching for possible .cpp files, but couldn't find any Linux-designated ones. Under the folder "AGK2/Tier 2/platform" there are 2 subfolders named "android" and "windows" but no Linux-designated folder. On an additional search I found "AGKLibraryCommands.cpp", but as far as I can understand this file has something to do with linking or pointing AppGameKit commands to a Windows DLL file of some sort, as there is a line (line 2140) in that file that states the following:
extern "C" DLL_EXPORT void ReceiveAGKPtr( AGKVoidFunc ptr )
That's what I was hoping to find in one of the folders, a Linux equivalent C++ library that would allow tier 2 compilation for native-Linux executables. But possibly "libAGKLinux.a" is exactly that (the otherwise missing Linux library, or the Linux version "DLL" of sorts, as it were).
I haven't tried yet to compile anything on Linux, but I am hoping that it can be a viable option with the "libAGKLinux.a" built file. For the time being, I am keeping busy composing some tier 1 reusable libraries under a Windows development environment, but I look forward to advancing from there to AppGameKit tier 2 including Linux tier 2, using Linux both as a tier 2 development environment and as a tier 2 target platform.
Thank you for the informing me about the "libAGKLinux.a" file that can be built from the repository which I have yet to visit in the Linux section. As you mentioned, hopefully in the future The Game Creators will decide to include the Linux binary file in the Github repository if it contains some additional functions that are required by the Linux-hosted IDE.
But even so, that is great news that the "libAGKLinux.a" file can be built under Linux, thereby enabling tier 2 development both under and for Linux!