Yes, of course. Sorry, I thought it was a lot of work, but it's not:studio32 wrote:Is it possible to build without PD?
1. Remove "-DWITH_PD" from build_linux_common.sh
2. Remove line 63,64,65,66, and 67 from bin/packages/build.sh
Moderators: raboof, MattKingUSA, khz
Yes, of course. Sorry, I thought it was a lot of work, but it's not:studio32 wrote:Is it possible to build without PD?
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.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
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 wrote:hmCode: 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....
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....
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
Okay.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
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: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
Code: Select all
touch audio/*.cpp common/gfx_op_queue_generated.c common/visual_op_queue_proc.h
Perhaps, but you need to do it right after checking out.studio32 wrote:I did that step too.