Jorn,
So let me make sure of what you're saying. I should
1. remove the CLIENT_ID line from settings.h
2. leave the following in gcconfig.pri
DEFINES += GC_STRAVA_CLIENT_ID = "my id here"
DEFINES += GC_STRAVA_CLIENT_SECRET = "my secret here"
3. Remove my liboath lines from gcconfig.PRI
4. Make sure I have libssl-dev installed
On July 8, 2015 07:59:41 AM Torbjorn Jansson wrote:
Hello.
I had similar trouble, and can't follow the instructions here. I tried various variants, but in the end, the following is what should work:
1) I added to my gcconfig.pri (with real codes for aaa and nnn).
#Strava support
DEFINES += GC_STRAVA_CLIENT_ID = "nnn"
DEFINES += GC_STRAVA_CLIENT_SECRET = "aaa"
Get rid of the spaces surrounding the "="-sign, so
DEFINES += GC_STRAVA_CLIENT_ID="nnn"
DEFINES += GC_STRAVA_CLIENT_SECRET="aaa"
2) I commented out the line defining GC_STRAVA_CLIENT_ID in settings.h.
3) I executed
make clean
qmake -recursive
make
I get the following compilation errors
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DGC_STRAVA_CLIENT_ID -D= -Dnnn -DGC_STRAVA_CLIENT_SECRET -D= -Daaa -DGC_VIDEO_NONE -DQXT_STATIC -DGC_HAVE_SOAP -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I../qwt/src -I../qxt/src -I../qtsolutions/json -I../qtsolutions/soap -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimediaWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o DataFilter.o DataFilter.cpp
<command-line>:0:2: error: no macro name given in #define directive
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:2: error: no macro name given in #define directive
<command-line>:0:1: error: macro names must be identifiers
Makefile:5430: receptet för målet ”DataFilter.o” misslyckades
I am tearing off my precious remaining hair here, and wasting valuable bike riding time... Could anybody suggest what is wrong?
Cheers,
Torbjörn Jansson, Uppsala, Sweden
--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.