Skip to content

Some undeclared things #2

@MaxFrax

Description

@MaxFrax

I'm trying to compile PSRemote but i get this error message (I haven't done any edit yet):

In file included from psconsole.cpp:1:
/psconsole.h:10:25: error: ptpdpparser.h: No such file or directory
In file included from psconsole.cpp:1:
psconsole.h:14: error: 'Q_USER_SIG' was not declared in this scope
psconsole.h:19: error: expected class-name before '{' token
psconsole.h:24: error: expected class-name before '{' token
psconsole.h:29: error: expected class-name before '{' token
psconsole.h:40: error: 'QState' does not name a type
psconsole.h:41: error: 'QState' does not name a type
psconsole.h:42: error: 'QState' does not name a type
psconsole.h:43: error: 'QState' does not name a type
psconsole.h:44: error: 'QState' does not name a type
psconsole.h:45: error: 'QState' does not name a type
psconsole.h:46: error: 'QState' does not name a type
psconsole.h:47: error: 'QState' does not name a type
psconsole.h:48: error: 'QState' does not name a type
psconsole.h:49: error: 'QState' does not name a type
psconsole.h:50: error: 'QState' does not name a type
psconsole.h:51: error: 'QState' does not name a type
psconsole.h:52: error: 'QState' does not name a type
psconsole.h:53: error: 'QState' does not name a type
/psconsole.h: In constructor 'PSConsole::PSConsole()':
psconsole.h:35: error: class 'PSConsole' does not have any field named 'QHsm'
psconsole.h:35: error: 'QStateHandler' was not declared in this scope
psconsole.h:35: error: 'Initial' is not a member of 'PSConsole'
psconsole.cpp: At global scope:
psconsole.cpp:5: error: 'CanonPS' does not name a type
psconsole.cpp: In function 'void PrintMode()':
psconsole.cpp:20: error: 'Notify' was not declared in this scope
psconsole.cpp:21: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:21: error: expected primary-expression before ',' token
psconsole.cpp:21: error: 'VT_MODE' was not declared in this scope
psconsole.cpp:21: error: 'VT_MODE_COUNT' was not declared in this scope
psconsole.cpp:21: error: 'VT_MODE_TEXT_LEN' was not declared in this scope
psconsole.cpp:21: error: 'PTP' was not declared in this scope
psconsole.cpp:21: error: expected primary-expression before ')' token
psconsole.cpp:21: error: 'Ps' was not declared in this scope
psconsole.cpp:21: error: 'PS_DPC_ShootingMode' was not declared in this scope
psconsole.cpp:21: error: 'ModeTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintAperture()':
psconsole.cpp:27: error: 'Notify' was not declared in this scope
psconsole.cpp:28: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:28: error: expected primary-expression before ',' token
psconsole.cpp:28: error: 'VT_APERTURE' was not declared in this scope
psconsole.cpp:28: error: 'VT_APT_COUNT' was not declared in this scope
psconsole.cpp:28: error: 'VT_APT_TEXT_LEN' was not declared in this scope
psconsole.cpp:28: error: 'PTP' was not declared in this scope
psconsole.cpp:28: error: expected primary-expression before ')' token
psconsole.cpp:28: error: 'Ps' was not declared in this scope
psconsole.cpp:28: error: 'PS_DPC_Aperture' was not declared in this scope
psconsole.cpp:28: error: 'ApertureTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintShutterSpeed()':
psconsole.cpp:34: error: 'Notify' was not declared in this scope
psconsole.cpp:35: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:35: error: expected primary-expression before ',' token
psconsole.cpp:35: error: 'VT_SHSPEED' was not declared in this scope
psconsole.cpp:35: error: 'VT_SHSPEED_COUNT' was not declared in this scope
psconsole.cpp:35: error: 'VT_SHSPEED_TEXT_LEN' was not declared in this scope
psconsole.cpp:35: error: 'PTP' was not declared in this scope
psconsole.cpp:35: error: expected primary-expression before ')' token
psconsole.cpp:35: error: 'Ps' was not declared in this scope
psconsole.cpp:35: error: 'PS_DPC_ShutterSpeed' was not declared in this scope
psconsole.cpp:35: error: 'ShutterSpeedTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintWB()':
psconsole.cpp:41: error: 'Notify' was not declared in this scope
psconsole.cpp:42: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:42: error: expected primary-expression before ',' token
psconsole.cpp:42: error: 'VT_WB' was not declared in this scope
psconsole.cpp:42: error: 'VT_WB_COUNT' was not declared in this scope
psconsole.cpp:42: error: 'VT_WB_TEXT_LEN' was not declared in this scope
psconsole.cpp:42: error: 'PTP' was not declared in this scope
psconsole.cpp:42: error: expected primary-expression before ')' token
psconsole.cpp:42: error: 'Ps' was not declared in this scope
psconsole.cpp:42: error: 'PS_DPC_WhiteBalance' was not declared in this scope
psconsole.cpp:42: error: 'WbTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintIso()':
psconsole.cpp:48: error: 'Notify' was not declared in this scope
psconsole.cpp:49: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:49: error: expected primary-expression before ',' token
psconsole.cpp:49: error: 'VT_ISO' was not declared in this scope
psconsole.cpp:49: error: 'VT_ISO_COUNT' was not declared in this scope
psconsole.cpp:49: error: 'VT_ISO_TEXT_LEN' was not declared in this scope
psconsole.cpp:49: error: 'PTP' was not declared in this scope
psconsole.cpp:49: error: expected primary-expression before ')' token
psconsole.cpp:49: error: 'Ps' was not declared in this scope
psconsole.cpp:49: error: 'PS_DPC_ISOSpeed' was not declared in this scope
psconsole.cpp:49: error: 'IsoTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintExpCompensation()':
psconsole.cpp:55: error: 'Notify' was not declared in this scope
psconsole.cpp:56: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:56: error: expected primary-expression before ',' token
psconsole.cpp:56: error: 'VT_EXPCOMP' was not declared in this scope
psconsole.cpp:56: error: 'VT_EXPCOMP_COUNT' was not declared in this scope
psconsole.cpp:56: error: 'VT_EXPCOMP_TEXT_LEN' was not declared in this scope
psconsole.cpp:56: error: 'PTP' was not declared in this scope
psconsole.cpp:56: error: expected primary-expression before ')' token
psconsole.cpp:56: error: 'Ps' was not declared in this scope
psconsole.cpp:56: error: 'PS_DPC_ExpCompensation' was not declared in this scope
psconsole.cpp:56: error: 'ExpCompTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintCamOutput()':
psconsole.cpp:62: error: 'Notify' was not declared in this scope
psconsole.cpp:63: error: 'PrintValueTitle' was not declared in this scope
psconsole.cpp:63: error: expected primary-expression before ',' token
psconsole.cpp:63: error: 'VT_CAMOUTPUT' was not declared in this scope
psconsole.cpp:63: error: 'VT_CAMOUTPUT_COUNT' was not declared in this scope
psconsole.cpp:63: error: 'VT_CAMOUTPUT_TEXT_LEN' was not declared in this scope
psconsole.cpp:63: error: 'PTP' was not declared in this scope
psconsole.cpp:63: error: expected primary-expression before ')' token
psconsole.cpp:63: error: 'Ps' was not declared in this scope
psconsole.cpp:63: error: 'PS_DPC_CameraOutput' was not declared in this scope
psconsole.cpp:63: error: 'CamOutputTitles' was not declared in this scope
psconsole.cpp: In function 'void PrintZoom()':
psconsole.cpp:70: error: 'Notify' was not declared in this scope
psconsole.cpp:72: error: 'Ps' was not declared in this scope
psconsole.cpp:72: error: 'PS_DPC_Zoom' was not declared in this scope
psconsole.cpp:72: error: 'PTP_RC_OK' was not declared in this scope
psconsole.cpp:73: error: 'PrintHex' was not declared in this scope
psconsole.cpp:73: error: expected primary-expression before '>' token
psconsole.cpp: At global scope:
psconsole.cpp:90: error: 'QState' does not name a type
psconsole.cpp:95: error: 'QState' does not name a type
psconsole.cpp:108: error: 'QState' does not name a type
psconsole.cpp: In static member function 'static void PSConsole::PrintMenuTitles(uint8_t, const char**)':
psconsole.cpp:125: error: 'Serial' was not declared in this scope
psconsole.cpp:128: error: 'DEC' was not declared in this scope
psconsole.cpp: At global scope:
psconsole.cpp:139: error: 'QState' does not name a type
psconsole.cpp:175: error: 'QState' does not name a type
psconsole.cpp:210: error: 'QState' does not name a type
psconsole.cpp:240: error: 'QState' does not name a type
psconsole.cpp:270: error: 'QState' does not name a type
psconsole.cpp:300: error: 'QState' does not name a type
psconsole.cpp:331: error: 'QState' does not name a type
psconsole.cpp:361: error: 'QState' does not name a type
psconsole.cpp:391: error: 'QState' does not name a type
psconsole.cpp:419: error: 'QState' does not name a type
psconsole.cpp: In member function 'int8_t PSConsole::MenuSelect()':
psconsole.cpp:451: error: 'Serial' was not declared in this scope
psconsole.cpp:457: error: 'Serial' was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions