Natalo77
(Natalo77)
July 17, 2020, 12:47pm
5
MalikGames:
Hey guys, thanks for the quick answer! Thing is, I really need the player to write C code
I’ve found this C++ compiler called “Embarcadero”. I’ve downloaded it and it’s some kind of a “portable C++ compiler” where “bcc32c.exe” open the compiler, asking for a input file. I was able to feed this compiler a “test.cpp” file and execute it through Visual Studio, calling the bcc32c.exe from “system()” function (that opens cmd and execute my command. Something like “system(C:\bin\bcc32c.exe [input_file])”). Which gave me a “test.obj”. (Now I’m studying how to make a dll from that);
I was wondering. This C++ compiler folder has the following structure:
\bin(Where the bcc32c.exe executable is)
\include
\lib
It resembles a lot a third-party library folder structure… Do you guys think I could get this to be a UE4 module? If not, could I somehow tell Unreal to take this whole folder (the root of the C++ Compiler) and go through with the packaged game, inside it’s folders? And from my Unreal code I could get the path to this folder and execute the bcc32c.exe from cmd commands myself on a separated thread.
Thanks!
You’re going to have write permissions to the Saved folder within packaged games, so I would hazard a guess as to that you might be able to fudge the compiler in there?