I try to install MSHV on a xubuntu 16 but i have a trouble in the compilation ( withQt4 )
the error is :
src/main_ms.cpp: In constructor ‘Main_Ms::Main_Ms(QWidget*)’:
src/main_ms.cpp:55:20: error: ‘APP_NAME’ was not declared in this scope
setWindowTitle(APP_NAME);
^
src/main_ms.cpp: In member function ‘void Main_Ms::BandChanged(bool)’:
src/main_ms.cpp:857:29: error: ‘APP_NAME’ was not declared in this scope
QString str_t = APP_NAME;
What must i do because i don't find the value APP_Name anywhere ?
Thanks
Jeff
Jeff
APP_NAME is in config.h file
see attachment
LZ2HV
Hello
Hello. Indeed, I found the variable APP_NAME but I still have the same
worries during the compilation. The error is always present while I respect
the tutorial.
The version under windows works perfectly thanks to wine but if I could
manage to compile the version under linux, it would be even better ;)
Jeff
2016-12-12 22:03 GMT+01:00 Christo lz2hvadmin@users.sf.net:
Related
Tickets: #2
Jeff
1 see *.pro file need
DEFINES += LINUX QESP_NO_UDEV linux
here is defined APP_NAME
if not work
go to config.h and define manualy
////////////////////////////////////////////////////////////////////////////////////////////////////////////
ifndef CONFIG_H
#define CONFIG_H
//// DEFINITIONS FROM *.pro FILES //////
//// DO NOT CHANGE THIS FROM V1.27 ON //
//// PSE NO CHANGE #define WIN32
//// PSE NO CHANGE #define WIN64
#define LINUX QESP_NO_UDEV linux
//// END DEFINITIONS FROM *.pro FILES /////
//// CONFIG QT VERSION /////////////////
//#define MSHV_QT5
#define MSHV_QT4
//// END CONFIG QT VERSION /////////////
#define VER_MS "1.29"
#if defined WIN64
#define WIN32
#endif
#if defined(WIN32) && !defined(WIN64) // r008 Only For Testers SP9HWY, G0LFF & LZ2PG
#define APP_NAME "MSHV version " VER_MS " 32-bit"// For Test VSPE LA7DFA Only For Test John G3WZT Only For LZ2PG Only
#define UNICODE //HV FOR WCHAR LPCSTR
#endif
#if defined WIN64
#define APP_NAME "MSHV version " VER_MS " 64-bit"// r002 For Test
#define UNICODE //HV FOR WCHAR LPCSTR
#endif
#if defined LINUX
#define APP_NAME "MSHV version " VER_MS //c11++ intervaly -> "MSHV version " VER_MS
#endif
#define DATA_HEIGHT 150
#define DATA_WIDTH 780//780 // v1.30 max width 800 15s-30s
#define FFT_CUT_LOW_FRQ 11//12 up down graphic
#define FFT_CUT_HI_FRQ 46//
#define DATA_DSP_HEIGHT DATA_HEIGHT - FFT_CUT_HI_FRQ
#define FFT_END_FRQ DATA_HEIGHT - (FFT_CUT_HI_FRQ - FFT_CUT_LOW_FRQ)
#define TXT_CODEC_WIN "Windows-1251"
//static const double STATIC_FFTW_PERIOD_TIME = 30.0; //inportent from mscore fftw and to DisplayMs
#endif // CONFIG_H
///////////////////////////////////////////////////////////////////////////
Hello
Hello. Indeed, I found the variable APP_NAME but I still have the same
worries during the compilation. The error is always present while I respect
the tutorial.
The version under windows works perfectly thanks to wine but if I could
manage to compile the version under linux, it would be even better ;)
Jeff
2016-12-12 22:03 GMT+01:00 Christo lz2hvadmin@users.sf.net :
Jeff
APP_NAME is in config.h file
see attachment
LZ2HV
declare*
Status: open
Milestone: 1.0
Created: Mon Dec 12, 2016 07:37 PM UTC by Jeff
Last Updated: Mon Dec 12, 2016 07:37 PM UTC
Owner: nobody
I try to install MSHV on a xubuntu 16 but i have a trouble in the
compilation ( withQt4 )
the error is :
src/main_ms.cpp: In constructor ‘Main_Ms::Main_Ms(QWidget*)’:
src/main_ms.cpp:55:20: error: ‘APP_NAME’ was not declared in this scope
setWindowTitle(APP_NAME);
^
src/main_ms.cpp: In member function ‘void Main_Ms::BandChanged(bool)’:
src/main_ms.cpp:857:29: error: ‘APP_NAME’ was not declared in this scope
QString str_t = APP_NAME;
What must i do because i don't find the value APP_Name anywhere ?
Thanks
Jeff
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/mshv/tickets/2/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
[tickets:#2] help value not declare
Status: open
Milestone: 1.0
Created: Mon Dec 12, 2016 07:37 PM UTC by Jeff
Last Updated: Mon Dec 12, 2016 07:37 PM UTC
Owner: nobody
I try to install MSHV on a xubuntu 16 but i have a trouble in the compilation ( withQt4 )
the error is :
src/main_ms.cpp: In constructor ‘Main_Ms::Main_Ms(QWidget*)’:
src/main_ms.cpp:55:20: error: ‘APP_NAME’ was not declared in this scope
setWindowTitle(APP_NAME);
^
src/main_ms.cpp: In member function ‘void Main_Ms::BandChanged(bool)’:
src/main_ms.cpp:857:29: error: ‘APP_NAME’ was not declared in this scope
QString str_t = APP_NAME;
What must i do because i don't find the value APP_Name anywhere ?
Thanks
Jeff
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mshv/tickets/2/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Tickets: #2
sorting is wrong in source forge chat i send you config.h as attachment
GOOD JOB, all is done ... Thanks for all !
Jeff - F0FYF
2016-12-13 13:56 GMT+01:00 Christo lz2hvadmin@users.sf.net:
Related
Tickets: #2