Menu

Did anyone try to compile/run this on Linux?

Help
GuySoft
2008-06-18
2019-05-30
  • GuySoft

    GuySoft - 2008-06-18

    It should be possible maybe in mono. But I am not sure where to start.
    Does anyone know how? or tried?

    Guy

     
    • Moti Zilberman

      Moti Zilberman - 2008-07-01

      Guy,

      Linux compatibility and general cross-platform friendliness is definitely a long term goal of mine, and Mono is obviously the way to get there.

      I've been putting off the 0.1.1 release for a while and haven't committed code regularly to SVN, but the current state of Mono support in my code is that the core does run and has been exposed via a bare-bones CLI. I've successfully piped QaryanCLI, running on Mono on both Win32 and Ubuntu, to a platform-native MBROLA executable to produce audio. The GUI is at the moment out of the question (probably needs a rewrite) and the code is not yet packaged to build on Linux, though, so you'll need an existing binary compiled on Windows.

      I am mostly away from my development machine these days, so updates will generally be slow. However I appreciate your interest in the project and hope to hear from you when I resume working on it full force.

      Moti

       
      • GuySoft

        GuySoft - 2008-07-01

        Hey Moti,
        I have sent you contact information as a private message here.
        I'd tether we talk from there. It will speed up the process. I might be able to contribute GUI code for linux, if i figure out how to run the application here.

        Guy

         
  • Alkhimey

    Alkhimey - 2019-05-30

    In 2019 it is possible to build it with mono with little fuss. I attempted to compile the engine and cli only, so no info for the gui.

    Helping pointers:

    1. Solution file outdated (VS2015), so build each project separately.
    2. In Engine vsproj file, change the line <import project="$(MSBuildBinPath)\Microsoft.CSharp.Targets"> to have "targets" at the end (lower case "t").</import>
    3. In engine vsproj file remove <prebuildevent> and <postbuildevent></postbuildevent></prebuildevent>
    4. Download libao and copy libao-sharp.dll to \External\libao-sharp or (what I did) comment out everything related to libao in the LibAudioTarget.cs file.
    5. Same with CharpOptParse.dll (can be obtained from https://sourceforge.net/projects/csharpoptparse
    6. Now for serving the dish, create a directory called Quaryan somewhere in your filesystem. Copy there the following files: CSharpOptParse.dll, Qaryan.dll, QaryanCLI.exe, <libao dlls="">, StressHeuristics.xml, Voices.</libao>
    7. Download mbrola and copy the executabe int Qaryan dir. Make sure (rename if needed) the name of the executable is exaclty "mbrola" (no exe at the end).
    8. Download voices and copy to Voices. Need to make sure an XML file for the voice exists. For example, you need "hb1" file along with "mbrola-hb1.xml" for the Hebrew 1 voice. You can get it from mbrola website. How to create a new XML file for a voice of your own? That is for a different article.
     

    Last edit: Alkhimey 2019-05-30

Log in to post a comment.

MongoDB Logo MongoDB