• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Running a C++ image on Linux?

Jumpem

Lifer
I'm not that familiar with Linux. I built a small test driver, but can't seem to get it to run. I have the object file and an executable with no extension. Whenever I try to run the executable, driver, it says "driver: Command not found". Any ideas?
 
What's a "C++ image"? You mean running an executable built for a different platform? Unlikely to work.

If you're talking about a Linux program, though, you should just be able to execute it. From the error you gave, it sounds like it can't find the file. Make sure the path to your executable is included in your $PATH, or try going to the directory it is in and running "./driver".
 
Originally posted by: Matthias99
What's a "C++ image"? You mean running an executable built for a different platform? Unlikely to work.

If you're talking about a Linux program, though, you should just be able to execute it. From the error you gave, it sounds like it can't find the file. Make sure the path to your executable is included in your $PATH, or try going to the directory it is in and running "./driver".

That did it. 🙂

I forgot that you need to put "./" before the filename in Linux.
 
Back
Top