On Sat, 2022-01-29 at 14:02 +0000, Martin Gansser wrote:
Hi,
when building Carla on rawhide the compilation fails with the following error message
[1]:
Compiling juce_gui_basics.cpp
In file included from juce_gui_basics.cpp:265:
native/x11/juce_linux_XWindowSystem.cpp: In member function
'juce::BorderSize<int>
juce::XWindowSystem::getBorderSize(Window) const':
native/x11/juce_linux_XWindowSystem.cpp:1599:42: error: aggregate 'std::array<long
unsigned int,
4> sizes' has incomplete type and cannot be defined
1599 | std::array<unsigned long, 4> sizes;
| ^~~~~
native/x11/juce_linux_XWindowSystem.cpp:1607:85: error: could not convert
'{<expression error>,
<expression error>, <expression error>, <expression error>}' from
'<brace-enclosed initializer
list>' to 'juce::BorderSize<int>'
1607 | return { (int) sizes[2], (int) sizes[0], (int) sizes[3], (int)
sizes[1] };
|
^
|
|
|
<brac
e-enclosed initializer list>
native/x11/juce_linux_XWindowSystem.cpp: In function 'juce::Rectangle<int>
juce::getWorkArea(const XWindowSystemUtilities::GetXProperty&)':
native/x11/juce_linux_XWindowSystem.cpp:2181:29: error: aggregate 'std::array<long
int, 4>
position' has incomplete type and cannot be defined
2181 | std::array<long, 4> position;
| ^~~~~~~~
native/x11/juce_linux_XWindowSystem.cpp:2190:55: error: could not convert
'{<expression error>,
<expression error>, <expression error>, <expression error>}' from
'<brace-enclosed initializer
list>' to 'juce::Rectangle<int>'
2190 | (int) position[2], (int) position[3] };
| ^
| |
| <brace-enclosed
initializer list>
[1]
https://kojipkgs.fedoraproject.org//work/tasks/4698/82104698/build.log
how can solve this ?
Hi,
Looking at the build log, you are not building the latest - from log:
Wrote: /builddir/build/SRPMS/Carla-2.4.1-2.fc36.src.rpm
See:
https://koji.fedoraproject.org/koji/packageinfo?packageID=27931 and try the latest.
Regards
Phil
--
*** Playing the game for the games own sake. ***
WWW:
https://kathenas.org
Twitter: @kathenasorg
IRC: kathenas
GPG: 724AA9B52F024C8B