Not logged in. · Lost password · Register
Forum: Discussion RSS
Linux Build
Pickle #1
Member since Oct 2007 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: Linux Build
Im attempting a Linux build. Ive worked the svn to a point where I can build and link.
The gui is coming up and the dialog for the hostname for the backend is coming up.

This is where its stops, the sys/socket.h connect is failing. The errno is set to 111, which is:
#define    ECONNREFUSED    111    /* Connection refused */
Any ideas?

Update:
Think i found a fix, at least i appear to get a connection and some data
        #else
            //ip = inet_addr(inet_ntoa(*((struct in_addr *)h->h_addr)));
        host.sin_addr = *(struct in_addr *) h->h_addr;
        #endif

with this change im getting channel and tuner info, but it appears to hang loading the renderer

Update 2:
Its starting to work, i can replay a recording, although once it started the GUI is hung. Live TV also works.
My pandora build still has the connect issue above, which is strange.

Update 3:
Ok got my pandora to connect, just crashes on playback, progress :-) I think the spark connect needs to be reworked
Deinterlace works on the pc build, noticed the gui lockup doesnt happen unless i click the sdl window
This post was edited 6 times, last on 2010-03-07, 01:33 by Pickle.
Lomion (Moderator) #2
Member since Jan 2009 · 40 posts · Location: Vienna, Austria
Group memberships: Global Moderators, Members
Show profile · Link to this post
Great work Pickle! Your are really getting forward fast!

Can you please do your changes using compiler switches so that we can integrate it into our trunk-branch directly once you succeed.
How did you set up the build system? Automake or Makefiles?
Can you post a list of libs you needed including version numbers please.
Pickle #3
Member since Oct 2007 · 10 posts
Group memberships: Members
Show profile · Link to this post
Thanks, I have svn access now so I will commit the changes when i have a chance.

I used a single makefile. Im running tis on opensuse. My ffmpeg is probably pretty recent, i used a prebuilt rpm package.
tinyxml was the most recent version (Id like to make the suggestion this be added in the source tree, its only 4 source files and be once less thing to setup for people building.)
I used the latest stable release for fltk2.

Mostly the changes Ive done so so far is fix the socket connection, add some preprocessor WIN32 defines to remove some windows only code. Some various compiler format issues.

My build still has some issues:
a big one being the gui gets locked out if the SDL window is touched (thinking its a thread problem).
Theres no scaling of the image if the SDL window is stretched. (this might be because theres only windows code and not an linux equivalent)

Also if anyone in the team has experience with ffmpeg and if theres some specific debug i can turn to help get the pandora version working let me know.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20100516-dev, © 2003-10 by Yves Goergen
Page created in 446.2 ms (170.6 ms) · 45 database queries in 160.7 ms
Current time: 2010-09-05, 06:28:47 (UTC +01:00)