Comments (6)
I think the main problem is its special compiler (LCC?) that only tries to be compatible with GCC but it's not GCC at all. Some compilation options should be adjusted.
Which version do you have? cc --version
Can you post the exact commands that you've used to build OpenD2?
from opend2.
Elbrus fully supports the most popular instructions mmx, sse1-4.2, avx1-2 and so on. Now compatible GCC v5.5, soon to be compatible with GCC 7.
In CMakeLists.txt switch off build D2 server.
mkdie build
cd build
cmake ..
make -j8
from opend2.
(Exact cc --version
is still unknown:)
from opend2.
cc --version
lcc:1.23.18:Apr-13-2019:e2k-v4-linux
gcc (GCC) 5.5.0 compatible
from opend2.
Elbrus fully supports the most popular instructions mmx, sse1-4.2, avx1-2 and so on. Now compatible GCC v5.5, soon to be compatible with GCC 7.
Not so fast, please. There are two ways of using E2K machines:
- either you're using it in native mode (VLIW architecture with proprietary instruction set that is only supported by proprietary LCC with incomplete support for C/C++ standards, although the situation constantly improves), there is no MMX/SSE/AVX in this mode, although it has its own alternatives,
- or you are using it in x86-compatibility mode (that is achieved with binary translation), then it's possible to run normal Linux/GCC/etc. Less problems, less performance (this mode is mostly for running legacy M$-locked applications under virtualized Windows, although Linux runs good in it too).
Your output of CC gives the idea that you're running it in native mode, output of cat /proc/cpuinfo
can provide additional proof for this.
The problem that I saw at the end of your video (btw, you can use scrot
or any other simple tool to make screenshots and ffmpeg
to record screen video) is with dynamic linking of libraries. Either name mangling is wrong somewhere, or required function was dropped by some compiler optimization or this function wasn't included to the list of exported ones. Can you post the Makefile
that was generated by cmake? Can you make a statically-linked build of OpenD2?
Offtop: was this video recorded at Yandex museum?
from opend2.
Yes, video from Yandex museum.
I use native mode(e2k).
Makefile.zip
from opend2.
Related Issues (20)
- Status on logic calculations HOT 7
- Segmentation fault (core dumped) HOT 1
- After select character, i got error HOT 7
- After compile with Linux? HOT 4
- Unable to compile on Linux HOT 2
- Requirements for Development HOT 1
- Library issues in Linux (possibly Windows) HOT 3
- Feature Request: Support GoG's Battle.net server?
- D2Menu Character Create Screen Offsets DynamicPanel off the screen
- MainMenu Changes and Lots of menu item disappear
- [Feature Request] Use ESC button to leave scenes.
- Character Input Box disappear HOT 1
- By not providing FindSDL2.cmake
- Open thread - discussion about project direction HOT 4
- Q:what is the current status of this project HOT 1
- a note on Russian charset
- building on linux HOT 8
- windows.h missing while building for linux..
- You can not include Windows.h if you want the project to build on Linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opend2.