dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
107 stars 63 forks source link

Compiling under debian Jessie not working #16

Open hoeste opened 8 years ago

hoeste commented 8 years ago

I have tried to compile ircddbgateway under a brand new install of debian Jessie. I get the following error message.

g++ -I../Common -g -O2 -m32 -Wall -Wno-non-virtual-dtor -Wno-strict-aliasing -DLOG_DIR='"/var/log/opendv"' -DCONF_DIR='"/home/opendv/ircddbgateway"' -DDATA_DIR='"/home/opendv/data"' -DBIN_DIR='"/usr/bin"' -DDCS_LINK -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSETBITS=64 -DWXUSINGDLL -DWXGTK -pthread -c RepeaterDataSet.cpp RepeaterDataSet.cpp: In member function ‘virtual wxString CRepeaterDataSet::getReflector() const’: RepeaterDataSet.cpp:484:31: error: call of overloaded ‘Append(int)’ is ambiguous reflector.Append(wxT('A') + c); ^ RepeaterDataSet.cpp:484:31: note: candidates are: In file included from /usr/include/wx-3.0/wx/memory.h:15:0, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from AddressTextCtrl.h:22, from RepeaterDataSet.h:22, from RepeaterDataSet.cpp:19: /usr/include/wx-3.0/wx/string.h:2008:13: note: wxString& wxString::Append(const wxString&) wxString& Append(const wxString& s) ^ /usr/include/wx-3.0/wx/string.h:2017:13: note: wxString& wxString::Append(const char) wxString& Append(const char psz) ^ /usr/include/wx-3.0/wx/string.h:2017:13: note: no known conversion for argument 1 from ‘int’ to ‘const char’ /usr/include/wx-3.0/wx/string.h:2019:13: note: wxString& wxString::Append(const wchart) wxString& Append(const wchar_t* pwz) ^ /usr/include/wx-3.0/wx/string.h:2019:13: note: no known conversion for argument 1 from ‘int’ to ‘const wchart’ /usr/include/wx-3.0/wx/string.h:2021:13: note: wxString& wxString::Append(const wxCStrData&) wxString& Append(const wxCStrData& psz) ^ /usr/include/wx-3.0/wx/string.h:2021:13: note: no known conversion for argument 1 from ‘int’ to ‘const wxCStrData&’ /usr/include/wx-3.0/wx/string.h:2038:13: note: wxString& wxString::Append(wxUniChar, size_t) wxString& Append(wxUniChar ch, size_t count = 1u) ^ /usr/include/wx-3.0/wx/string.h:2042:13: note: wxString& wxString::Append(char, size_t) wxString& Append(char ch, size_t count = 1u) ^ /usr/include/wx-3.0/wx/string.h:2044:13: note: wxString& wxString::Append(unsigned char, size_t) wxString& Append(unsigned char ch, size_t count = 1u) ^ /usr/include/wx-3.0/wx/string.h:2046:13: note: wxString& wxString::Append(wchar_t, size_t) wxString& Append(wchar_t ch, sizet count = 1u) ^ Makefile:38: recipe for target 'RepeaterDataSet.o' failed make[1]: ** [RepeaterDataSet.o] Error 1 make[1]: Leaving directory '/home/ve7oes/src/ircDDBGateway-2015-08/GUICommon' Makefile:39: recipe for target 'GUICommon/GUICommon.a' failed make: *\ [GUICommon/GUICommon.a] Error 2

Is it possible to fix this error? Thanks Hans Oeste VE7OES

SpudGunMan commented 8 years ago

might try it again with the following packages works for me anyway..

sudo apt-get install build-essential libwxgtk2.8-dev portaudio19-dev python-serial wiringPi libusb-1.0-0-dev chkconfig

johnhays commented 8 years ago

Libwxgtk2.8 is deprecated on Jesse. You may need to try 3.0. On Dec 26, 2015 9:30 PM, "SpudGunMan" notifications@github.com wrote:

might try it again with the following packages works for me anyway..

sudo apt-get install build-essential libwxgtk2.8-dev portaudio19-dev python-serial wiringPi libusb-1.0-0-dev chkconfig

— Reply to this email directly or view it on GitHub https://github.com/dl5di/OpenDV/issues/16#issuecomment-167381984.

n8ohu commented 8 years ago

I'm not sure how compatible with 3.0 it is, due to the massive revisions made during in the 2.9 development cycle. It would have been nice if there was some effort made to develop a compatibility library set to handle the changes, but as far as I know, the WxWidgets team didn't do that.

ph0dv commented 8 years ago

Same issue here. with 3.0 you get the same error: Makefile:38: recipe for target 'RepeaterDataSet.o' failed make[1]: *\ [RepeaterDataSet.o] Error 1

F4FXL commented 8 years ago

Hi All,

Under Sid I compiled wx2.8 from source package ... Works fine ....

SpudGunMan commented 8 years ago

Additionally wiki shows steps to compile

https://github.com/dl5di/OpenDV/wiki/ircDDB-Gateway

F4FXL commented 8 years ago

Yes, it does but Jonathan said he has plans to move to wxWidgets3.0 .... Here a pull request to make the code compile with wx3.0 (not mine) https://github.com/dl5di/OpenDV/pull/30

SpudGunMan commented 8 years ago

yes I saw that

ph0dv commented 8 years ago

There is a depency: libwxbase2.8-0_2.8.12 needs libtiff4

SpudGunMan commented 8 years ago

the code base is moved to wx3.0 now, so please update code and move to wx3.0 for all testing with the github code main branch

ph0dv commented 8 years ago

Hello,

sudo apt-get upgrade apt-get upgrade apt-get install git build-essential libwxgtk3.0-dev portaudio19-dev libusb-1.0-0-dev chkconfig cd //tmp wget http://repo1.ham-digital.net/debian/dl5di.pk apt-key add dl5di.pk cd ~ git clone https://github.com/dl5di/OpenDV.git cd OpenDV/ git pull cd ircDDBGateway make make install ircddbgateway

I get the message: Gtk-Message: Failed to load module "canberra-gtk-module"

The program is starting!!

Kind regards,

PH0DV Dick

ph0dv commented 8 years ago

apt-get install libcanberra-gtk-module:i386

did do the job

ph0dv commented 8 years ago

I found a little bug:

In ircddbgatewayconfig on tab Repeater 1 i save Reflector XRF088 C - Startup Yes.

When i startup ircddbgateway then it connect on XRF088 A. I tried multiple reflectors.

73's PH0DV

SpudGunMan commented 8 years ago

this isnt a support thread.. it should be closed please post support in the yahoo group.

ph0dv commented 8 years ago

Ok, thanks for the work.... compiling works fine now.

73's PH0DV

K2IE commented 8 years ago

No issue with wx libs on Debian 8.5 (Jessie). Issue should be closed.

johnhays commented 8 years ago

Most complaints are from people trying install pre-compiled packages that use WX-2.8 on Jessie. The distributed binaries need to be updated.

On Mon, Aug 15, 2016 at 11:17 AM, K2DLS notifications@github.com wrote:

No issue with wx libs on Debian 8.5 (Jessie). Issue should be closed.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dl5di/OpenDV/issues/16#issuecomment-239882270, or mute the thread https://github.com/notifications/unsubscribe-auth/AGP0etpempkZB_cmOPIaB0ksUHtSuYQwks5qgK0fgaJpZM4Gaq1j .


John D. Hays K7VE

PO Box 1223, Edmonds, WA 98020-1223 http://k7ve.org/blog http://twitter.com/#!/john_hays

sp2ong commented 6 years ago

I would like to compile ircddbgateway on Debian 8 which is without GUI, for this reason, I use switch in configure --without-gui but configure still request

wxWidgets must be installed on your system

F4FXL commented 6 years ago

Wx is required. Compiling with no fui only leaves the gui things off the compilation I.e. the graphical programs won't get compiled. Wx brings than just ui elements.

Le 14 janvier 2018 12:37:53 GMT+01:00, Waldek notifications@github.com a écrit :

I would like to compile ircddbgateway on Debian 8 which is without GUI, for this reason, I use switch in configure --without-gui but configure still request

wxWidgets must be installed on your system

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/dl5di/OpenDV/issues/16#issuecomment-357505508

sp2ong commented 6 years ago

Ok I am asking about this because if I try to install libwxgtk3.0 on Debian 8.10

sudo apt-get install libwxgtk3.0-dev Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: libwxgtk3.0-dev : Depends: libgl1-mesa-dev but it is not going to be installed or libgl-dev Depends: xlibmesa-glu-dev or libglu-dev E: Unable to correct problems, you have held broken packages.

and I can not find why is problem with install libwxgtk3.0

F4FXL commented 6 years ago

Did you follow the instructions here ? https://github.com/dl5di/OpenDV/blob/master/README.md especially installation of prerequisites. Did you apt update? (Sounds stupid but just to be sure)

One of the reasons which drove to upgrade to wx3.0 was that wx2.8 was being obsoleted under Jessie.

Which system are you compiling on? Raspberry pi?

Le 14 janvier 2018 13:08:18 GMT+01:00, Waldek notifications@github.com a écrit :

Ok I am asking about this because if I try to install libwxgtk3.0 on Debian 8.10

sudo apt-get install libwxgtk3.0-dev Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: libwxgtk3.0-dev : Depends: libgl1-mesa-dev but it is not going to be installed or libgl-dev Depends: xlibmesa-glu-dev or libglu-dev E: Unable to correct problems, you have held broken packages.

and I can not find why is problem with install libwxgtk3.0

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/dl5di/OpenDV/issues/16#issuecomment-357507328

sp2ong commented 6 years ago

Yes, I have done following instruction. I have use Debian on small SB computer (it is not RPI)

I have solve problem use

sudo aptitude install libwxgtk3.0-dev

instead apt-get

aptitude help me solve dependence

F4FXL commented 6 years ago

oh ok, I mainly use apt and no more apt-get ...

sp2ong commented 6 years ago

If you are looking to wiki:

https://github.com/dl5di/OpenDV/wiki/ircDDB-Gateway-Installation

where are examples which suggest use 'apt-get' instead 'apt'

F4FXL commented 6 years ago

This is completly out of date unfortunately ... :(

If you are looking to wiki:
https://github.com/dl5di/OpenDV/wiki/ircDDB-Gateway-Installation
where are examples which suggest use 'apt-get' instead 'apt'

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dl5di/OpenDV","title":"dl5di/OpenDV","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/dl5di/OpenDV"}},"updates":{"snippets":[{"icon":"PERSON","message":"@sp2ong in #16: If you are looking to wiki:\r\n\r\nhttps://github.com/dl5di/OpenDV/wiki/ircDDB-Gateway-Installation\r\n\r\nwhere are examples which suggest use 'apt-get' instead 'apt'\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/dl5di/OpenDV/issues/16#issuecomment-357535387"}}}

vk4tux commented 6 years ago

Geoffrey re,

Do I understand this aprstransmitd program works seperate to the aprs reporting done via the ircddbgateway config ? Hence it does not handle the lastes THD74 dprs reporting ?

Can you please advise it's purpose/usage please? Sorry if i am a bit late, I just got unglued from wx2.8.

We are running it on W5AW ;

http://w5aw.dstargateway.org/aprsb.txt

Thankyou

Adrian ... vk4tux

F4FXL commented 6 years ago

Hi Adrian,

This only takes APRS frames on the APRSIS network and sends them on your DStar repeater. My primary reason to write this was to send wx data on our repeater as the ID5100 and ID51 plus support them. This works the opposite way than reporting. To add support for the thd74 one has to modify the code of ircddbgateway as ircddbgateway does the job of reporting. I am familiar with the APRS part of the code I am missing a thd74 to do it. I might be able to get my hands one one during next Fall/Winter.

73 Geoffrey F4FXL / KC3FRA

vk4tux commented 6 years ago

Geoff, Ok so it is working the other way, bring data in to TX on W5AW, that explains the verbose I see,.

We are running ;

command line usage: aprstransmitd [-password

] [-host ] [-port ] [-filter [;/var/www/html/aprsb.txt & I'm not sure what/how the filter works, but I used your example. With the TH-D74 recent feature the radios are reporting to aprs.fi with the repeater callsign, and not the user. Thankyou Adrian ... vk4tux -----Original Message----- From: Geoffrey Merck Reply-to: dl5di/OpenDV To: dl5di/OpenDV Cc: Adrian Fewster , Comment Subject: Re: [dl5di/OpenDV] Compiling under debian Jessie not working (#16) Date: Sun, 15 Jul 2018 23:36:57 -0700 Hi Adrian, This only takes APRS frames on the APRSIS network and sends them on your DStar repeater. My primary reason to write this was to send wx data on our repeater as the ID5100 and ID51 plus support them. To add support for the thd74 one has to modify the code of ircddbgateway as ircddbgateway does the job of reporting. I am familiar with the APRS part of the code I am missing a thd74 to do it. I might be able to get my hands one one during next Fall/Winter. 73 Geoffrey F4FXL / KC3FRA — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
vk4tux commented 6 years ago

Geoff, Also I have been using the https://apps.magicbug.co.uk/passcode/ site to generate password Numbers for your system aprstransmitd argument requirement per callsign. Is that correct please ?

Adrian ... vk4tux

-----Original Message----- From: Geoffrey Merck notifications@github.com Reply-to: dl5di/OpenDV <reply +00854660f8aa2055cfb6baeb8c36e6e689a2af6921ce2b8592cf000000011763ff0992a169ce06d6e29d@reply.github.com> To: dl5di/OpenDV OpenDV@noreply.github.com Cc: Adrian Fewster vk4tux@gmail.com, Comment comment@noreply.github.com Subject: Re: [dl5di/OpenDV] Compiling under debian Jessie not working (#16) Date: Sun, 15 Jul 2018 23:36:57 -0700

APRSIS network

vk4tux commented 6 years ago

Regarding the "m/50" filter, I take from looking up info ;

m/dist My Range filter This is the same as the range filter except that the center is defined as the last known position of the logged in client.

That the filter keeps stations 50 km witing the range of W5AW reported, I assume. (it's all new to me)

The feature looks useful.

Thanlkyou

Adrian ... vk4tux

-----Original Message----- From: Adrian vk4tux@gmail.com To: dl5di/OpenDV <reply +00854660f8aa2055cfb6baeb8c36e6e689a2af6921ce2b8592cf000000011763ff0992a169ce06d6e29d@reply.github.com> Cc: dl5di/OpenDV OpenDV@noreply.github.com, Comment comment@noreply.github.com Subject: Re: [dl5di/OpenDV] Compiling under debian Jessie not working (#16) Date: Mon, 16 Jul 2018 16:49:12 +1000

Geoff, Ok so it is working the other way, bring data in to TX on W5AW, that explains the verbose I see,.

We are running ;

command line usage: aprstransmitd [-password

] [-host ] [-port ] [-filter [;/var/www/html/aprsb.txt & I'm not sure what/how the filter works, but I used your example. With the TH-D74 recent feature the radios are reporting to aprs.fi with the repeater callsign, and not the user. Thankyou Adrian ... vk4tux -----Original Message----- From: Geoffrey Merck Reply-to: dl5di/OpenDV To: dl5di/OpenDV Cc: Adrian Fewster , Comment Subject: Re: [dl5di/OpenDV] Compiling under debian Jessie not working (#16) Date: Sun, 15 Jul 2018 23:36:57 -0700 Hi Adrian, This only takes APRS frames on the APRSIS network and sends them on your DStar repeater. My primary reason to write this was to send wx data on our repeater as the ID5100 and ID51 plus support them. To add support for the thd74 one has to modify the code of ircddbgateway as ircddbgateway does the job of reporting. I am familiar with the APRS part of the code I am missing a thd74 to do it. I might be able to get my hands one one during next Fall/Winter. 73 Geoffrey F4FXL / KC3FRA — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.