Error When I Try To Make My Patch Live


#1

I'm having difficulty troubleshooting an error and would be greatly appreciative of any help I can get.
I have a patch made up of subpatches. All of the subpatches work individually, but when I try to make the patch live, I get the following output:

Generate code complete
Creating directory on sdcard : /Harvestworks Project 2
Done creating directory
Changing working directory on sdcard : /Harvestworks Project 2
Done changing working directory
Start compiling patch
BDIR = C:\Users\frank\DOCUME~1\axoloti/build
FIRMWARE = .
RM
APP
! C:\Users\frank\DOCUME~1\axoloti/build/xpatch.h.gch
. C:/Users/frank/Documents/axoloti/axoloti-factory/objects/wave/streamer.h
. c:\program files (x86)\axoloti\app\chibios\ext\fatfs\src\ff.h
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:37:18: error: expected ';' at end of member declaration
static const int PARAM_INDEX_Logic_space_"Less_space_Than"space1_Trigger_space_Value = 0;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:37:42: error: expected unqualified-id before user-defined string literal
static const int PARAM_INDEX_Logic_space_"Less_space_Than"space1_Trigger_space_Value = 0;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:38:18: error: expected ';' at end of member declaration
static const int PARAM_INDEX_Logic_space_"Greater_space_Than"space1_Trigger_space_Value = 1;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:38:18: error: redeclaration of 'const int rootc::PARAM_INDEX_Logic_space_'
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:37:18: note: previous declaration 'const int rootc::PARAM_INDEX_Logic_space_'
static const int PARAM_INDEX_Logic_space_"Less_space_Than"space1_Trigger_space_Value = 0;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:38:42: error: expected unqualified-id before user-defined string literal
static const int PARAM_INDEX_Logic_space_"Greater_space_Than"space1_Trigger_space_Value = 1;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:39:18: error: expected ';' at end of member declaration
static const int PARAM_INDEX_Logic_space_"Equal_space_To"space1_Trigger_space_Value = 2;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:39:18: error: redeclaration of 'const int rootc::PARAM_INDEX_Logic_space_'
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:37:18: note: previous declaration 'const int rootc::PARAM_INDEX_Logic_space_'
static const int PARAM_INDEX_Logic_space_"Less_space_Than"space1_Trigger_space_Value = 0;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:39:42: error: expected unqualified-id before user-defined string literal
static const int PARAM_INDEX_Logic_space_"Equal_space_To"space1_Trigger_space_Value = 2;
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:583:28: error: expected unqualified-id before user-defined string literal
;class instanceLogic_space_"Less_space_Than"space1{
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:5486:1: error: expected '}' at end of input
}
^
C:\Users\frank\DOCUME~1\axoloti/build/xpatch.cpp:581:1: error: expected unqualified-id at end of input
}
^
make: *** [C:\Users\frank\DOCUME~1\axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 1
Compiling patch failed ( E:\Harvestworks Project 2.axp )


#4

It appears to be to do with a wave/streamer object that I don't seem to have.

What version are you using?


#5

just to confirm, I also don't have the wave/streamer factory object, so that is most likely a place to start


#6

I don't have that either, I don't know what that is. I'm running version 1.0.12.


#7

I finally figured it out. In the Instance Name for the subpatch objects, I had quotes. I deleted the quotes and it works now.