jontio / JMPX

FM Stereo encoder with RDS support
https://jontio.zapto.org/hda1/paradise/jmpxencoder/jmpx.html
56 stars 8 forks source link

compile error [final make] of the git clone jmpx #1

Closed allegfede closed 7 years ago

allegfede commented 7 years ago

hi jontio. Everything running well from when you start the project, but now i wish to refresh some machines with the new version on jmpx. So git cloned the repository and followed the steps on the wiki on compiling over a raspberry platform. But running the final make i got this error:

fileloader.cpp: In member function ‘void FileLoader::fileLoadErrorTimeout()’:
fileloader.cpp:18:34: error: invalid use of incomplete type ‘struct QStringList’
/usr/include/qt4/QtCore/qstring.h:77:7: error: forward declaration of ‘struct QStringList’
fileloader.cpp: In member function ‘void FileLoader::set_filename(QString, bool)’:
fileloader.cpp:28:27: error: invalid use of incomplete type ‘struct QStringList’
/usr/include/qt4/QtCore/qstring.h:77:7: error: forward declaration of ‘struct QStringList’
fileloader.cpp:35:28: error: invalid use of incomplete type ‘struct QStringList’
/usr/include/qt4/QtCore/qstring.h:77:7: error: forward declaration of ‘struct QStringList’
fileloader.cpp:35:84: error: invalid use of incomplete type ‘struct QStringList’
/usr/include/qt4/QtCore/qstring.h:77:7: error: forward declaration of ‘struct QStringList’
Makefile:328: set di istruzioni per l'obiettivo "fileloader.o" non riuscito
make: *** [fileloader.o] Errore 1

shell i miss something?

cheers

jontio commented 7 years ago

Hi Federico,

I just had a look and it seems one of the member functions uses the class QStringList but I didn't include it. So that was my mistake.

Adding the line #include to fileloader.cpp that should fix the problem.

Currently I'm working on adding SCA to JMPX so I'll complete that and add the missing line to the next push to GitHub that I do; I should get that done in the next couple of days.

Cheers, Jonti

allegfede commented 7 years ago

Thanks jonti :-) I'll wait the push

Il 27/feb/2017 07:55 PM, "Jonti Olds" notifications@github.com ha scritto:

Hi Federico,

I just had a look and it seems one of the member functions uses the class QStringList but I didn't include it. So that was my mistake.

Adding the line #include to fileloader.cpp that should fix the problem.

Currently I'm working on adding SCA to JMPX so I'll complete that and add the missing line to the next push to GitHub that I do; I should get that done in the next couple of days.

Cheers, Jonti

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jontio/JMPX/issues/1#issuecomment-282813994, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXE2ujbjealNywOO8Fw-0jBW9FiFCN4ks5rgxwIgaJpZM4MM3tI .

jontio commented 7 years ago

Hi Federico,

I've done a push. Hopefully it will now compile on the Pi. There has been a lot of changes with 14 files changed, 1,230 additions and 131 deletions. So it's possible there maybe some new bugs that need to be found before I make an official release.

Let me know of your results with the new source.

Cheers, Jonti

allegfede commented 7 years ago

perfect :D

i had to watch your code and propose some patches, i whist to had some kind of api to check jmpx status (meters, rds, pi, etc) and push set some variables, from external app.

Wanna add an lcd (2 rows 16 colums) and 4 buttons to access the ip2FM gateway appliance without monitor keyboard and mouse :D

On Thu, Mar 2, 2017 at 12:35 AM, Jonti Olds notifications@github.com wrote:

Hi Federico,

I've done a push. Hopefully it will now compile on the Pi. There has been a lot of changes with 14 files changed, 1,230 additions and 131 deletions. So it's possible there maybe some new bugs that need to be found before I make an official release.

Let me know of your results with the new source.

Cheers, Jonti

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jontio/JMPX/issues/1#issuecomment-283507220, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXE2qazsl9TfD42m5GDon9AapnOUd0Jks5rhgC8gaJpZM4MM3tI .

-- Open TV Architecture project: http://sourceforge.net/projects/otva/

Messagenet VOIP: 5338759

YouTube Channel: v1p3r's lab

VIMEO HD videos: http://www.vimeo.com/user1912745/videos

jontio commented 7 years ago

Hi Federico,

Yes that can be done. libJMPX can be used to do such tasks. You can't use the GUI if you write a seperate program to access libJMPX directly. Alternatively you could add an IP interface or Dbus interface; lots of options.

As the original issue has been resolved and this is off topic I'll "Close and comment" this issue and email you further as to what you are wanting regarding a headless unit.

Cheers, Jonti

djsakisd commented 6 years ago

Hi @jontio can you please provide some build instructions for headless unit ?

allegfede commented 6 years ago

I suppose the main tread is to enable jack audio without a desktop enviroment.

Il 23/nov/2017 05:16 PM, "Sam F." notifications@github.com ha scritto:

Hi @jontio https://github.com/jontio can you please provide some build instructions for headless unit ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jontio/JMPX/issues/1#issuecomment-346657797, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXE2tLcnBLlcNKT7UXdo0FjnfLp9rrRks5s5ZpqgaJpZM4MM3tI .