Open pepiron opened 3 years ago
Same error
What OS are you using?
MacOS M1 Chip
It might be a problem with c++/C/C# compiling on M1 because literly every cmake command always generates some sort of error
You have any nightly builds?
If you compile a program on another computer or somebody does it for you it works great
Ohh this program is not made for arm64 architecture it seems like
You should advertise this program as MacOS MacOS Intel Chip ONLY
I wouldn't be too quick to suggest that its an issue due to arm64 chip, these builds (usually) build okay on Raspberry Pi. That error is suggesting something with ITPP specifically, so I really don't know since I never attempted to build the software on an M1 Apple before. Were you able to build and install the ITPP library okay?
I think cmake worked but when I executed the make command it made this error. MacOS is totally different then raspberry pi magnitudes different. Also Apple adds their own stuff alongsides arm64. I don't know what you mean by library. it was itpp library. maybe itpp was made for amd64 instead of arm64 because it is kinda old software. Apple made their macbooks into arm64 in late 2020. way before itpp was updated. Compatibility error itpp for M1 arm64 architecture??? can yall take this issue for itpp for yourselfs because I need some sleep
I've seen the manual download and install of ITPP fail on older x86-64 Ubuntu systems as well. I think its probably due to some changes in dependencies the cmake file for ITPP isn't looking for. You may have to take the issue up with whoever maintains ITPP currently. Debian/Ubuntu has a version of ITPP in their repo, so I usually suggest people use that instead of trying to build it anymore. In your case, I have no idea what to suggest except for try to take your issue up with ITPP at https://sourceforge.net/p/itpp/bugs/ or maybe try brew to install ITPP? Maybe that'll work? https://formulae.brew.sh/formula/itpp#default
Let me try brew
In your documentation for instillation, it says run brew install ... ittpp
. people can get confused about manully installing itpp when you could use brew. BAM. found the problem
BREW INSTALL ITPP
WORKS FLAWLESSLY`
Thanks so much!
Love, Christopher
Confirmed Documentation Problem
But one problem
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-96-g59423fa) mbelib version 1.3.0 Error, couldn't open /dev/audio
Using the command dsd
brew some coffee eeh lol
what is the output of dsd -a
that should list any portaudio devices, the defaults in this version is OSS audio (ancient) and PortAudio (garbage) so, take your pick. I have no idea if either work in newer apples at all.
BTW, this isn't my software, I just try to help people when I can.
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-96-g59423fa) mbelib version 1.3.0
If not mistaken, I believe the proper syntax is
dsd -i pa:4 -o pa:2
to set the audio input and output parameters properly, assuming you want the vbcable to be input and the speakers to be the output.
yeah
thank you and have a blessed day
ps - Christopher
Also please update that documentation on install dsd with MacOSX
Yeah, I'll get right on updating that documentation that I don't have any access to updating. Maybe Szechy will come around eventually and get it going.
If you need any other help running this, check the wiki tab or the link https://github.com/szechyjs/dsd/wiki/Operation#inputoutput-options
I have a error when do make:
[ 1%] Building CXX object CMakeFiles/dsd.dir/src/Hamming.cpp.o [ 3%] Building C object CMakeFiles/dsd.dir/src/dmr_data.c.o [ 5%] Building C object CMakeFiles/dsd.dir/src/dmr_voice.c.o [ 7%] Building C object CMakeFiles/dsd.dir/src/dsd_audio.c.o [ 9%] Building C object CMakeFiles/dsd.dir/src/dsd_dibit.c.o [ 11%] Building C object CMakeFiles/dsd.dir/src/dsd_file.c.o [ 13%] Building C object CMakeFiles/dsd.dir/src/dsd_filters.c.o [ 15%] Building C object CMakeFiles/dsd.dir/src/dsd_frame.c.o [ 17%] Building C object CMakeFiles/dsd.dir/src/dsd_frame_sync.c.o [ 19%] Building C object CMakeFiles/dsd.dir/src/dsd_main.c.o [ 21%] Building C object CMakeFiles/dsd.dir/src/dsd_mbe.c.o [ 23%] Building C object CMakeFiles/dsd.dir/src/dsd_serial.c.o [ 25%] Building C object CMakeFiles/dsd.dir/src/dsd_symbol.c.o [ 27%] Building C object CMakeFiles/dsd.dir/src/dsd_upsample.c.o [ 29%] Building C object CMakeFiles/dsd.dir/src/dstar.c.o [ 31%] Building C object CMakeFiles/dsd.dir/src/dstar_header.c.o [ 33%] Building C object CMakeFiles/dsd.dir/src/nxdn96.c.o [ 35%] Building C object CMakeFiles/dsd.dir/src/nxdn_data.c.o [ 37%] Building C object CMakeFiles/dsd.dir/src/nxdn_voice.c.o [ 39%] Building C object CMakeFiles/dsd.dir/src/p25_lcw.c.o [ 41%] Building CXX object CMakeFiles/dsd.dir/src/p25p1_check_hdu.cpp.o [ 43%] Building CXX object CMakeFiles/dsd.dir/src/p25p1_check_ldu.cpp.o [ 45%] Building CXX object CMakeFiles/dsd.dir/src/p25p1_check_nid.cpp.o [ 47%] Building C object CMakeFiles/dsd.dir/src/p25p1_hdu.c.o [ 49%] Building C object CMakeFiles/dsd.dir/src/p25p1_heuristics.c.o [ 50%] Building C object CMakeFiles/dsd.dir/src/p25p1_ldu.c.o [ 52%] Building C object CMakeFiles/dsd.dir/src/p25p1_ldu1.c.o [ 54%] Building C object CMakeFiles/dsd.dir/src/p25p1_ldu2.c.o [ 56%] Building C object CMakeFiles/dsd.dir/src/p25p1_tdu.c.o [ 58%] Building C object CMakeFiles/dsd.dir/src/p25p1_tdulc.c.o [ 60%] Building C object CMakeFiles/dsd.dir/src/pa_devs.c.o [ 62%] Building C object CMakeFiles/dsd.dir/src/provoice.c.o [ 64%] Building C object CMakeFiles/dsd.dir/src/x2tdma_data.c.o [ 66%] Building C object CMakeFiles/dsd.dir/src/x2tdma_voice.c.o [ 68%] Building C object CMakeFiles/dsd.dir/git_ver.c.o [ 70%] Linking CXX executable dsd /usr/bin/ld: CMakeFiles/dsd.dir/src/p25p1_check_nid.cpp.o: in function, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, int)'
collect2: error: ld returned 1 exit status
make[2]: [CMakeFiles/dsd.dir/build.make:617: dsd] Error 1
make[1]: [CMakeFiles/Makefile2:188: CMakeFiles/dsd.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
itpp::bin::operator=(int const&)' p25p1_check_nid.cpp:(.text._ZN4itpp3binaSERKi[_ZN4itpp3binaSERKi]+0xd3): undefined reference to
itpp::it_assert_f(std::cxx11::basic_string<char, std::char_traitsAnyone know what can it be