Comments (22)
Did you update git submodules and rerun configure?
./configure will tell you which git command to run if a submodule is missing
from opencubicplayer.
Updated the Makefile to use hexdump instead now in git master
from opencubicplayer.
Before I dive into this. Does the stock TiMidity+ compile ok?
from opencubicplayer.
master has been patched. Can you please try. Might be other similar issues with other symbols
from opencubicplayer.
With the above change:
clang -g -O2 -fno-common -fPIC -Wall -I.././ -dynamiclib -flat_namespace -undefined suppress -o playhvl.dylib loader.o player.o hvlpchan.o hvlpdots.o hvlpinst.o hvlpplay.o hvlplay.o hvlpt
rak.o
duplicate symbol _ht in:
hvlpchan.o
hvlpdots.o
duplicate symbol _plInstUsed in:
hvlpchan.o
hvlpdots.o
duplicate symbol _ht in:
hvlpchan.o
hvlpinst.o
duplicate symbol _plInstUsed in:
hvlpchan.o
hvlpinst.o
duplicate symbol _ht in:
hvlpchan.o
hvlpplay.o
duplicate symbol _plInstUsed in:
hvlpchan.o
hvlpplay.o
duplicate symbol _ht in:
hvlpchan.o
hvlplay.o
duplicate symbol _plInstUsed in:
hvlpchan.o
hvlplay.o
duplicate symbol _ht in:
hvlpchan.o
hvlptrak.o
duplicate symbol _plInstUsed in:
hvlpchan.o
hvlptrak.o
ld: 10 duplicate symbols for architecture x86_64
from opencubicplayer.
Can you please retest again the latest master
from opencubicplayer.
Looks like that fixed it. Did you have a date in mind for the next release?
from opencubicplayer.
I'm head deep into sidplayfp, after that I plan a release. Going to need compile test of that. Some few weeks from now I hope
from opencubicplayer.
@EricFromCanada can you please compiletest the latest master, and test to play a .SID file? Example file to test http://hvsc.csdb.dk/MUSICIANS/H/Huelsbeck_Chris/Great_Giana_Sisters.sid
(This plugin can currently potentially contain linking problems)
from opencubicplayer.
...
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C playsid TOPDIR=.././
clang -g -O2 -fno-common -fPIC -Wall -I.././ sidptype.c -o sidptype.o -c
clang -g -O2 -fno-common -fPIC -Wall -I.././ -dynamiclib -flat_namespace -undefined suppress -o sidtype.dylib sidptype.o
clang++ -g -O2 -fno-common -fPIC -Wall -I.././ cpiinfo.cpp -o cpiinfo.o -c
clang++ -std=c++11 -DHAVE_CONFIG_H=1 -DSIDTUNE_NO_STDIN_LOADER=1 -DPACKAGE_NAME=\"sidplayfp\" -DVERSION=\"2.0.1\" -DPACKAGE_VERSION=\"2.0.1-1\" -DPACKAGE_URL=\"\" -I.. -g -O2 -fno-common -fPIC -I./sidplayfp-config -I./sidplayfp-git/libsidplayfp/src sidplay.cpp -o sidplay.o -c
clang++ -g -O2 -fno-common -fPIC -Wall -I.././ sidpplay.cpp -o sidpplay.o -c
sidpplay.cpp:56:10: fatal error: 'sidplayfp/SidTuneInfo.h' file not found
#include <sidplayfp/SidTuneInfo.h>
^
1 error generated.
make[1]: *** [sidpplay.o] Error 1
make: *** [dirs] Error 2
HOMEBREW_VERSION: 2.2.6-54-ge88eea6
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: e88eea64129b68cdec24e0d82522b8a4ad2d8646
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ac6d14452798aa937ef88f9441516eb31d378597
Core tap last commit: 85 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CACHE: /Users/eric/Library/Caches/Homebrew
HOMEBREW_LOGS: /Users/eric/Library/Logs/Homebrew
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 8.0 build 800
Git: 2.25.0 => /usr/local/opt/git/bin/git
Curl: 7.43.0 => /usr/bin/curl
Java: 1.8.0_111, 1.6.0_65-b14-468
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libogg/lib/pkgconfig:/usr/local/opt/flac/lib/pkgconfig:/usr/local/opt/libvorbis/lib/pkgconfig:/usr/local/opt/mad/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
HOMEBREW_GIT: /usr/local/opt/git/bin/git
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/xa/bin:/usr/local/opt/flac/bin:/usr/bin:/bin:/usr/sbin:/sbin
from opencubicplayer.
test now. I had some left-over files of libsidplayfp in my /usr/local/include
from opencubicplayer.
Progress:
...
clang++ -std=c++11 -DHAVE_CONFIG_H=1 -DSIDTUNE_NO_STDIN_LOADER=1 -DPACKAGE_NAME=\"sidplayfp\" -DVERSION=\"2.0.1\" -DPACKAGE_VERSION=\"2.0.1-1\" -DPACKAGE_URL=\"\" -g -O2 -fno-common -fPIC -I./sidplayfp-config -I./sidplayfp-git/libsidplayfp/src -o libsidplayfp-sidplayfp-SidTuneInfo.o sidplayfp-git/libsidplayfp/src/sidplayfp/SidTuneInfo.cpp -c
clang++ -std=c++11 -DHAVE_CONFIG_H=1 -DSIDTUNE_NO_STDIN_LOADER=1 -DPACKAGE_NAME=\"sidplayfp\" -DVERSION=\"2.0.1\" -DPACKAGE_VERSION=\"2.0.1-1\" -DPACKAGE_URL=\"\" -g -O2 -fno-common -fPIC -I./sidplayfp-config -I./sidplayfp-git/libsidplayfp/src -o libsidplayfp-sidtune-p00.o sidplayfp-git/libsidplayfp/src/sidtune/p00.cpp -c
clang++ -std=c++11 -DHAVE_CONFIG_H=1 -DSIDTUNE_NO_STDIN_LOADER=1 -DPACKAGE_NAME=\"sidplayfp\" -DVERSION=\"2.0.1\" -DPACKAGE_VERSION=\"2.0.1-1\" -DPACKAGE_URL=\"\" -g -O2 -fno-common -fPIC -I./sidplayfp-config -I./sidplayfp-git/libsidplayfp/src -o libsidplayfp-sidtune-prg.o sidplayfp-git/libsidplayfp/src/sidtune/prg.cpp -c
o65file=`echo sidplayfp-git/libsidplayfp/src/sidtune/sidplayer1.bin | sed 's/bin/o65/'`; \
xa -R -G sidplayfp-git/libsidplayfp/src/sidtune/sidplayer1.a65 -o 65file && \
od -v -An -w8 -tx1 65file | sed -re 's/[[:alnum:]]+/0x&,/g' > sidplayfp-git/libsidplayfp/src/sidtune/sidplayer1.bin && \
rm -f 65file
od: illegal option -- w
usage: od [-aBbcDdeFfHhIiLlOosvXx] [-A base] [-j skip] [-N length] [-t type]
[[+]offset[.][Bb]] [file ...]
/usr/bin/sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
make[1]: *** [sidplayfp-git/libsidplayfp/src/sidtune/sidplayer1.bin] Error 1
make: *** [dirs] Error 2
from opencubicplayer.
Notes for myself:
man-page for MAC version of od:
https://www.oreilly.com/library/view/macintosh-terminal-pocket/9781449328962/re24.html
sed:
-r adds support for extended syntax
need to test which part of the expression that does not work, and try to fix it
Or test refactoring this example instead:
hexdump -v -e '"\" "x" 1/1 "%02X"' file.bin ; echo
or use:
xxd
from opencubicplayer.
so, it all compiles well? :-)
from opencubicplayer.
It compiled and ran, but only output noise when attempting to play the mentioned .SID file.
from opencubicplayer.
Trying to get a VirtualBox up and running with OS-X. Go an image booting, but now requires an AppleID to continue ;-)
from opencubicplayer.
You can skip that.
from opencubicplayer.
Was able to get brew installed, and the dependencies, and build Open Cubic Player... but
VirtualBox with macOS as guest, on non macOS host, does not seem to work for audio...
from opencubicplayer.
Supposedly MultiBeast can rectify this.
from opencubicplayer.
Done several attempts with MultiBeast, and most of the versions fails to "Build".
Until somebody can provide a working virtual machine image, or provide remote access (TeamViewer for instance), I can not fix problems specific for this platform
from opencubicplayer.
Hey, same bug / different platform (Manjaro 20.0.3 Kernel 5.6.19-2)
When I attempt to install ocp from the AUR (ocp 0.2.1-1)....
/usr/bin/ld: timidity-git/timidity/timidity.o:(.bss+0x140): multiple definition of
got_a_configuration'; timidityplay.o:(.bss+0x8c4): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:185: playtimidity.so] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-pyrate/ocp/src/opencubicplayer/playgmi'
make: *** [Makefile:155: dirs] Error 2
`
Have been enjoying ocp for years, I appreciate your dedication to this ongoing project. Will be around for any needed assistance.
from opencubicplayer.
@pyrate01: This should be fixed in 0.2.2 already. I keep this bug open until I have access to OSX and check/fix a couple of other issues (The CoreAudio native driver)
from opencubicplayer.
Related Issues (20)
- AHX replay on linux with ocp 0.2.105 HOT 1
- OCP fails to launch with libjpeg-turbo library (macOS Ventura) HOT 13
- gcc version check in configure.ac needs to check that the compiler is gcc first HOT 2
- X Error of failed request: BadMatch (invalid parameter attributes) HOT 3
- error: incompatible function pointer types HOT 4
- unifont path for ubuntu HOT 5
- no rule to make target after fresh git pull and ./configure HOT 5
- problems configuring 0.2.106 & libancient HOT 2
- Unifont no longer ships TTF fonts HOT 2
- ocp.nix (help wanted) HOT 3
- Some FLAC files fail to play HOT 3
- SPC files don't loop
- OCP 0.2.107 won't configure, syntax error HOT 7
- audio/x-lds magic rule is too broad HOT 1
- Is default `ocp` build static? HOT 6
- Shuffle is not random HOT 5
- SIGABRT while playing a tracker file HOT 1
- Segfault when playing specific broken(?) files from playlist HOT 3
- mixResample=on breaks analyser
- Prebuild windows os 32/64 bit HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencubicplayer.