Gen~ to MOD, build system seems broken

This is huge! Thank you so much! Very excited for I try these out. Also big aplause for including Faust here as well :raised_hands::raised_hands:

hi Falk,
doesnā€™t work for me:

  • Iā€™m on win 10 using firefox
  • dwarf is connected via USB
    steps:
  • upload gen_exported.h and gen_exported.cpp
  • press ā€˜buildā€™
    ā€¦build runs nicely, but throws ā€˜error 2ā€™
  • press ā€˜uploadā€™
    ā€¦I get ā€˜no plugins found in bundleā€™

am I missing something?

cheers R

Hi @falkTX ,
same problem of @rbrt hereā€¦ also a stupid gen~ in1 to out1 plugin fails to compile. Error 2 at the end of the building and then no plugins found in bundle. here the building log:

/usr/bin/make -j1 O=/root/mod-workdir/modduo-new HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/root/mod-workdir/modduo-new/build/buildroot-2016.02'
GEN /root/mod-workdir/modduo-new/Makefile
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/root/mod-workdir/modduo-new/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/root/mod-workdir/modduo-new/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/root/mod-workdir/modduo-new/build/buildroot-config/tristate.config BR2_CONFIG=/root/mod-workdir/modduo-new/.config BR2_EXTERNAL=/root/mod-plugin-builder/plugins-dep HOST_GCC_VERSION="12" SKIP_LEGACY= /root/mod-workdir/modduo-new/build/buildroot-config/conf --silentoldconfig Config.in
make[1]: Leaving directory '/root/mod-workdir/modduo-new/build/buildroot-2016.02'
>>> tmp8owi0uji b236792fa2bd4c3173c7182afe3e358a77e58df1 Downloading
Doing full clone
Cloning into bare repository 'tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1'...
>>> tmp8owi0uji b236792fa2bd4c3173c7182afe3e358a77e58df1 Extracting
gzip -d -c /root/mod-workdir/download/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1.tar.gz | tar --strip-components=1 -C /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1 -xf -
>>> tmp8owi0uji b236792fa2bd4c3173c7182afe3e358a77e58df1 Patching
>>> tmp8owi0uji b236792fa2bd4c3173c7182afe3e358a77e58df1 Configuring
rmdir /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/source/dpf
ln -s /root/dpf /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/source/dpf
cp /root/mod-plugin-builder/plugins-dep/../plugins/package/tmp8owi0uji//gen_exported.cpp /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/plugin/
cp /root/mod-plugin-builder/plugins-dep/../plugins/package/tmp8owi0uji//gen_exported.h /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/plugin/
env MAX_GEN_AUTOMATED=1 MAX_GEN_NAME="_test" MAX_GEN_BRAND="_fc" MAX_GEN_SYMBOL="test" MAX_GEN_DESCRIPTION="MAX gen~ based plugin, automatically generated via mod-cloud-builder" MAX_GEN_LV2_CATEGORY="lv2:ModulatorPlugin" /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/setup.sh
>>> tmp8owi0uji b236792fa2bd4c3173c7182afe3e358a77e58df1 Building
PATH="/root/mod-workdir/modduo-new/host/bin:/root/mod-workdir/modduo-new/host/sbin:/root/mod-workdir/modduo-new/host/usr/bin:/root/mod-workdir/modduo-new/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PATH="/root/mod-workdir/modduo-new/host/bin:/root/mod-workdir/modduo-new/host/sbin:/root/mod-workdir/modduo-new/host/usr/bin:/root/mod-workdir/modduo-new/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-ar" AS="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-as" LD="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-ld" NM="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-nm" CC="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-gcc" GCC="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-gcc" CPP="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-cpp" CXX="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-g++" FC="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-gfortran" RANLIB="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-ranlib" READELF="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-readelf" STRIP="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-strip" OBJCOPY="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-objcopy" OBJDUMP="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/root/mod-workdir/modduo-new/host/usr/include" CFLAGS_FOR_BUILD="-O2 -I/root/mod-workdir/modduo-new/host/usr/include" CXXFLAGS_FOR_BUILD="-O2 -I/root/mod-workdir/modduo-new/host/usr/include" LDFLAGS_FOR_BUILD="-L/root/mod-workdir/modduo-new/host/lib -L/root/mod-workdir/modduo-new/host/usr/lib -Wl,-rpath,/root/mod-workdir/modduo-new/host/usr/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-as" DEFAULT_LINKER="/root/mod-workdir/modduo-new/host/usr/bin/arm-modaudio-linux-gnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 " LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--strip-all" FCFLAGS="" PKG_CONFIG="/root/mod-workdir/modduo-new/host/usr/bin/pkg-config" STAGING_DIR="/root/mod-workdir/modduo-new/host/usr/arm-buildroot-linux-gnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j9 PREFIX=/usr NOOPT=true -C /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1
make[1]: Entering directory '/root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1'
/usr/bin/make all -C source
make[2]: Entering directory '/root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/source'
Compiling DistrhoPluginMain.cpp (LV2)
Compiling DistrhoPluginMaxGen.cpp
In file included from dpf/distrho/src/../src/DistrhoPluginChecks.h:24,
from dpf/distrho/src/../DistrhoPlugin.hpp:22,
from dpf/distrho/src/DistrhoPluginInternal.hpp:20,
from dpf/distrho/src/DistrhoPlugin.cpp:17,
from dpf/distrho/DistrhoPluginMain.cpp:17:
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/../src/DistrhoPluginChecks.h:134:32: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
134 | #if DISTRHO_PLUGIN_IS_SYNTH && DISTRHO_PLUGIN_NUM_OUTPUTS == 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dpf/distrho/src/DistrhoPluginChecks.h:24,
from dpf/distrho/DistrhoPlugin.hpp:22,
from DistrhoPluginMaxGen.hpp:20,
from DistrhoPluginMaxGen.cpp:17:
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginChecks.h:134:32: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
134 | #if DISTRHO_PLUGIN_IS_SYNTH && DISTRHO_PLUGIN_NUM_OUTPUTS == 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:149:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
149 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:193:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
193 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:246:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
246 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:412:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
412 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:432:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
432 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:555:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
555 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPlugin.cpp:46:8: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
46 | #if DISTRHO_PLUGIN_NUM_INPUTS+DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2.cpp:94:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
94 | #if DISTRHO_PLUGIN_NUM_INPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2.cpp:101:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
101 | #if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2.cpp:269:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
269 | #if DISTRHO_PLUGIN_NUM_INPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2.cpp:280:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
280 | #if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2.cpp:1117:8: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
1117 | #if DISTRHO_PLUGIN_NUM_INPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2.cpp:1122:8: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
1122 | #if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/../DistrhoPluginUtils.hpp:78:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
78 | #if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dpf/distrho/src/../src/DistrhoPluginChecks.h:24,
from dpf/distrho/src/../DistrhoPlugin.hpp:22,
from dpf/distrho/src/DistrhoPluginInternal.hpp:20,
from dpf/distrho/src/DistrhoPlugin.cpp:17,
from dpf/distrho/DistrhoPluginMain.cpp:17:
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2export.cpp:467:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
467 | #if DISTRHO_PLUGIN_NUM_INPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2export.cpp:563:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
563 | #if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:28:36: error: token ";" is not valid in preprocessor expressions
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2export.cpp:1198:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
1198 | #if DISTRHO_PLUGIN_NUM_INPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: token ";" is not valid in preprocessor expressions
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginLV2export.cpp:1203:5: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
1203 | #if DISTRHO_PLUGIN_NUM_OUTPUTS > 0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from DistrhoPluginMaxGen.cpp:19:
../plugin/gen_exported.cpp: In function 'void gen_exported::setparameter(CommonState*, long int, t_param, void*)':
../plugin/gen_exported.cpp:148:9: warning: unused variable 'self' [-Wunused-variable]
148 | State *self = (State *)cself;
| ^~~~
../plugin/gen_exported.cpp: In function 'void gen_exported::getparameter(CommonState*, long int, t_param*)':
../plugin/gen_exported.cpp:158:9: warning: unused variable 'self' [-Wunused-variable]
158 | State *self = (State *)cself;
| ^~~~
../plugin/gen_exported.cpp: In function 'void* gen_exported::create(t_param, long int)':
../plugin/gen_exported.cpp:233:13: warning: unused variable 'pi' [-Wunused-variable]
233 | ParamInfo *pi;
| ^~
make[2]: *** [dpf/Makefile.plugins.mk:393: build/test/DistrhoPluginMaxGen.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
dpf/distrho/src/DistrhoPluginInternal.hpp: In constructor 'DISTRHO::Plugin::PrivateData::PrivateData()':
./DistrhoPluginInfo.h:28:36: error: expected primary-expression before ';' token
28 | #define DISTRHO_PLUGIN_NUM_INPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:224:28: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_INPUTS'
224 | parameterOffset += DISTRHO_PLUGIN_NUM_INPUTS + DISTRHO_PLUGIN_NUM_OUTPUTS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./DistrhoPluginInfo.h:29:36: error: expected primary-expression before ';' token
29 | #define DISTRHO_PLUGIN_NUM_OUTPUTS ;
| ^
dpf/distrho/src/DistrhoPluginInternal.hpp:224:56: note: in expansion of macro 'DISTRHO_PLUGIN_NUM_OUTPUTS'
224 | parameterOffset += DISTRHO_PLUGIN_NUM_INPUTS + DISTRHO_PLUGIN_NUM_OUTPUTS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [dpf/Makefile.plugins.mk:449: build/test/DistrhoPluginMain_LV2.cpp.o] Error 1
make[2]: Leaving directory '/root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/source'
make[1]: *** [Makefile:26: plugin] Error 2
make[1]: Leaving directory '/root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1'
make: *** [package/pkg-generic.mk:198: /root/mod-workdir/modduo-new/build/tmp8owi0uji-b236792fa2bd4c3173c7182afe3e358a77e58df1/.stamp_built] Error 2
Build completed successfully.

It seems thereā€™s a problem on a line of code in DistrhoPluginMain.cppā€¦ but i checked in GitHub - moddevices/mod-plugin-builder: MOD Plugin Builder and the ā€œ;ā€ after the #define is not thereā€¦
is there something i can do on my side?
thanks a lot

I did a test here and the MOD Cloud Builder works for me. Dwarf, Osx (Mojave), Chrome.
Just a strange thing, it add an underscore before the pluginā€™s name, i.e. ā€œvoltestā€ gives ā€œ_voltestā€ . No big dealā€¦

Iā€™m on duo

Hi guys, should I really thrash my DUO for good? I have been stuck since YEARS nowā€¦ anything can be done?
thanks :pray:

What do you mean ā€œyearsā€? itā€™s been barely 3 weeks ā€¦

means years. I subscribed to this forum on Mar 8, '21. Because the system for compiling and uploading gen~ was having problems and failed to compile. Since that date I did not be able to compile and upload gen~ plugins on my duo (which was the only thing i was interested in :man_shrugging: )
any help would be appreciated!
thanks

ā€¦there really seems to be some issue that needs investigation, as according to @zwabo it does work,on Osx, with Chrome.
in my case, win 10 and firefox, it doesnā€™t.
would be cool if the issue could at least be pinpointed and communicated via @falkTX to the community.

please upload the generated code that triggers this error.
it is the first time someone reported this to us, the expectation was that the max-gen builder was working flawlesslyā€¦

maybe a new max version does things slightly different now and breaks the build?

anyhow need to check the generated files to be sure

3 Likes

Here a simple in-to-out patch compiled:

ā€œError 2 ā†’ No plugins found in bundleā€. log here: Gen~ to MOD, build system seems broken - #44 by fcana
thanks

Iā€™m not home now, Iā€™ll give a try with your files tomorrow night and let you know how it works on my system.

Your files donā€™t work with the Mod Cloud Builder on my system. Which Max/MSP version did you use ?My last builds ok were made with
version 8.2.2 (not the last one 8.6.2).

2 Likes

i was on latest 8.6.3ā€¦ tried to step back to 8.2.2 and WORKS! soā€¦ problem is definitively on newer versions of max! thank you @zwabo finally iā€™m on the road again!

3 Likes

Glad to hear that !

Hemā€¦the problem seems a little trickierā€¦ I tried with 8.6.2 and that version works for me too.

ok @zwabo ā€¦ got it. the problem is the text file encoding :man_facepalming:

  • the first files i compiled (attached previously) were from a win pc, that saves text files with Windows CRLF end of line. NOT WORKING
  • then i tried with a mac compilation, that saves files in Unix LF end-of-line format. WORKS.

all tests done with latest Max 8.6.2. PC or MAC provides exactly the same .cpp .h files, except for line encoding. so, @falkTX, here is the issue.

In the meantime, it is always possible to take .cpp e .h files windows compiled and then just resave them with unix encoding LF.

3 Likes