On the compilation of Mex files under Linux systems

Tagged: , ,

This topic contains 0 replies, has 1 voice, and was last updated by  Kiril Кirev 2 weeks, 5 days ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #12458

    Kiril Кirev
    Participant

    Greetings,

    as the channel decoder of the simulator is implemented in C++ and compiled to .Mex files, we offer already compiled ones for 64-bit Microsoft Windows in the simulator download page. These files are platform-specific and need to be recompiled if your operating system and/or architecture differ.
    With the current Matlab(2019a) supported GCC compiler still being 6.3.x, which isn’t present in Ubuntu’s standard package repository anymore, it can get a bit tedious to install the right compiler version, depending on your OS distribution and its version.
    For those of you inconvenienced by this fact:
    Successful compilation of the .Mex files with a newer GCC version is possible, Matlab will give out a incompatibility warning though.
    Tested on Ubuntu 19.04 & 18.04, 64-bit with GCC v-8.3.0.
    If the problem persists on different Linux distributions, one can try installing GCC v-6.3.x from private repositories, albeit with some OS-version support issues.
    If none of the above steps helped, I could offer compiled files for a 64-bit architecture under Linux.

    Cheers,
    Kiril

    • This topic was modified 2 weeks, 5 days ago by  Kiril Кirev.
    • This topic was modified 2 weeks, 5 days ago by  Kiril Кirev.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.