Browse Source

Include math.h for log() (fix for OSX)

pull/74/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
ddab801262
  1. 10
      README.md
  2. 1
      widget/filetransfertwidget.cpp

10
README.md

@ -85,15 +85,7 @@ To do this, search for the INCLUDES line and add the following to the end; @@ -85,15 +85,7 @@ To do this, search for the INCLUDES line and add the following to the end;
Save the Makefile.
<h4>Final Steps</h4>
Open up TextEdit/TextWrangler/etc and open up the widget/filetransfertwidget.cpp file and add the following include;
```bash
#include <math.h>
```
This will stop toxgui failing to make under OSX.
<h5>Final Steps</h5>
The final step is to run
```bash

1
widget/filetransfertwidget.cpp

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
#include "filetransfertwidget.h"
#include "widget.h"
#include "core.h"
#include "math.h"
#include <QFileDialog>
#include <QPixmap>

Loading…
Cancel
Save