Mednafen Members Members   Search Search   Help Help   Register Register   Login Login   Home Home
Home » Mednafen » Development » Compilation issues + Cygwin Compilation
Show: Today's Messages  :: Show Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Compilation issues + Cygwin Compilation [message #3830] Mon, 05 January 2015 23:23 Go to next message
doomday45  [PM]
Well, using MinGW64 (Fedora21) give me error:

sigaction act' has incomplete type and cannot be defined
   struct sigaction act;


There is MinGW problem. I cant to fix it.

Cygwin (probably tutorial, but better read):

Cygwin (x86):
Need packages: bash, make, gcc-core, gcc-g++, gettext (doc, lib), libsndfile (dev, lib), libx11, libxrandr, libxrender, libstdc, cygwin-devel, libglut, libext, autoconf, automake, cygport. (probably more - read an output)


1. Copy /usr/local/bin include lib to /usr for detect sndfile
2. Install SDL.cygport (google): cygport SDL.cygport all
3. run ./configure --enable-shared --disable-static --without-libcdio

But, when I get .exe (66 Mb) - application is slowly. Sound have a delay 2-3 sec, video - 5-10 fps. And cygwin SDL doesnt work and I replaced it with original SDL.dll. Also there is problem with paths. ( /home/username/.mednafen). Running only with cygwin terminal (paths).


PS. *sigh Best way: upload /usr/x86_64-w64-mingw32 as 7zip, I have a Debian SID. Just original MinGW cant compile it. Need patches for additional definitions.

[Updated on: Fri, 09 January 2015 02:14]

Re: Compilation issues + Cygwin Compilation [message #3870 is a reply to message #3830 ] Mon, 26 January 2015 06:48 Go to previous message
doomday45  [PM]
Thank you so much! Now I did compiled it.

[Updated on: Mon, 26 January 2015 10:16]

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:mednafen server 0.5.2 for windows
Next Topic:latest mednafen src
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ ]

Current Time: Sat May 18 10:28:13 CDT 2024
.:: Contact :: Home ::.

Powered by FUDforum.
Copyright © FUDforum Bulletin Board Software