GithubHelp home page GithubHelp logo

Comments (2)

mkruselj avatar mkruselj commented on September 25, 2024

No definitely install mingw separately, then try.

Also, check out #28

from oxefmsynth.

 avatar commented on September 25, 2024

@mkruselj thanks for highlighting the issue. I've tried Mingw from Win-build, as well as Cygwin, but it wasn't working. Finally, tried the Mingw-w64, and the environment seems to be working well, except for the build error.

PS C:\Users\ashvi\Documents\GitHub\oxefmsynth> mingw32-make.exe
process_begin: CreateProcess(NULL, uname -s, ...) failed.
mingw32-make: Makefile:17: pipe: No error
"Building converter"
"Building demo"
"Building standalone"
process_begin: CreateProcess(NULL, uname -s, ...) failed.
mingw32-make[1]: Makefile.standalone:45: pipe: No error
In file included from src/standalone/main.cpp:22:
C:/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/i686-w64-mingw32/include/stdio.h:735:23: error: conflicting declaration of 'int _snprintf(char*, size_t, const char*, ...)' with 'C' linkage      
   _CRTIMP int __cdecl _snprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
                       ^~~~~~~~~
In file included from src/synth/synthesizer.h:19,
                 from src/gui/editor.h:19,
                 from src/standalone/main.cpp:19:
src/synth/constants.h:163:22: note: previous declaration with 'C++' linkage
     #define snprintf _snprintf
                      ^~~~~~~~~
src/toolkits/windowstoolkit.cpp:156:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     StringCchCatA(path, MAX_PATH, "\\"BMP_PATH);
                                   ^
mingw32-make[1]: *** [Makefile.standalone:103: all] Error 1
mingw32-make: *** [Makefile:25: all] Error 2 

Just realized that this works without any popups in Git Bash, so probably, this is the Makefile not configured properly for Windows.
uname -s is a UNIX command, I guess.

from oxefmsynth.

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.