geno3
December 24th, 2014, 03:51 PM
Hello, Merry Christmas!
I'm messing around with OpenGL development in Linux. This is my first time trying to develop any executable on Linux. I have Ubuntu 14.
I used the OpenGL library to create a very simple red window with some text. I compiled it, and created the ".out" file. I ran it from Ubuntu and it works perfectly.
I gave it to a friend to try on a different Linux machine, and its not working. I need to get more details on what isnt working about it.
First of all, and forgive me if this is utter nonsense, I am used to working with micro-controllers where I dont have an OS, and where the processor only executes a single program in its entire lifetime. I have worked with graphics before, but it was for an ARM micro-controller and I created my own graphics driver as well as higher level code to display images on the LCD. So when it comes to machines that run an OS, I may be asking stupid questions. Just warning.
If I create an executable ".out" file which was compiled from C with the OpenGL library, according to my understanding, the binary file is telling the OS to control the graphics driver directly. The OS should not need any library files to run my ".out" file. At least thats the way it works on a uC with no OS, haha. You can tell how new I am to machines with an OS.
Does my friend need freeglut3-dev to run my .out file?
Here is the file if anyone wants to try it out.
http://expirebox.com/download/722f8037168711e657058e4aef6eb61d.html
I'm messing around with OpenGL development in Linux. This is my first time trying to develop any executable on Linux. I have Ubuntu 14.
I used the OpenGL library to create a very simple red window with some text. I compiled it, and created the ".out" file. I ran it from Ubuntu and it works perfectly.
I gave it to a friend to try on a different Linux machine, and its not working. I need to get more details on what isnt working about it.
First of all, and forgive me if this is utter nonsense, I am used to working with micro-controllers where I dont have an OS, and where the processor only executes a single program in its entire lifetime. I have worked with graphics before, but it was for an ARM micro-controller and I created my own graphics driver as well as higher level code to display images on the LCD. So when it comes to machines that run an OS, I may be asking stupid questions. Just warning.
If I create an executable ".out" file which was compiled from C with the OpenGL library, according to my understanding, the binary file is telling the OS to control the graphics driver directly. The OS should not need any library files to run my ".out" file. At least thats the way it works on a uC with no OS, haha. You can tell how new I am to machines with an OS.
Does my friend need freeglut3-dev to run my .out file?
Here is the file if anyone wants to try it out.
http://expirebox.com/download/722f8037168711e657058e4aef6eb61d.html