#202492 - 04/02/2004 08:45
Building Win32 Apps
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
Now C/C++ is not my native language, and especially not Win32 stuff. But it seems like every open source Win32 app is hard as crap to build. Maybe it's just me and not being used to it, but when I grab Linux apps, it's just ./configure; make. When I grab Win32 ones, it's always "OK now where's that 223M DirectX SDK ... Oh yeah, now what parameters do I have to configure properly ... Oh, I'm missing an SDK still". Is this just me? Does it get easier the more you do it? Or is this just bad source deployments?
Actually, props to VLC which was pretty easy to build (at least they had very clear step-by-step instructions on exactly what you needed to download/install).
|
Top
|
|
|
|
#202493 - 04/02/2004 08:53
Re: Building Win32 Apps
[Re: mschrag]
|
carpal tunnel
Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
|
Does it get easier the more you do it? Or is this just bad source deployments? No, it's genuinely hard; it's scarcely easier setting up a new build machine here for the likes of RMM or Emplode. There just isn't an integrated system for getting hold of this stuff, not even at the bare-metal "configure; make" level, let alone the apt-get or RPM level with all the dependencies sorted out. These SDKs don't install to well-known locations, and there isn't even a well-known registry location where they can say they've been installed (so you have to spend ages adding all these directories to Visual Studio's search paths -- now that surely shouldn't be my job). It's all just pants.
Peter
|
Top
|
|
|
|
#202494 - 04/02/2004 08:57
Re: Building Win32 Apps
[Re: mschrag]
|
carpal tunnel
Registered: 14/01/2002
Posts: 2858
Loc: Atlanta, GA
|
I do most of my development in Delphi (which means Pascal, not C/C++), and I don't have many problems. Not that I don't have to use third party packages, SDKs and the like, but I suppose I'm just used to the paradigm. Also, generally some extra work has to be done to make anything that isn’t totally mainstream Win32 work in Delphi, but either I can find someone who’s already done it and done it well, or I can do it myself (which I prefer being a code-control freak and all). Either way, though, I’ve never felt inhibited by external libraries, as the only time I ever need them (in Delphi) is when I’m trying to solve a very specific problem.
I don’t have much experience with the M$ environment, so I couldn’t possibly comment on that.
_________________________
-Jeff Rome did not create a great empire by having meetings; they did it by killing all those who opposed them.
|
Top
|
|
|
|
#202496 - 06/02/2004 02:17
Re: Building Win32 Apps
[Re: mschrag]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
I was really hoping for "you're just stupid" so at least there was room for improvement ... That's really a shame.
Visual Studio.NET makes it a lot easier, mainly because it comes with all the SDKs that you could possibly need.
The flip side is true as well, though -- it's a total PITA trying to get Linux source code to build under Windows.
And, frankly, most open source software isn't the best example of Win32 code available -- a lot of it is either dross, or barely ported back from a Linux version (open source being a cultural anathema to Windows programmers).
_________________________
-- roger
|
Top
|
|
|
|
#202497 - 06/02/2004 08:38
Re: Building Win32 Apps
[Re: Roger]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
I get the impression, not being a Windows programmer, but having played with Visual Studio a few times, that it would be difficult to share source code what with all the embedded information. Is there some way to export everything needed in one big archive?
_________________________
Bitt Faulk
|
Top
|
|
|
|
#202498 - 06/02/2004 11:07
Re: Building Win32 Apps
[Re: wfaulk]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
Bitt.. you're looking a little red today. How long have you had this condition?
|
Top
|
|
|
|
#202499 - 06/02/2004 11:08
Re: Building Win32 Apps
[Re: mlord]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Since the board came back up. I'm hoping some penicillin will clear it up.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#202500 - 06/02/2004 11:11
Re: Building Win32 Apps
[Re: wfaulk]
|
carpal tunnel
Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
|
it would be difficult to share source code what with all the embedded information
It is still just files on the hard drive, most of them plain text. No more difficult than sharing a set of files built with make and gcc.
With VS.Net they have taken a further step forward in this regard, because the files that define how the project hangs together (the project file and the solution file for grouping projects) are XML.
With .Net you could also take a project coded with VS.Net and build it without having access to the VS.Net enviroment, because the compilers for VB.Net, C# and Javascript.Net all come as part of the .Net SDK, which is all "freely" downloadable.
That would require a fair bit of work on someone's part to come up with scripts to build the project though. I wouldn't surprise me if someone hadn't already knocked up a tool to automate this though, as all the info you need to build the project is in the project and solution files.
There is also no reason why you could take the files from a typical VS.Net project and build them on mono (the Linux version of .Net) as long as it only used the bits of the framework that mono has implemented so far.
Of course with configure on Unix you have more flexiblity because you can target more than one build enviroment, but that is because a bunch of people have worked very hard for years to achieve it. Microsoft have never had the inclination to worry about things like that (or even the need to).
_________________________
Remind me to change my signature to something more interesting someday
|
Top
|
|
|
|
#202501 - 06/02/2004 11:12
Re: Building Win32 Apps
[Re: wfaulk]
|
pooh-bah
Registered: 15/01/2002
Posts: 1866
Loc: Austin
|
you could try some "Red Be Gone"
im sure theres better stuff, but thats the first google hit. i apologize for the tremendous helping of corn.
|
Top
|
|
|
|
#202502 - 06/02/2004 11:14
Re: Building Win32 Apps
[Re: RobotCaleb]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14493
Loc: Canada
|
|
Top
|
|
|
|
#202503 - 06/02/2004 11:17
Re: Building Win32 Apps
[Re: mlord]
|
pooh-bah
Registered: 15/01/2002
Posts: 1866
Loc: Austin
|
Nice new avatar, there!
thank you. my roommate says shes ugly.
i happen to be rather fond of the creation
|
Top
|
|
|
|
|
|