Build for Elbrus(VLIW)

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
DJs3000
Posts: 17
Joined: 15 May 2019, 16:48
Location: Moscow

Re: Build for Elbrus(VLIW)

Post by DJs3000 » 16 May 2019, 13:06

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.

DJs3000
Posts: 17
Joined: 15 May 2019, 16:48
Location: Moscow

Re: Build for Elbrus(VLIW)

Post by DJs3000 » 16 May 2019, 13:14

sirherrbatka, I'll make videos and photos :)

User avatar
akortunov
Posts: 591
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Build for Elbrus(VLIW)

Post by akortunov » 16 May 2019, 13:22

> lcc

LCC? This one? I thought you use GCC.

DJs3000
Posts: 17
Joined: 15 May 2019, 16:48
Location: Moscow

Re: Build for Elbrus(VLIW)

Post by DJs3000 » 16 May 2019, 13:27

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 там почти ничего наверное и не осталось) компилятор там считай полностью свой.

User avatar
akortunov
Posts: 591
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Build for Elbrus(VLIW)

Post by akortunov » 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?

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.

DJs3000
Posts: 17
Joined: 15 May 2019, 16:48
Location: Moscow

Re: Build for Elbrus(VLIW)

Post by DJs3000 » 16 May 2019, 13:38

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.

User avatar
akortunov
Posts: 591
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Build for Elbrus(VLIW)

Post by akortunov » 16 May 2019, 13:47

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 ...

DJs3000
Posts: 17
Joined: 15 May 2019, 16:48
Location: Moscow

Re: Build for Elbrus(VLIW)

Post by DJs3000 » 16 May 2019, 14:31

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

User avatar
akortunov
Posts: 591
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Build for Elbrus(VLIW)

Post by akortunov » 16 May 2019, 14:46

1. Use MyGUI 3.2.2 release instead of MyGUI's master branch.
2. C++ uses // to mark comments and # for preprocessor directives.

DJs3000
Posts: 17
Joined: 15 May 2019, 16:48
Location: Moscow

Re: Build for Elbrus(VLIW)

Post by DJs3000 » 16 May 2019, 16:39

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.
Last edited by DJs3000 on 16 May 2019, 16:46, edited 3 times in total.

Post Reply