Something..something..something....Dark Side
-
We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses
ATL::CString
, that's no mean feat on a foreign OS. The joys of thunking layers. :)Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses
ATL::CString
, that's no mean feat on a foreign OS. The joys of thunking layers. :)Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
Welcome to linux development. :) Seriously :) Whatever you do make sure you don't deal with XLib directly, or for that matter in any way whatsoever. This will save you vast amounts of hair and your sanity. If you need a toolkit pick Qt. GTK sucks.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses
ATL::CString
, that's no mean feat on a foreign OS. The joys of thunking layers. :)Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
Anna-Jayne Metcalfe wrote:
Twiddle something - build - watch it fail again. Repeat.
This is obviously where your problem lies. Incorrect use of the Twiddle command. For goodness sake Anna-Jayne RTFM[^].
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses
ATL::CString
, that's no mean feat on a foreign OS. The joys of thunking layers. :)Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
My condolences! After years of using VS for everything, last night I spent helping a friend with her final project in a web design class. The only tool she has is DreamWeaver. Holy Horrors!!!! It actually is a far better tool than VS for web page creation, and not being intimately linked to IE, the browser often renders CSS correctly. I'm not used to that and, so long as I can avoid the temptation to fall into the Flash sewer, I might seriously consider switching for web stuff. But the UI takes some serious getting used to, and things that seem perfectly logical and simple to do in VS are impossible or hidden in DreamWeaver. Best of luck in your thunking! :-D
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
-
Welcome to linux development. :) Seriously :) Whatever you do make sure you don't deal with XLib directly, or for that matter in any way whatsoever. This will save you vast amounts of hair and your sanity. If you need a toolkit pick Qt. GTK sucks.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
Thanks Jim. QT will probably be out of our budget for this one, so we may end up using either WxWidgets or U++ (U++ is on the BSD licence, which we'd prefer over LGPL). Not sure yet - we're really at the feasibility stage at the moment.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
Anna-Jayne Metcalfe wrote:
Twiddle something - build - watch it fail again. Repeat.
This is obviously where your problem lies. Incorrect use of the Twiddle command. For goodness sake Anna-Jayne RTFM[^].
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
I don't need to twiddle. I have minions for that! ;P Ta for the link though. Interesting.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
My condolences! After years of using VS for everything, last night I spent helping a friend with her final project in a web design class. The only tool she has is DreamWeaver. Holy Horrors!!!! It actually is a far better tool than VS for web page creation, and not being intimately linked to IE, the browser often renders CSS correctly. I'm not used to that and, so long as I can avoid the temptation to fall into the Flash sewer, I might seriously consider switching for web stuff. But the UI takes some serious getting used to, and things that seem perfectly logical and simple to do in VS are impossible or hidden in DreamWeaver. Best of luck in your thunking! :-D
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
DreamWeaver? I started learning HTML using that. Would sure be weird to use it now, though. This is an interesting challenge. We've a bunch of string mangling and API code to port, plus a MSXML based parsers and report generators. If we can get that lot working we're in business. :)
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
Thanks Jim. QT will probably be out of our budget for this one, so we may end up using either WxWidgets or U++ (U++ is on the BSD licence, which we'd prefer over LGPL). Not sure yet - we're really at the feasibility stage at the moment.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
If you can go with an LGPL license and (therefore) dynamically link with Qt, there's a free, LGPL version - see here[^] and here[^] for information about the licensing… Qt also includes QtCreator, which is a nice (as in nicer than Eclipse/CDT :-)) IDE...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!
-
If you can go with an LGPL license and (therefore) dynamically link with Qt, there's a free, LGPL version - see here[^] and here[^] for information about the licensing… Qt also includes QtCreator, which is a nice (as in nicer than Eclipse/CDT :-)) IDE...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!
I don't think you can use the LGPL version for commercial apps.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
I don't think you can use the LGPL version for commercial apps.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
I'm pretty sure you can't - it would rather defeat the purpose of the paid licence!
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
I don't think you can use the LGPL version for commercial apps.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
Useful to know, but we're trying to avoid LGPL as we prefer to statically link.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
Holy shit! Why would anyone bother paying them? I'd be willing to bet their income plunges with this.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
-
I don't think you can use the LGPL version for commercial apps.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
Jim Crafton wrote:
I don't think you can use the LGPL version for commercial apps.
You can if you don't change the code of the lib in question - which most apps won't do. You couldn't with the plain ol' GPL version, but that one is gone since Nokia took over. http://qt.nokia.com/downloads[^]
Jeremy Falcon
-
Holy shit! Why would anyone bother paying them? I'd be willing to bet their income plunges with this.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow
Remember it's part of Nokia now - licenses aren't their main revenue stream…and of course, it means Nokia have control over their GUI…sound like Apple wanting control over the iPhone infrastructure at all?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!
-
We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses
ATL::CString
, that's no mean feat on a foreign OS. The joys of thunking layers. :)Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
Anna-Jayne Metcalfe wrote:
However, one thing VS really sucks at is anything cross platform.
I have very little problems at using VS to write my Qt applications and then use Cmake to generate Kdevelop project files for linux with the same CMakeLists.txt file that it generates the Visual Studio projects for in windows. Not to say everything is a piece of cake. gcc and visual c++ do have their differences.
John
-
Anna-Jayne Metcalfe wrote:
However, one thing VS really sucks at is anything cross platform.
I have very little problems at using VS to write my Qt applications and then use Cmake to generate Kdevelop project files for linux with the same CMakeLists.txt file that it generates the Visual Studio projects for in windows. Not to say everything is a piece of cake. gcc and visual c++ do have their differences.
John
We thought about that route, but as the code is WTL based (and changing that isn't something we plan to do) we're looking to do something a little different. However, whichever way we end up going, it's a new challenge - and I'm always up for that. :-\
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
I don't need to twiddle. I have minions for that! ;P Ta for the link though. Interesting.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
Anna-Jayne Metcalfe wrote:
I don't need to twiddle.
It's Twitter, but ruder.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
We thought about that route, but as the code is WTL based (and changing that isn't something we plan to do) we're looking to do something a little different. However, whichever way we end up going, it's a new challenge - and I'm always up for that. :-\
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
Anna-Jayne Metcalfe wrote:
and I'm always up for that
Have you been twiddling again? :-\
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Anna-Jayne Metcalfe wrote:
and I'm always up for that
Have you been twiddling again? :-\
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
As I said, I have minions for that. ;)
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"