Compilation issues in Windows and Cygwin environment

Reported by Francesco Betti Sorbelli on 2012-04-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Live F1
Dave Pusey

Bug Description

live-f1 doesn't compile on Windows.

If you want to compile live-f1 package in Windows 7 with Cygwin environment, you should to change any:

#include <curses.h>
#include <ncurses/curses.h>

maybe by adding a Win32 macro.

I have changed these lines in two files: cgfile.c and display.c

As you can see, I have attached an image that confirm that live-f1 can run under Windows 7 :-)

Dave Pusey (davepusey) wrote :

Nice! I like it!

Will certainly look at adding this to the next release.

Dave Pusey (davepusey) wrote :

Can you post your build procedure for Cygwin please, as I'm not familiar with Cygwin.

Changed in live-f1:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Dave Pusey (davepusey)
milestone: none → 0.2.12

I've noticed that above instructions doesn't works in the latest version of cygwin.
The correct steps, as today, are the follow:

1) Download and launch install setup and follow default settings
2) In "Select Packages" tab, install (by filterbar in the top of window):
  * libncurses-devel
  * libncursesw-devel
  * libneon-devel
  * pkg-config
  * libmpfr4 <-- new package
  * gcc4
  * make
3) Finish the installation process
4) Edit "src/cfgfile.c" and "src/display.c" source files and:

  #include <curses.h>


  #ifdef __CYGWIN__
  #include <ncurses/curses.h>
  #include <curses.h>

5) Open CygWin terminal and execute:


End procedure. Note that the C:\ root folder in in /cygdrive/c/

I'd like to see these edits in principal branch :)

Dave Pusey (davepusey) wrote :

Thanks for the update.

I'll make sure I include this in the next release.

It's been some time since I've worked on live-f1, so I'm hoping to pick up development again once the season starts.

Changed in live-f1:
status: Triaged → In Progress
Dave Pusey (davepusey) wrote :

Fixed in revision 113.

Changed in live-f1:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments