| | |
Developing C++ app on Linux
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2009
Posts: 2
Reputation:
Solved Threads: 0
Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example?
In other words, what should I keep in mind to make my application compatible with other Linux distros?
Thanks,
Komyg
In other words, what should I keep in mind to make my application compatible with other Linux distros?
Thanks,
Komyg
•
•
•
•
Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example?
In other words, what should I keep in mind to make my application compatible with other Linux distros?
Thanks,
Komyg
In case you are using some extra stuff like the Posix thread libraries or cURL or one of the many Boost libraries for C++, then you application will be restricted to run only to those platforms where those libraries have been ported to.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
•
•
Join Date: Aug 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Well As Far As I Know, that depends on what application you are making and what libraries you will be using. If you are going to make your application using just the Standard C++ stuff using the GCC compiler, then it should compile and run anywhere the GCC compiler has been ported to.
In case you are using some extra stuff like the Posix thread libraries or cURL or one of the many Boost libraries for C++, then you application will be restricted to run only to those platforms where those libraries have been ported to.
Thanks,
Komyg
•
•
Join Date: Aug 2008
Posts: 37
Reputation:
Solved Threads: 7
The same answer applies to that and is specific to the driver you are talking about.
If the driver only has one version, for Linux, then you probably wont run into any problems, if there exist different versions for different distros then you might run into problems, but in this case I guess you can only be sure by testing, maybe there aren't any differences that apply to you.
If the driver only has one version, for Linux, then you probably wont run into any problems, if there exist different versions for different distros then you might run into problems, but in this case I guess you can only be sure by testing, maybe there aren't any differences that apply to you.
•
•
•
•
Well, I think that I won't be writing anything that isn't supported by GCC or GPP, however I will also need to use some drivers to access a fingerprint scanner that is connected via USB. Do you think that the differences between the Kernel present in different distros could cause me problems while using those drivers?
Thanks,
Komyg
so it's a file in the linux. what I just doing is use the scanimage utility
in the liunx. So you can read from the scanner using that scanimage
utility.Here is the man page
http://linux.die.net/man/1/scanimage
just Create another child of scanimage. It will make you're things
easy.You can even do this using shell script.
so for the GUI development you can use the Xlib , if you heavily
needs the independent among the distros. Xlib is everywhere on
evey distro's.But the life with Xlib is going to be hard.
Nothing like a kernel pannic !
![]() |
Similar Threads
- flash + linux (Graphics and Multimedia)
- Displaying MJPEG stream in Pygtk app (Python)
- Link Loki to app in Visual C++ (C++)
- developing a plugin in c++ on linux platformfor a web browser eg. konqueror/ mozilla (C++)
- business online app/business graphic app (Java)
- Linux Sound?? (Game Development)
- Problems with session_unregister and / or unset() (PHP)
- Is C Right For Me? (C++)
Other Threads in the C++ Forum
- Previous Thread: How to take string value as hexadecimal
- Next Thread: wxFileInputStream
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






