INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
Builing Toolame on Windows

Forum Index -> Video -> Programming Printer-friendly version
Reply to topic
Author Message
Shuggie
Member


Joined: 30 Jul 2001
Location: United States

Post Posted: Jan 22, 2004 06:28 Posts Comp View users profile Send private message Reply with quote

I've hit a problem encoding a file with an older version of toolame so I went to get the latest. I can only find the latest version (0.2l) as source.

But it's a command line app - so I thought "I know some C, how hard can it be to compile?"

Well too tough for me it seems redface.gif

Has anyone got an tips on how to do this, where to start?

I'm using MS VC++ 6.0 - I created an empty console project and added all the source files to it.

First it had a problem with functions defined as INLINE - so I just commented the INLINE parameter and that seemed to work.

Next it's complaining about FILE not being a valid keyword - when it is! It's defined in stdio.h which is included in the app.

I thought maybe I'd need to compile under cygwin or something but looking at the previous exe, I don't think it's a cygwin exe - plus it was distributed on its own and cygwin exes need dlls for the runtime support don't they?


Shuggie
Member


Joined: 30 Jul 2001
Location: United States

Post Posted: Jan 24, 2004 02:41 Posts Comp View users profile Send private message Reply with quote

Well I did eventually find a pre-built version and guess what? It was built with cygwin! (cygwin.dll included)

Still it ought to be possible to to build a native version - I'm still interested in this if anyone has any comments.


sterno
Member


Joined: 11 Jun 2002
Location: MO, US

Post Posted: Jan 24, 2004 14:09 Posts Comp View users profile Send private message Reply with quote

toolame is a native UNIX app written to be compiled with gcc. Compiling it as a native win32 console app would require porting, as you found. Somebody did the work to make a native win32 build for an old version, but nobody has done it with the current version. There isn't really much point now that cygwin is pretty mature and stable.
_________________
A man without a woman is like a statue without pigeons.


Shuggie
Member


Joined: 30 Jul 2001
Location: United States

Post Posted: Jan 24, 2004 15:05 Posts Comp View users profile Send private message Reply with quote

well I'd still like to know how to do it if possible

vhelp
..Semi Neutral..


Joined: 31 Mar 2001
Location: New York

Post Posted: Jan 24, 2004 15:17 Posts Comp View users profile Send private message Reply with quote

hay Shuggie,

why don't you just build a "shell" for it. Everyone does it these days ???

What features are you looking for or at, to do w/ toolame ??

If it's just a command-line, list the switches, and I'll try and chaulk up a
winda tongue.gif

What'doo you say ?

-vhelp


Shuggie
Member


Joined: 30 Jul 2001
Location: United States

Post Posted: Jan 26, 2004 04:51 Posts Comp View users profile Send private message Reply with quote

Not really interested in writing a gui - since there's already one available.

What I wanted was to port the source so it'll compile natively, so I don't have to install cygwin.


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Programming Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics