I need to run some linux commands on my OF Project that I built in Windows using Visual Studio 2019. I have successfully installed OF on Linux as well as the project generator. I am successfully able to run the examples in the linux terminal with commands ‘make’ and then ‘make run’.
To port my project I have done 2 things to no avail unfortunately:
Method 1 - Create a new project in the Projector Generator with the necessary addons, and then copy the source/data files to that project.
When I did this the linux terminal spitted out some syntax errors. for whatever reason linux doesn’t like the functions ‘FreeConsole();’ and ‘Sleep(50)’. To fix these errors I just got rid of the ‘FreeConsole();’ command and changed the ‘Sleep(50);’ command to a lowercase sleep (The linux terminal recommended I do this).
After fixing the syntax errors and running the ‘make’ command in the linux terminal, I was able to successfully compile the project with the ‘make’ command, but unfortunately when I try to launch it with ‘make run’ it takes forever, and doesn’t launch.
Method 2 - Copying the Project folder from windows and then using project generator to update it to Linux platform.
When I did this, after fixing same syntax errors as before, Same result. I can compile, but not launch.
Anyone have any clue as to what is going on?