Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Other Cool Front Ends


Reply
 
Share Thread Tools Display Modes
Old 02-11-2005, 08:30 AM   #241
Low Bitrate
 
M11VNY's Avatar
 
Join Date: Aug 2004
Location: Leicester & Reading, UK
Posts: 73
M11VNY is on a distinguished road
Red face

still building QT! Its taking ages!!!!!

Edit: Ok finally I've managed to get it working! nice way to spend a friday at work

but....
I'm getting this problem

QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open

any ideas??? I think its got something to do with sqlite package.


Further edit: ok SQLite did not install ok. just got back to Leicester, will fiddle with this for a bit see if I can resolve. Just seen Cybers post!

Last edited by M11VNY; 02-11-2005 at 02:27 PM.. Reason: No point wasting space!
M11VNY is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Old 02-11-2005, 03:02 PM   #242
Low Bitrate
 
M11VNY's Avatar
 
Join Date: Aug 2004
Location: Leicester & Reading, UK
Posts: 73
M11VNY is on a distinguished road
GREAT!

got it working

I had to copy your libqsqlite.so file to

/usr/lib/qt/3/plugins/sqldrivers

from 1st impressions im happy with it!
__________________
Its down!!!! Sold the Golf so took it out, it's still alive but not installed.

Progress [-----------] 0%
Who the Daddy Iz!
M11VNY is offline   Reply With Quote
Old 02-12-2005, 02:10 AM   #243
Variable Bitrate
 
NoPistonPC's Avatar
 
Join Date: Apr 2004
Location: Boston
Posts: 360
NoPistonPC is on a distinguished road
Daedalus_Z and M11VNY,

I'm glad you got headunit compiled and working. There are a few bugs with playback that shouldn't be too hard to fix. If you do end up making changes to the code, please send me your changes so I can incorporate them into CVS. If you end up making a lot of changes, then I can give you access to the repository so you can check in your changes directly.

Sorry about the poor internal documentation... I'll try to add some more comments when I get a chance...
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
NoPistonPC is offline   Reply With Quote
Old 02-13-2005, 09:27 PM   #244
Newbie
 
Join Date: Jan 2005
Location: Australia
Posts: 3
Daedalus_Z is on a distinguished road
hehehe ok, Dont worry about the lack of comments / doco, the sign of a true coder if the complete lack of anything that helps other's understand his code
Daedalus_Z is offline   Reply With Quote
Old 02-24-2005, 06:01 PM   #245
Newbie
 
Join Date: Jan 2005
Posts: 48
Pilt is on a distinguished road
Hi im new to linux and not sure how to compile headunit.
How do i include the stuff in the configure script, do i need to do that before i compile QT, etc

Im using Gentoo and used emerge to install QT, etc. IS that ok?
Pilt is offline   Reply With Quote
Old 02-25-2005, 11:14 AM   #246
Variable Bitrate
 
NoPistonPC's Avatar
 
Join Date: Apr 2004
Location: Boston
Posts: 360
NoPistonPC is on a distinguished road
Try this:
Code:
USE="sqlite" emerge qt USE="sdl" emerge xine-lib emerge sqlite emerge id3lib tar zxvf headunit-0.3-src.tar.gz cd headunit-0.3 qmake make

If that doesn't work, you may have to manually compile the qt source yourself. To do that, just untar the qt sources into a temporary directory (if you emerged qt before then you should already have the source file at /usr/portage/distfiles/qt-3.3.xxx.tar.gz). Go into the temp directory then run the "./configure ..." command with the options specified in the headunit INSTALL.unix file. Then run "make". That should install qt properly. Then try making headunit again: "qmake", followed by "make"
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
NoPistonPC is offline   Reply With Quote
Old 03-27-2005, 10:27 PM   #247
Newbie
 
Join Date: Mar 2005
Posts: 3
Scyx is on a distinguished road
Question

Hello, I've tried to compile Headunit on a FC2 machine but I'm stuck with this problem:
Code:
DBHandler.cpp:317: Warnung: comparison between signed and unsigned integer expressions g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I/usr/lib/qt-3.3/include -o Tag.o Tag.cpp g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I/usr/lib/qt-3.3/include -o XineMediaPlayer.o XineMediaPlayer.cpp In Datei, eingefügt von XineMediaPlayer.cpp:12: qxinewidget.h:60:18: xine.h: Datei oder Verzeichnis nicht gefunden In file included from XineMediaPlayer.cpp:12: qxinewidget.h:112: error: ISO C++ forbids declaration of `xine_t' with no type qxinewidget.h:112: error: Syntaxfehler before `*' token qxinewidget.h:127: error: Syntaxfehler before `*' token qxinewidget.h:129: error: semicolon missing after declaration of `QXineWidget' qxinewidget.h: In member function `QString QXineWidget::GetCurrentTitle() const ': qxinewidget.h:98: error: `currentTitle' undeclared (first use this function) qxinewidget.h:98: error: (Each undeclared identifier is reported only once for each function it appears in.) qxinewidget.h: At global scope: qxinewidget.h:129: error: two or more data types in declaration of ` SaveXineConfig' qxinewidget.h:129: error: invalid return type for function `QXineWidget SaveXineConfig()' qxinewidget.h:129: error: because the following virtual functions are abstract: /usr/lib/qt-3.3/include/qthread.h:109: error: virtual void QThread::run() qxinewidget.h: In function `const QString& GetXineMessage()': qxinewidget.h:131: error: `xineMessage' undeclared (first use this function) qxinewidget.h: At global scope: qxinewidget.h:136: error: Syntaxfehler before `protected' qxinewidget.h:157: error: Syntaxfehler before `public' qxinewidget.h: In function `void slotSetMetaString(const QString&)': qxinewidget.h:159: error: `metaString' undeclared (first use this function) qxinewidget.h: At global scope: qxinewidget.h:162: error: virtual outside class declaration qxinewidget.h:163: error: virtual outside class declaration qxinewidget.h:214: error: Syntaxfehler before `private' qxinewidget.h:220: error: Syntaxfehler before `protected' qxinewidget.h:222: error: virtual outside class declaration qxinewidget.h:223: error: virtual outside class declaration qxinewidget.h:224: error: virtual outside class declaration qxinewidget.h:227: error: type specifier omitted for parameter ` xine_cfg_entry_t' qxinewidget.h:227: error: Syntaxfehler before `*' token qxinewidget.h:228: error: type specifier omitted for parameter ` xine_cfg_entry_t' qxinewidget.h:228: error: Syntaxfehler before `*' token qxinewidget.h:242: error: Syntaxfehler before `*' token qxinewidget.h:246: error: Syntaxfehler before `protected' qxinewidget.h:248: error: Syntaxfehler before `*' token qxinewidget.h:249: error: Syntaxfehler before `*' token qxinewidget.h:250: error: Syntaxfehler before `*' token qxinewidget.h:254: error: Syntaxfehler before `private' qxinewidget.h:269: error: `QString xineMessage' used prior to declaration qxinewidget.h:282: error: 'x11_visual_t' is used as a type, but is not defined as a type. qxinewidget.h:283: error: Syntaxfehler before `*' token qxinewidget.h:285: error: Syntaxfehler before `*' token qxinewidget.h:286: error: Syntaxfehler before `*' token qxinewidget.h:287: error: Syntaxfehler before `*' token qxinewidget.h:303: error: `QString currentTitle' used prior to declaration qxinewidget.h:309: error: `QString metaString' used prior to declaration qxinewidget.h:326: error: Syntaxfehler before `}' token XineMediaPlayer.cpp: In constructor `MediaPlayer::MediaPlayer(QWidget*)': XineMediaPlayer.cpp:22: error: cannot allocate an object of type `QXineWidget' XineMediaPlayer.cpp:22: error: since type `QXineWidget' has abstract virtual functions XineMediaPlayer.cpp: In member function `bool MediaPlayer::setPosition(long int)': ...

And so on.
I've got absolutely no clue, what the problem is
I had id3lib installed but it apparently wasn't the right one, because I had the same error messages like someone already reported in the thread. Then I installed a self-compiled version and now I get those error messages.

Anyone some ideas?

I'm really glad, that there's a Linux version of MediaCar, because a friend of mine build a CarPC in his car, but he runs Windows and MediaCar and that's an absolut NONO for me, also at home
So
Scyx is offline   Reply With Quote
Old 03-28-2005, 02:05 AM   #248
Variable Bitrate
 
NoPistonPC's Avatar
 
Join Date: Apr 2004
Location: Boston
Posts: 360
NoPistonPC is on a distinguished road
can you tell me the exact commands you typed to build headunit?

also, can you translate this to english:

"In Datei, eingefügt von XineMediaPlayer.cpp:12:
qxinewidget.h:60:18: xine.h: Datei oder Verzeichnis nicht gefunden"

P.S. In case some of you are wondering, there haven't been any recent updates to the code. All I have time for these days is to provide a bit of support for people trying to get headunit running. Maybe this summer I will have more time...
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)

Last edited by NoPistonPC; 03-28-2005 at 02:32 AM..
NoPistonPC is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 03-28-2005, 03:49 AM   #249
Newbie
 
Join Date: Mar 2005
Posts: 3
Scyx is on a distinguished road
I just used, as said in the "INSTALL" file, "qmake" and after that "make".
It sais: "Inserted in file of XineMediaPlayer.cpp:12
qxinewidget.h:60:18: xine.h: File or directory not found"
Here's the last 3 to 4 lines before the prompt in the shell:
Code:
qxinewidget.h:236: Warnung: `void DestSizeCallback(void*, int, int, double, int*, int*, double*)' declared `static' but never defined qxinewidget.h:240: Warnung: `void FrameOutputCallback(void*, int, int, double, int*, int*, int*, int*, double*, int*, int*)' declared `static' but never defined qxinewidget.h:242: Warnung: `void XineEventListener(...)' declared `static' but never defined make: *** [XineMediaPlayer.o] Error/Failure 1

I translated the "Error/Failure" output directly, but I don't know what would be the exact word there in english.

Actually I didn't wonder because I didn't notice, but I absolutely understand it, when your too busy from college to continue what you would like to continue The support is already a big help in cases like this with numerous of crazy warnings or errorrs
Scyx is offline   Reply With Quote
Old 03-28-2005, 07:35 AM   #250
Newbie
 
Join Date: Aug 2004
Posts: 9
rickcorp is on a distinguished road
Any new releases scheduled for this, I am very interested in this as, I believe a linux option at this point seems to me a better way to proceed?

Thanks, and great work so far.
Rick
rickcorp is offline   Reply With Quote
Old 03-29-2005, 12:54 AM   #251
Variable Bitrate
 
NoPistonPC's Avatar
 
Join Date: Apr 2004
Location: Boston
Posts: 360
NoPistonPC is on a distinguished road
Scyx, I think the problem is that xine isn't installed properly. If you have installed the xine package in fedora, make sure that it also installs the headers and libraries. I haven't used fedora in a while so I can't remember if there is a separate xine development package. If there is, you may have to install that. Otherwise, you can always download the source from the URL specified in the INSTALL file and compile it yourself (./configure --enable-sdl && make && make install).

In any case, that's the reason you're getting the errors.

While you're at it, make sure you also have all the other libraries installed that are listed in the INSTALL file.

rick, no new releases are scheduled at this point, but like I said before, I may have time this summer. Regarding using linux as the basis for a CarPC, I think it is a great alternative to Windows. If we can put together a complete CarPC distribution, many more people will be able to use it...even those that don't know anything about Linux. Also, despite what others have said (who probably haven't tried recent versions of Wine), most of the popular Windows-based GPS software, like Destinator and iGuidance, run perfectly fine using Wine.

But, having said all this, it does take a lot more effort to get something up and running in linux (as you can see from the posts in this thread). But, I see the CarPC is a hobby, and building the software is as much fun for me as the hardware. Now, if only I had more time... Maybe if I did a little less of this: ...i would.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
NoPistonPC is offline   Reply With Quote
Old 03-29-2005, 03:43 AM   #252
Newbie
 
Join Date: Mar 2005
Posts: 3
Scyx is on a distinguished road
Alrighty Now, the compilaton works fine Apperantly the FC packages of xine-lib weren't build with explicit SDL support.
But there's no another problem... I can start headunit, then select the directory where to search for music, it also syncs the database, but when I then want to start the UI, all I get is lots of these errors:
Code:
QSqlQuery::prepare: database not open QSqlQuery::exec: database not open

and just before the prompt:
Code:
Segmentation fault

@NoPistonPC: Any idea, what this could be? As I know my luck, probably incompatibilty with FC

[edit] I should better read carefully the rest of the postings
I'm now trying the solutions that are there mentionned about loading the SQL driver

[edit2] I already compiled QT on my own yesterday, but, to not mess up with the installled QT it wanted to make a RPM using checkinstall, worked good. But as I wanted to install, it didn't work.
So my question now, how can I load manually this SQL driver? All the necessary files should be in the directory where I configured and "maked" QT, or am I wrong?

Last edited by Scyx; 03-29-2005 at 03:58 AM..
Scyx is offline   Reply With Quote
Old 04-10-2005, 03:53 PM   #253
ddn
Variable Bitrate
 
Join Date: Dec 2004
Posts: 295
ddn is on a distinguished road
Quote: Originally Posted by NoPistonPC
Also, despite what others have said (who probably haven't tried recent versions of Wine), most of the popular Windows-based GPS software, like Destinator and iGuidance, run perfectly fine using Wine.

I actually did try iGuidance (2.0) under the latest WINE and it ran well except it crashed a lot. Do you have it running "perfectly", because I would honestly like to hear more. It is the only thing stopping me from running Linux and quite frankly it sucks. Were there some tweaks you made?

Let us know.
ddn is offline   Reply With Quote
Old 04-11-2005, 06:54 AM   #254
Newbie
 
Join Date: Apr 2005
Posts: 4
Allan_MA70 is on a distinguished road
anyone tryed this under xbox linux?
Allan_MA70 is offline   Reply With Quote
Old 04-11-2005, 07:29 PM   #255
Variable Bitrate
 
NoPistonPC's Avatar
 
Join Date: Apr 2004
Location: Boston
Posts: 360
NoPistonPC is on a distinguished road
Quote: Originally Posted by ddn
I actually did try iGuidance (2.0) under the latest WINE and it ran well except it crashed a lot. Do you have it running "perfectly", because I would honestly like to hear more. It is the only thing stopping me from running Linux and quite frankly it sucks. Were there some tweaks you made?

Let us know.

Can you post the app defaults you used? I don't have mine anymore, but I can probably start with yours and figure out which native DLLs to use... also, sometimes, older windows DLLs work better... If we do put together a distro, all these details can be hidden from the end user.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)

Last edited by NoPistonPC; 04-11-2005 at 07:32 PM..
NoPistonPC is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CarPC sound through car speakers without a headunit?, how? DSM97RS Car Audio 40 07-03-2006 07:38 AM
More Fuel to the Fire (New Frontend Software Screenshots) qjones Other Cool Front Ends 82 10-20-2005 04:38 PM



All times are GMT -5. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics