September 1st, 2013, 05:12 PM
[Windows/ Linux] Deciding upon languages/ tools/ libs/
Im trying to code a circuit simulator. I need to draw symbols of resistors, capacitors etc on screen.
I want the software to be available on linux and windows both.
I am looking at Win32 with GDI as a possible option, but it only works with Windows. I do not need too abstract a library. I want to code at the very basic level possible. For this reason, I was planning to code the app in Win32, not using MFC or anything, until I felt the need to make it available in linux as well.
Also, I have seen applications whose source is available for windows as well as linux. Is it possible to code once and have the application available on multiplatforms?
I'm guessing, do I need to compile the same source using gcc for different platforms?
Also, in which languages/ platforms are most professional Windows applications written in? (Please exclude Java)
September 2nd, 2013, 12:10 AM
If you use wxwidgets (see these screenshots for an idea of capability) as your GUI library, then in theory you just copy the code to the platform in question, download the wxwidgets library for that platform, compile and you're up and running.
You should obviously keep testing on both systems as you go, so you can iron out any small wrinkles before they develop into something serious.
There are other cross-platform GUI toolkits as well.
September 2nd, 2013, 03:30 AM
thanks, that seems better than Qt.
September 2nd, 2013, 06:39 AM
looks like i'd hav to learn Qt anyway.....
Last edited by speedbooster; September 2nd, 2013 at 12:55 PM.