GithubHelp home page GithubHelp logo

Comments (13)

willauld avatar willauld commented on June 11, 2024 2

Mimic is fully building and working when moved to my windows 10 machine. Thanks for all the help with this issue!

from mimic1.

zeehio avatar zeehio commented on June 11, 2024

I'm on it. Quick fix (I'm testing it now):

Install sudo apt-get install binutils-mingw-w64-i686 mingw-w64-i686-dev gcc-mingw-w64-i686 g++-mingw-w64-i686

And on run_testsuite.sh, replace (two times):
export HOST_TRIPLET="i586-mingw32msvc"
with
export HOST_TRIPLET="i686-w64-mingw32"

Then build with: ./run_testsuite.sh winbuild

from mimic1.

zeehio avatar zeehio commented on June 11, 2024

If it's not asking much, make sure you have a clean tree just in case make distclean

from mimic1.

willauld avatar willauld commented on June 11, 2024

from mimic1.

willauld avatar willauld commented on June 11, 2024

OK, got much further, including through some long compilers but stopped looking for mingw32-runtime. Apt-get doesn't find it at all.

from mimic1.

willauld avatar willauld commented on June 11, 2024

I commented out the part of the script that dealt with mingw32-runtime to see if the needed components may be supplied by another source in the 64 bit package. After doing this run_testsuite.sh runs almost to completion. It fails while attempting to run mimic:
`

  • xvfb-run wine install/bin/mimic.exe -voice ap -t hello world hello_world_winbuild.wav
    err:module:import_dll Loading library libportaudio-2.dll (which is needed by L"Z:\home\auld\src\github.com\mimic\install\bin\mimic.exe") failed (error c0000020).
    err:module:LdrInitializeThunk Main exe initialization for L"Z:\home\auld\src\github.com\mimic\install\bin\mimic.exe" failed, status c0000135
  • exit 1
    When I move mimic to a pc and try it (mimic -h) I also get an error message about libportaudio-2.dll:
    C:\home\auld\temp\bin\libportaudio-2.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f.
    `
    I don't know if this is because mingw32-runtime is missing but it is likely.

Also, xvfb needs to be added to the requirements list.

from mimic1.

zeehio avatar zeehio commented on June 11, 2024

My bet on the portaudio dll is that mingw-w64 has some weird issues with dashes in the dll name, but I am no expert and I have no time to debug that. I have used static linking to workaround that in the pull request on #98. To try it:

git checkout -b zeehio-crossbuild_xenial_windows development
git pull https://github.com/zeehio/mimic.git crossbuild_xenial_windows
NCORES=7 ./run_testsuite.sh winbuild

Think that each core will use 400MiB of RAM. On a system with 2 GiB of RAM I would not use more than 2 or 3 cores.

from mimic1.

willauld avatar willauld commented on June 11, 2024

testing the fix.

The first of the two git commands above didn't work for me. I dropped the development off the end and it worked. Will update when build is complete.

from mimic1.

zeehio avatar zeehio commented on June 11, 2024

Closed via #98

from mimic1.

willauld avatar willauld commented on June 11, 2024

from mimic1.

forslund avatar forslund commented on June 11, 2024

from mimic1.

willauld avatar willauld commented on June 11, 2024

from mimic1.

willauld avatar willauld commented on June 11, 2024

from mimic1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.