‘CLEF_G’ was not declared in this scope

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

‘CLEF_G’ was not declared in this scope

marinth
Brought here from 'issues'
[ https://musescore.org/nl/node/86321 ]
as suggested there by Marc Sabatella.

With OMR and OCR ON ( > CMakeLists.txt )
I get the following error:
In file included from MuseScore/libmscore/scorefile.cpp:41:0:
MuseScore/omr/omrpage.h:66:23: error: ‘CLEF_G’ was not declared in this scope
ClefType type = CLEF_G;
GCC = 5.2.0

I was trying to compile MuseScore git 'head'
on Linux (From Scratch based NuTyX current)
with omr and ocr 'knobs' set to 'on'.
When they're 'off' the source builds fine.
The logfile is below.

Marinth
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ‘CLEF_G’ was not declared in this scope

lasconic
Administrator
Hi Marinth,

The OMR code is old and not maintained for more than 3 years... There are probably a lot of variables, constants and functions that are not defined because the names changed. Also the build dependencies are not documented.

Liang, in copy, started last week to look into this code to update and improve it. I'm not sure what your plan is, but it's probably good that you two talk on this mailing list or IRC.

Liang, if you are not registered to the mscore developer mailing list, you can do so here : https://lists.sourceforge.net/lists/listinfo/mscore-developer

lasconic

2015-11-06 10:38 GMT+01:00 marinth <[hidden email]>:
Brought here from 'issues'
[ https://musescore.org/nl/node/86321 ]
as suggested there by Marc Sabatella.

With OMR and OCR ON ( > CMakeLists.txt )
I get the following error:
In file included from MuseScore/libmscore/scorefile.cpp:41:0:
MuseScore/omr/omrpage.h:66:23: error: ‘CLEF_G’ was not declared in this
scope
ClefType type = CLEF_G;
GCC = 5.2.0

I was trying to compile MuseScore git 'head'
on Linux (From Scratch based NuTyX current)
with omr and ocr 'knobs' set to 'on'.
When they're 'off' the source builds fine.
The logfile is below.

Marinth



--
View this message in context: http://dev-list.musescore.org/CLEF-G-was-not-declared-in-this-scope-tp7579545.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ‘CLEF_G’ was not declared in this scope

Jojo-Schmitz
In reply to this post by marinth
Hi Marinth

As mentioned in the issue tracker, CLEF_G needs to get changed to ClefType::G. At the very least...

Bye, Jojo

-----Original Message-----
From: marinth [mailto:[hidden email]]
Sent: Friday, November 06, 2015 10:39 AM
To: [hidden email]
Subject: [Mscore-developer] ‘CLEF_G’ was not declared in this scope

Brought here from 'issues'
[ https://musescore.org/nl/node/86321 ]
as suggested there by Marc Sabatella.

With OMR and OCR ON ( > CMakeLists.txt ) I get the following error:
In file included from MuseScore/libmscore/scorefile.cpp:41:0:
MuseScore/omr/omrpage.h:66:23: error: ‘CLEF_G’ was not declared in this scope ClefType type = CLEF_G; GCC = 5.2.0

I was trying to compile MuseScore git 'head'
on Linux (From Scratch based NuTyX current) with omr and ocr 'knobs' set to 'on'.
When they're 'off' the source builds fine.
The logfile is below.

Marinth


------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ŒCLEF_G¹ was not declared in this scope

Liang Chen
In reply to this post by lasconic
Hi Nicolas and Marinth,

Thanks for letting me know the mailing list. I’ll register to it.

This was also the first problem I encountered last week. I guess CLEF_G is already replaced by Ms::ClefType::G. But there’re extra bugs after fixing this.

Liang

---
Liang Chen
Music Informatics Ph.D. Student
Indiana University Bloomington

From: Lasconic <[hidden email]>
Date: Friday, November 6, 2015 at 10:49 AM
To: MuseScore <[hidden email]>
Cc: Chen Liang <[hidden email]>
Subject: Re: [Mscore-developer] ‘CLEF_G’ was not declared in this scope

Hi Marinth,

The OMR code is old and not maintained for more than 3 years... There are probably a lot of variables, constants and functions that are not defined because the names changed. Also the build dependencies are not documented.

Liang, in copy, started last week to look into this code to update and improve it. I'm not sure what your plan is, but it's probably good that you two talk on this mailing list or IRC.

Liang, if you are not registered to the mscore developer mailing list, you can do so here : https://lists.sourceforge.net/lists/listinfo/mscore-developer

lasconic

2015-11-06 10:38 GMT+01:00 marinth <[hidden email]>:
Brought here from 'issues'
[ https://musescore.org/nl/node/86321 ]
as suggested there by Marc Sabatella.

With OMR and OCR ON ( > CMakeLists.txt )
I get the following error:
In file included from MuseScore/libmscore/scorefile.cpp:41:0:
MuseScore/omr/omrpage.h:66:23: error: ‘CLEF_G’ was not declared in this
scope
ClefType type = CLEF_G;
GCC = 5.2.0

I was trying to compile MuseScore git 'head'
on Linux (From Scratch based NuTyX current)
with omr and ocr 'knobs' set to 'on'.
When they're 'off' the source builds fine.
The logfile is below.

Marinth



--
View this message in context: http://dev-list.musescore.org/CLEF-G-was-not-declared-in-this-scope-tp7579545.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Loading...