I tried to compile sample piano in samples/audio/piano but I got a lot of errors:
Code: Select all
Default Compiler
Building project Piano using the Debug configuration...
Compiling...
Piano.ec
Piano.ec:4:1: error: Couldn't open obj/debug.win32\EcereAudio.sym
Piano.ec:4:1: error: Couldn't open obj/debug.win32\EcereAudio.sym
Piano.ec:27:10: warning: incompatible expression this.mixer (Mixer); expected ecere::com::Instance
Piano.ec:28:10: warning: incompatible expression this.ding (Sound); expected ecere::com::Instance
Piano.ec:29:10: warning: incompatible expression this.chord (Sound); expected ecere::com::Instance
Piano.ec:19:4: error: couldn't find member text in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.text
Piano.ec:0:0: error: couldn't determine type of this.text
Piano.ec:0:0: error: couldn't determine type of this.text = "A keyboard piano"
Piano.ec:20:4: error: couldn't find member background in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.background
Piano.ec:20:17: error: unresolved identifier black
Piano.ec:0:0: error: couldn't determine type of this.background
Piano.ec:0:0: error: couldn't determine type of black
Piano.ec:0:0: error: couldn't determine type of this.background = black
Piano.ec:21:4: error: couldn't find member borderStyle in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.borderStyle
Piano.ec:21:18: error: unresolved identifier sizable
Piano.ec:0:0: error: couldn't determine type of this.borderStyle
Piano.ec:0:0: error: couldn't determine type of sizable
Piano.ec:0:0: error: couldn't determine type of this.borderStyle = sizable
Piano.ec:22:4: error: couldn't find member hasMaximize in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.hasMaximize
Piano.ec:22:18: error: unresolved identifier true
Piano.ec:0:0: error: couldn't determine type of this.hasMaximize
Piano.ec:0:0: error: couldn't determine type of true
Piano.ec:0:0: error: couldn't determine type of this.hasMaximize = true
Piano.ec:23:4: error: couldn't find member hasMinimize in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.hasMinimize
Piano.ec:23:18: error: unresolved identifier true
Piano.ec:0:0: error: couldn't determine type of this.hasMinimize
Piano.ec:0:0: error: couldn't determine type of true
Piano.ec:0:0: error: couldn't determine type of this.hasMinimize = true
Piano.ec:24:4: error: couldn't find member hasClose in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.hasClose
Piano.ec:24:15: error: unresolved identifier true
Piano.ec:0:0: error: couldn't determine type of this.hasClose
Piano.ec:0:0: error: couldn't determine type of true
Piano.ec:0:0: error: couldn't determine type of this.hasClose = true
Piano.ec:25:4: error: couldn't find member size in class MainWindow
Piano.ec:0:0: error: couldn't determine type of this.size
Piano.ec:25:11: error: couldn't determine type of { 576, 432 }
Piano.ec:0:0: error: couldn't determine type of this.size
Piano.ec:0:0: error: couldn't determine type of { 576, 432 }
Piano.ec:0:0: error: couldn't determine type of this.size = { 576, 432 }
Piano.ec:36:7: error: undefined class Mixer
Piano.ec:36:7: error: couldn't determine type of this.mixer.systemHandle
Piano.ec:36:28: error: unresolved identifier systemHandle
Piano.ec:36:7: error: couldn't determine type of this.mixer.systemHandle
Piano.ec:36:7: error: couldn't determine type of systemHandle
Piano.ec:36:7: error: couldn't determine type of this.mixer.systemHandle = systemHandle
Piano.ec:49:14: error: unresolved identifier f1; expected Key
Piano.ec:50:14: error: unresolved identifier f2; expected Key
Piano.ec:53:14: error: unresolved identifier z; expected Key
Piano.ec:53:18: error: undefined class Mixer
Piano.ec:54:14: error: unresolved identifier x; expected Key
Piano.ec:54:18: error: undefined class Mixer
Piano.ec:55:14: error: unresolved identifier c; expected Key
Piano.ec:55:18: error: undefined class Mixer
Piano.ec:56:14: error: unresolved identifier v; expected Key
Piano.ec:56:18: error: undefined class Mixer
Piano.ec:57:14: error: unresolved identifier b; expected Key
Piano.ec:57:18: error: undefined class Mixer
Piano.ec:58:14: error: unresolved identifier n; expected Key
Piano.ec:58:18: error: undefined class Mixer
Piano.ec:59:14: error: unresolved identifier m; expected Key
Piano.ec:59:18: error: undefined class Mixer
Piano.ec:60:14: error: unresolved identifier comma; expected Key
Piano.ec:60:22: error: undefined class Mixer
Piano.ec:61:14: error: unresolved identifier period; expected Key
Piano.ec:61:22: error: undefined class Mixer
Piano.ec:62:14: error: unresolved identifier slash; expected Key
Piano.ec:62:22: error: undefined class Mixer
Piano.ec:63:14: error: unresolved identifier s; expected Key
Piano.ec:63:18: error: undefined class Mixer
Piano.ec:64:14: error: unresolved identifier d; expected Key
Piano.ec:64:18: error: undefined class Mixer
Piano.ec:65:14: error: unresolved identifier g; expected Key
Piano.ec:65:18: error: undefined class Mixer
Piano.ec:66:14: error: unresolved identifier h; expected Key
Piano.ec:66:18: error: undefined class Mixer
Piano.ec:67:14: error: unresolved identifier j; expected Key
Piano.ec:67:18: error: undefined class Mixer
Piano.ec:68:14: error: unresolved identifier l; expected Key
Piano.ec:68:18: error: undefined class Mixer
Piano.ec:69:14: error: unresolved identifier colon; expected Key
Piano.ec:69:22: error: undefined class Mixer
Piano.ec:72:14: error: unresolved identifier q; expected Key
Piano.ec:72:18: error: undefined class Mixer
Piano.ec:73:14: error: unresolved identifier w; expected Key
Piano.ec:73:18: error: undefined class Mixer
Piano.ec:74:14: error: unresolved identifier e; expected Key
Piano.ec:74:18: error: undefined class Mixer
Piano.ec:75:14: error: unresolved identifier r; expected Key
Piano.ec:75:18: error: undefined class Mixer
Piano.ec:76:14: error: unresolved identifier t; expected Key
Piano.ec:76:18: error: undefined class Mixer
Piano.ec:77:14: error: unresolved identifier y; expected Key
Piano.ec:77:18: error: undefined class Mixer
Piano.ec:78:14: error: unresolved identifier u; expected Key
Piano.ec:78:18: error: undefined class Mixer
Piano.ec:79:14: error: unresolved identifier i; expected Key
Piano.ec:79:18: error: undefined class Mixer
Piano.ec:80:14: error: unresolved identifier o; expected Key
Piano.ec:80:18: error: undefined class Mixer
Piano.ec:81:14: error: unresolved identifier p; expected Key
Piano.ec:81:18: error: undefined class Mixer
Piano.ec:82:14: error: unresolved identifier k2; expected Key
Piano.ec:82:19: error: undefined class Mixer
Piano.ec:83:14: error: unresolved identifier k3; expected Key
Piano.ec:83:19: error: undefined class Mixer
Piano.ec:84:14: error: unresolved identifier k5; expected Key
Piano.ec:84:19: error: undefined class Mixer
Piano.ec:85:14: error: unresolved identifier k6; expected Key
Piano.ec:85:19: error: undefined class Mixer
Piano.ec:86:14: error: unresolved identifier k7; expected Key
Piano.ec:86:19: error: undefined class Mixer
Piano.ec:87:14: error: unresolved identifier k9; expected Key
Piano.ec:87:19: error: undefined class Mixer
Piano.ec:88:14: error: unresolved identifier k0; expected Key
Piano.ec:88:19: error: undefined class Mixer
BitmapAudioKB (Debug) - 118 errors, 3 warnings
Thanks for your help in advance.
Regards,
Sam