Is it possible to run a code in C++ without an IDE?


#1

I’ve created and compiled a code in Code::Blocks on Endless. Is there a way to run the code without the IDE (like the .exe file in Windows)?


#2

Generally, yes. But there are a few catches to pay attention to:

  1. If you want to build applications to run under EOS and any other Flatpak based Operating System, you should build them with flatpak-builder for distribution.
  2. If you absolutely need to build a application to run natively on the host without being a Flatpak, you can statically link all needed libraries.

closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.