Stop Microsoft

Miscellaneous => Applications => Topic started by: Calum on 1 September 2002, 01:05

Title: CDex Open Source
Post by: Calum on 1 September 2002, 01:05
I have been using this excellent audio encoder frontend for windows for a good while now called CDex. It is open source, on sourceforge so i thought i would download the source code (the binaries are windows only you see) and compile it in linux myself, since i prefer it to GRip. i got the code but what? it looks like a bunch of C++ stuff but how do i begin compiling? there's no makefile, no instructional stuff to help me, can somebody who doesn't mind downloading 3Mb of stuff please also download the source code for this and have a look at it please? it can be got from http://sourceforge.net/projects/cdexos/ (http://sourceforge.net/projects/cdexos/) ad if yr interested in the project itself then do look at http://cdexos.sourceforge.net/ (http://cdexos.sourceforge.net/) and read all about it.

Any help much appreciated, ta......
Title: CDex Open Source
Post by: flap on 1 September 2002, 02:20
You want to build a Linux application... from windows sources? If that's what you mean then it can't be done.
Title: CDex Open Source
Post by: Calum on 1 September 2002, 04:35
windows sources?

i was under the impression that c++ was a unix language? i was also under the impression that open source meant the stuff was portable. otherwise what's the point? i could not tell you if these were 'windows sources' or not, which is why i ask people to download them (which should not be a big deal for cable users and so on) and hae a look.

however, correct me if i am wrong on any point please. i am interested in more than 'it can't be done'. Why can't it? come on!

[ August 31, 2002: Message edited by: Calum ]

Title: CDex Open Source
Post by: flap on 1 September 2002, 05:06
There's no such thing as a 'Unix programming language'. If it were how could Windows applications be developed in it? And obviously the sources are for Win as the application is for Windows. It's true that you could take C/C++ source for a basic console app that used no platform dependent code (API calls) and compile it for either Windows/Unix with no alteration, but the application you're talking about has a GUI frontend, which is obviously Win specific.
If Windows source could just be taken and recompiled for Unix with no alteration there would be, well, a hell of a lot more apps for Linux/Unix.

And as for portability being 'the point' of open source, are you shitting?

That app can certainly be ported, but it would take a lot of work.

[ August 31, 2002: Message edited by: flap ]

Title: CDex Open Source
Post by: jtpenrod on 1 September 2002, 10:59
It might be possible to compile and run that app on Linux. It depends on what was used to write it. Qt, FOX, and wxWindows (I think?) can be used to write apps that'll run on either platform with nothing more than a recompile. Take a look at the header files, the *.h ones. See if there are any lines that read: #ifdef WIN32, etc., #endif (or #ifdef UNIX, etc, #endif). If there are, then you've got something that can be compiled to run on Linux. All you'll need to do is get the right libs and you're good to go. And if there aren't, then it's SOL (either that or reverse engineer the sucker)
_____________________________________________

(http://www.otakupc.com/etsig/dolphin.gif)
Their fundamental design flaws are completely hidden by their superficial design flaws   ;)

[ September 01, 2002: Message edited by: jtpenrod ]

Title: CDex Open Source
Post by: Calum on 1 September 2002, 17:10
ok! now this is the sort of answer i wanted! so as i thought, any graphical frontend must be specific to the gui. also, that remark about a
Title: CDex Open Source
Post by: flap on 1 September 2002, 17:24
Yes most of the work would be on the GUI, but that isn't the only OS-specific code in there. There are API calls, use of Win-specific features such as the registry etc.

But are you serious in suggesting the only reason to make software free and open is to allow portability?
Title: CDex Open Source
Post by: choasforages on 1 September 2002, 21:46
winemaker

it may or maynot work, give it a shot, and be prepared to play for days to try and get it to work, best of luck
Title: CDex Open Source
Post by: Calum on 1 September 2002, 22:31
what's winemaker? i suspect it is a linux project which uses wine code to compile 'windows sources' for use on a linux system?

i am afraid i don't tend to keep up with wine stuff since hey, i have winME when i need it (ok except it fails at the worst times!) and i am on dialup so cannot download new versions all the time (most recent wine version i have is 2 years old!)

thanks for comments though.....
Title: CDex Open Source
Post by: Kintaro on 2 September 2002, 12:51
quote:
Originally posted by jtpenrod:
It might be possible to compile and run that app on Linux. It depends on what was used to write it. Qt, FOX, and wxWindows (I think?) can be used to write apps that'll run on either platform with nothing more than a recompile. Take a look at the header files, the *.h ones. See if there are any lines that read: #ifdef WIN32, etc., #endif (or #ifdef UNIX, etc, #endif). If there are, then you've got something that can be compiled to run on Linux. All you'll need to do is get the right libs and you're good to go. And if there aren't, then it's SOL (either that or reverse engineer the sucker)
_____________________________________________

(http://www.otakupc.com/etsig/dolphin.gif)
Their fundamental design flaws are completely hidden by their superficial design flaws    ;)  

[ September 01, 2002: Message edited by: jtpenrod ]



 Use the Wine Devel Liabarys
Title: CDex Open Source
Post by: flap on 2 September 2002, 14:41
Calum; are you not using Mandrake 8.2 or another fairly recent distro? Why don't you have a more recent version of WINE?
Title: CDex Open Source
Post by: Kintaro on 2 September 2002, 16:28
The ability to destroy a operating system is nothing compared to the power of the source
Title: CDex Open Source
Post by: Calum on 2 September 2002, 17:43
flap, i have most of the first two CDs of the download version of mandrake 8.2. I think there's a lot of stuff i don't have compared to the full version, however i still have thousands of things i haven't used yet!

my version of wine is contemporary to red hat 7.0.
Title: CDex Open Source
Post by: KernelPanic on 2 September 2002, 18:19
Calum, why o why, have you moved to london?
Title: CDex Open Source
Post by: foobar on 2 September 2002, 18:45
Hm ? Calum moved to london ??
Title: CDex Open Source
Post by: Calum on 3 September 2002, 00:09
my girlfriend wanted to come here. i came too. it's ok, i am now working in a technology firm in the stock control dept (we interface between the users and the engineers).
Title: CDex Open Source
Post by: KernelPanic on 3 September 2002, 00:11
quote:
it's ok


You're saying that to make yoursely feel better.  (http://smile.gif)