Page 2 of 4

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:06
by DJs3000
sirherrbatka wrote:
16 May 2019, 12:05
Also, once you manage to run the game I would be very interested to see it. I have no idea what kind of GPU this machine can possibly have, so it would be very difficult to establish any insight into the practical performance, but this stuff is so exotic outside of the Russia that I can't help but check it out :-)
AMD R5 240 graphics card is installed now. AMD has an open source driver and almost any AMD card can be used.

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:14
by DJs3000
sirherrbatka, I'll make videos and photos :)

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:22
by akortunov
> lcc

LCC? This one? I thought you use GCC.

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:27
by DJs3000
akortunov wrote:
16 May 2019, 13:22
> lcc

LCC? This one? I doubt that it supports C++11.
More likely you will need to use GCC or Clang.
Yes, LCC is highly modified and posing as GCC 5.5 compatible. C++ 11 is accurately supported, information from the developer.
ps. от стандартного lcc там почти ничего наверное и не осталось) компилятор там считай полностью свой.

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:31
by akortunov
DJs3000 wrote:
16 May 2019, 13:27
Yes, LCC is highly modified and posing as GCC 5.5 compatible. C++ 11 is accurately supported, information from the developer.
Well, it seems not accurately.
Which OpenMW version do you try to build?

Also it seems it does not like this line in the mapwondow.cpp:

Code: Select all

markerWidget->setUserData(marker);
You can try to comment it temporary to check if there are other errors.

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:38
by DJs3000
akortunov wrote:
16 May 2019, 13:31
DJs3000 wrote:
16 May 2019, 13:27
Yes, LCC is highly modified and posing as GCC 5.5 compatible. C++ 11 is accurately supported, information from the developer.
Well, it seems not accurately.
Which OpenMW version do you try to build?
lcc --version
lcc:1.23.14:Sep--9-2018:e2k-v4-linux
gcc (GCC) 5.5.0 compatible

Information from the computer manufacturer, aka the developer of a compatible compiler.
"Компилятор lcc-1.23 поддерживает C++11" or english "lcc-1.23 compiler supports C++11"

I'm trying to build the current version OpenMW from github.

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 13:47
by akortunov
Then indeed it is an error about custom markers. LCC can not compare operands of types "const ESM::CustomMarker" and "ESM::CustomMarker" for some reason.
As I said, try to comment this line first to workaround this issue.

I am afraid that you will need to patch OpenMW yourself since there are no other Elbrus users here.

EDIT:

Code: Select all

lcc: "/usr/local/include/MYGUI/MyGUI_Any.h", строка 173
But MyGUI_Any.h has only 154 lines on MyGUI 3.2.2 ...

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 14:31
by DJs3000

Code: Select all

markerWidget->setUserData(marker);
Result:
Spoiler: Show
------------------------
I build last version MyGUI from github. https://github.com/MyGUI/mygui/blob/mas ... yGUI_Any.h

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 14:46
by akortunov
1. Use MyGUI 3.2.2 release instead of MyGUI's master branch.
2. C++ uses // to mark comments and # for preprocessor directives.

Re: Build for Elbrus(VLIW)

Posted: 16 May 2019, 16:39
by DJs3000
1. git clone https://github.com/MyGUI/mygui.git
2. git branch
*master
release-3.2.2
3. git checkout release-3.2.2

mygui/MyGUIEngine/include/MyGUI_Any.h
194 line :(

Maybe need an older version?

MyGUI 3.2.2 installed, but error were old.
The only difference is that the compilation continued and came to an end. There are 2 errors.