Ann: Radium 1.9.37

Discuss anything new and newsworthy! See http://planet.linuxaudio.org and https://libreav.org/news for more Linux Audio News!

Announcements of proprietary software may fit better in the Marketplace.


Moderators: raboof, MattKingUSA, khz

kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

studio32 wrote:Is it possible to build without PD?
Yes, of course. Sorry, I thought it was a lot of work, but it's not:

1. Remove "-DWITH_PD" from build_linux_common.sh
2. Remove line 63,64,65,66, and 67 from bin/packages/build.sh
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

Code: Select all

In file included from common/vector.c:19:0:
common/nsmtracker.h:376:49: error: unknown type name ‘ReqType’
  int (*getPatch)(struct Tracker_Windows *window,ReqType reqtype,struct Tracks *track,struct Patch *patch);
                                                 ^
make: *** [window_config.o] Error 1
make: *** [vector.o] Error 1
In file included from common/visual_proc.h:20:0,
                 from common/windows.c:25:
common/OS_visual_input.h:35:1: error: unknown type name ‘ReqType’
 extern LANGSPEC ReqType GFX_OpenReq(struct Tracker_Windows *tvisual,int width,int height,const char *title);
 ^
common/OS_visual_input.h:36:67: error: unknown type name ‘ReqType’
 extern LANGSPEC void GFX_CloseReq(struct Tracker_Windows *tvisual,ReqType reqtype);
                                                                   ^
common/OS_visual_input.h:38:38: error: unknown type name ‘ReqType’
 extern LANGSPEC void GFX_WriteString(ReqType reqtype,const char *text);
                                      ^
common/OS_visual_input.h:39:37: error: unknown type name ‘ReqType’
 extern LANGSPEC void GFX_ReadString(ReqType reqtype,char *buffer,int bufferlength);
                                     ^
common/OS_visual_input.h:42:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
common/OS_visual_input.h:47:68: error: unknown type name ‘ReqType’
 extern LANGSPEC int GFX_GetInteger(struct Tracker_Windows *tvisual,ReqType reqtype,char *text,int min,int max);
                                                                    ^
common/OS_visual_input.h:49:68: error: unknown type name ‘ReqType’
 extern LANGSPEC float GFX_GetFloat(struct Tracker_Windows *tvisual,ReqType reqtype,char *text,float min,float max);
                                                                    ^
common/OS_visual_input.h:51:69: error: unknown type name ‘ReqType’
 extern LANGSPEC char *GFX_GetString(struct Tracker_Windows *tvisual,ReqType reqtype,char *text);
                                                                     ^
common/OS_visual_input.h:55:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
common/OS_visual_input.h:62:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
common/OS_visual_input.h:70:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
make: *** [blocks.o] Error 1
make: *** [hashmap.o] Error 1
make: *** [song.o] Error 1
make: *** [windows.o] Error 1
kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

studio32 wrote:

Code: Select all

In file included from common/vector.c:19:0:
common/nsmtracker.h:376:49: error: unknown type name ‘ReqType’
  int (*getPatch)(struct Tracker_Windows *window,ReqType reqtype,struct Tracks *track,struct Patch *patch);
                                                 ^
make: *** [window_config.o] Error 1
make: *** [vector.o] Error 1
In file included from common/visual_proc.h:20:0,
                 from common/windows.c:25:
common/OS_visual_input.h:35:1: error: unknown type name ‘ReqType’
 extern LANGSPEC ReqType GFX_OpenReq(struct Tracker_Windows *tvisual,int width,int height,const char *title);
 ^
common/OS_visual_input.h:36:67: error: unknown type name ‘ReqType’
 extern LANGSPEC void GFX_CloseReq(struct Tracker_Windows *tvisual,ReqType reqtype);
                                                                   ^
common/OS_visual_input.h:38:38: error: unknown type name ‘ReqType’
 extern LANGSPEC void GFX_WriteString(ReqType reqtype,const char *text);
                                      ^
common/OS_visual_input.h:39:37: error: unknown type name ‘ReqType’
 extern LANGSPEC void GFX_ReadString(ReqType reqtype,char *buffer,int bufferlength);
                                     ^
common/OS_visual_input.h:42:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
common/OS_visual_input.h:47:68: error: unknown type name ‘ReqType’
 extern LANGSPEC int GFX_GetInteger(struct Tracker_Windows *tvisual,ReqType reqtype,char *text,int min,int max);
                                                                    ^
common/OS_visual_input.h:49:68: error: unknown type name ‘ReqType’
 extern LANGSPEC float GFX_GetFloat(struct Tracker_Windows *tvisual,ReqType reqtype,char *text,float min,float max);
                                                                    ^
common/OS_visual_input.h:51:69: error: unknown type name ‘ReqType’
 extern LANGSPEC char *GFX_GetString(struct Tracker_Windows *tvisual,ReqType reqtype,char *text);
                                                                     ^
common/OS_visual_input.h:55:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
common/OS_visual_input.h:62:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
common/OS_visual_input.h:70:2: error: unknown type name ‘ReqType’
  ReqType reqtype,
  ^
make: *** [blocks.o] Error 1
make: *** [hashmap.o] Error 1
make: *** [song.o] Error 1
make: *** [windows.o] Error 1
Seems like you deleted more than WITH_PD from build_linux_common.sh.
Only delete the word "WITH_PD" from that file.
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

I've this:


#export OS_OPTS="-DTEST_GC"
export OS_OPTS="-Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX
#-DWITH_PD"
#export OS_OPTS="-Werror=array-bounds -march=native"

Edit: oh I do miss a "
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

hm

Code: Select all

gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_mixer.c
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_mixer_connections.c
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_chip_addremove.c
make: *** No rule to make target `bin/packages/libpd-master/libs/libpds.a', needed by `bin/radium'.  Stop.
make: *** Waiting for unfinished jobs....
kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

studio32 wrote:hm

Code: Select all

gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_mixer.c
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_mixer_connections.c
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_chip_addremove.c
make: *** No rule to make target `bin/packages/libpd-master/libs/libpds.a', needed by `bin/radium'.  Stop.
make: *** Waiting for unfinished jobs....
Remove "bin/packages/libpd-master/libs/libpds.a" from build_linux_common.sh too.
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

Code: Select all

cd Qt/ && ./create_source_from_ui.sh uic moc mixer_widget
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_mixer.c
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_mixer_connections.c
gcc -c `cat buildtype.opt` -DNOPAUSEPLAY -DCOMPILING_RADIUM -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DGUIISQT -Imidi/rtmidi -DUSE_GFX_OP_QUEUE -I/usr/include/libiberty -Werror=array-bounds -msse -mfpmath=sse -DFOR_LINUX -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -DUSE_VESTIGE=1 -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 mixergui/undo_chip_addremove.c
make: *** No rule to make target `bin/packages/libpd-master/libs/libpds.a', needed by `bin/radium'.  Stop.
make: *** Waiting for unfinished jobs....
kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

Remove it from Makefile.Qt too.
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

Maybe you can make it possible to add an option to build without PD.

edit: Ok, I think I reached my limit to get this thing working ;)

Code: Select all

SoundPluginRegistry.o: In function `PR_init_plugin_types':
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:278: undefined reference to `create_faust_system_eq_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:279: undefined reference to `create_faust_system_lowpass_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:280: undefined reference to `create_faust_system_lowshelf_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:281: undefined reference to `create_faust_system_highshelf_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:282: undefined reference to `create_faust_system_delay_plugin()'
PEQrealline.o: In function `PlayerFirstRealline':
/home/derick/localpackage/git/radium/common/PEQrealline.c:91: undefined reference to `RT_PD_set_time'
PEQrealline.o: In function `PlayerNewRealline':
/home/derick/localpackage/git/radium/common/PEQrealline.c:103: undefined reference to `RT_PD_set_time'
collect2: error: ld returned 1 exit status
make: *** [bin/radium] Error 1
kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

studio32 wrote:Maybe you can make it possible to add an option to build without PD.

edit: Ok, I think I reached my limit to get this thing working ;)
Okay.
The first error is because you didn't follow the instructions in the README file.
The second error (missing RT_PD_* functions) is because I forgot to push a fix
for this after I compiled the windows version. If you haven't completely
reached the limit yet, you can just comment out the two lines which failed.
But you still need to check out the repository again and follow the
building instructions.
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

AFAIK I did everything in the README

Code: Select all

bfluidsynth.a -lsndfile   -lsamplerate   -lglib-2.0   -Wl,-Bstatic -lbfd -Wl,-Bdynamic -lz -liberty -ldl
SoundPluginRegistry.o: In function `PR_init_plugin_types':
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:278: undefined reference to `create_faust_system_eq_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:279: undefined reference to `create_faust_system_lowpass_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:280: undefined reference to `create_faust_system_lowshelf_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:281: undefined reference to `create_faust_system_highshelf_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:282: undefined reference to `create_faust_system_delay_plugin()'
collect2: error: ld returned 1 exit status
make: *** [bin/radium] Error 1
kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

studio32 wrote:AFAIK I did everything in the README

Code: Select all

bfluidsynth.a -lsndfile   -lsamplerate   -lglib-2.0   -Wl,-Bstatic -lbfd -Wl,-Bdynamic -lz -liberty -ldl
SoundPluginRegistry.o: In function `PR_init_plugin_types':
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:278: undefined reference to `create_faust_system_eq_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:279: undefined reference to `create_faust_system_lowpass_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:280: undefined reference to `create_faust_system_lowshelf_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:281: undefined reference to `create_faust_system_highshelf_plugin()'
/home/derick/localpackage/git/radium/audio/SoundPluginRegistry.cpp:282: undefined reference to `create_faust_system_delay_plugin()'
collect2: error: ld returned 1 exit status
make: *** [bin/radium] Error 1
I don't think you did this step:

Code: Select all

 touch audio/*.cpp common/gfx_op_queue_generated.c common/visual_op_queue_proc.h
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

I did that step too.
kmatheussen
Established Member
Posts: 153
Joined: Thu Jul 05, 2012 7:47 am

Re: Ann: Radium 1.9.37

Post by kmatheussen »

studio32 wrote:I did that step too.
Perhaps, but you need to do it right after checking out.
If you build first, it's too late.

Please download the tar ball. Checking out from
git seldom makes sense unless you are a developer.
It just creates more work for everyone.
studio32

Re: Ann: Radium 1.9.37

Post by studio32 »

I will, but maybe you can also add a tarball for Radium without PureData
Post Reply