You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
tobias@tobias-kanotix32:~$ cd aeinfo-2.2-src
tobias@tobias-kanotix32:~/aeinfo-2.2-src$ make
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 2/" -e "s/fan.1/fan.2/g" > htdocs/fan.2.htm
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 3/" -e "s/fan.1/fan.3/g" > htdocs/fan.3.htm
cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 4/" -e "s/fan.1/fan.4/g" > htdocs/fan.4.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 2/" -e "s/sensor.1/sensor.2/g" > htdocs/sensor.2.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 3/" -e "s/sensor.1/sensor.3/g" > htdocs/sensor.3.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 4/" -e "s/sensor.1/sensor.4/g" > htdocs/sensor.4.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 5/" -e "s/sensor.1/sensor.5/g" > htdocs/sensor.5.htm
cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 6/" -e "s/sensor.1/sensor.6/g" > htdocs/sensor.6.htm
g++ -Wno-deprecated -DUSE_COLORS -Wall -lusb global.cpp -o aeinfo
In file included from comm.h:24,
from global.cpp:60:
usbio.h:33:18: error: usb.h: Datei oder Verzeichnis nicht gefunden
definePropMap.h: In function ‘void definePropertyMap(AquaeroData_rev4&)’:
definePropMap.h:165: warning: large integer implicitly truncated to unsigned type
definePropMap.h:166: warning: large integer implicitly truncated to unsigned type
definePropMap.h:167: warning: large integer implicitly truncated to unsigned type
definePropMap.h:168: warning: large integer implicitly truncated to unsigned type
definePropMap.h:169: warning: large integer implicitly truncated to unsigned type
definePropMap.h:170: warning: large integer implicitly truncated to unsigned type
comm.h: At global scope:
comm.h:14: warning: ‘class AquaeroCommunication’ has virtual functions but non-virtual destructor
usbio.h:128: error: ISO C++ forbids declaration of ‘usb_dev_handle’ with no type
usbio.h:128: error: expected ‘;’ before ‘*’ token
usbio.h:249: error: ‘usb_dev_handle’ has not been declared
usbio.h:433: error: ISO C++ forbids declaration of ‘usb_dev_handle’ with no type
usbio.h:433: error: expected ‘;’ before ‘*’ token
usbio.h:549: error: expected `;' before ‘string’
usbio.h: In member function ‘void USBCommunication::close_device()’:
usbio.h:181: error: ‘open_handle’ was not declared in this scope
usbio.h:181: error: ‘usb_close’ was not declared in this scope
usbio.h: In member function ‘usb_device* USBCommunication::init_device()’:
usbio.h:272: error: ‘usb_init’ was not declared in this scope
usbio.h:273: error: ‘usb_find_busses’ was not declared in this scope
usbio.h:274: error: ‘usb_find_devices’ was not declared in this scope
usbio.h:276: error: ‘usb_get_busses’ was not declared in this scope
usbio.h:276: error: invalid use of undefined type ‘struct usb_bus’
usbio.h:269: error: forward declaration of ‘struct usb_bus’
usbio.h:278: error: invalid use of undefined type ‘struct usb_bus’
usbio.h:269: error: forward declaration of ‘struct usb_bus’
usbio.h:278: error: invalid use of undefined type ‘struct usb_device’
usbio.h:266: error: forward declaration of ‘struct usb_device’
usbio.h:280: error: invalid use of undefined type ‘struct usb_device’
usbio.h:266: error: forward declaration of ‘struct usb_device’
usbio.h:281: error: invalid use of undefined type ‘struct usb_device’
usbio.h:266: error: forward declaration of ‘struct usb_device’
usbio.h: In member function ‘std::string USBCommunication::readAEString()’:
usbio.h:551: error: ‘usb_dev_handle’ was not declared in this scope
usbio.h:551: error: ‘aq’ was not declared in this scope
usbio.h:551: error: ‘get_aquaero_handle’ was not declared in this scope
usbio.h:562: error: ‘usb_interrupt_read’ was not declared in this scope
usbio.h:598: error: ‘usb_close’ was not declared in this scope
usbio.h: In member function ‘void USBCommunication::writeAEString(std::string)’:
usbio.h:621: error: ‘usb_dev_handle’ was not declared in this scope
usbio.h:621: error: ‘aq’ was not declared in this scope
usbio.h:621: error: ‘get_aquaero_handle’ was not declared in this scope
usbio.h:640: error: ‘usb_control_msg’ was not declared in this scope
usbio.h:696: error: ‘usb_close’ was not declared in this scope
ipc.h: At global scope:
ipc.h:1080: warning: ‘class AquaeroDaemonService’ has virtual functions but non-virtual destructor
global.cpp: In function ‘int main(int, char**)’:
global.cpp:380: warning: unused variable ‘ret’
make: *** [all] Fehler 1
|
Auf Deinem System ist die libusb nicht installiert. Für die Kompilierung wird unter Umständen auch ein libusb-devel-Paket benötigt...
Quoted
![]()
Source code
1 usbio.h:33:18: error: usb.h: Datei oder Verzeichnis nicht gefunden
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
root@tobias-kanotix-vmware:/home/tobias/Desktop/aeinfo-2.2-src# make cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 2/" -e "s/fan.1/fan.2/g" > htdocs/fan.2.htm cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 3/" -e "s/fan.1/fan.3/g" > htdocs/fan.3.htm cat htdocs/fan.1.htm | sed -e "s/FAN 1/FAN 4/" -e "s/fan.1/fan.4/g" > htdocs/fan.4.htm cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 2/" -e "s/sensor.1/sensor.2/g" > htdocs/sensor.2.htm cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 3/" -e "s/sensor.1/sensor.3/g" > htdocs/sensor.3.htm cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 4/" -e "s/sensor.1/sensor.4/g" > htdocs/sensor.4.htm cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 5/" -e "s/sensor.1/sensor.5/g" > htdocs/sensor.5.htm cat htdocs/sensor.1.htm | sed -e "s/SENSOR 1/SENSOR 6/" -e "s/sensor.1/sensor.6/g" > htdocs/sensor.6.htm g++ -Wno-deprecated -DUSE_COLORS -Wall -lusb global.cpp -o aeinfo definePropMap.h: In function ‘void definePropertyMap(AquaeroData_rev4&)’: definePropMap.h:165: warning: large integer implicitly truncated to unsigned type definePropMap.h:166: warning: large integer implicitly truncated to unsigned type definePropMap.h:167: warning: large integer implicitly truncated to unsigned type definePropMap.h:168: warning: large integer implicitly truncated to unsigned type definePropMap.h:169: warning: large integer implicitly truncated to unsigned type definePropMap.h:170: warning: large integer implicitly truncated to unsigned type comm.h: At global scope: comm.h:14: warning: ‘class AquaeroCommunication’ has virtual functions but non-virtual destructor ipc.h:1080: warning: ‘class AquaeroDaemonService’ has virtual functions but non-virtual destructor global.cpp: In function ‘int main(int, char**)’: global.cpp:380: warning: unused variable ‘ret’ g++ -Wno-deprecated -Wall -lusb -lpthread aquaerod.cpp -o aquaerod definePropMap.h: In function ‘void definePropertyMap(AquaeroData_rev4&)’: definePropMap.h:165: warning: large integer implicitly truncated to unsigned type definePropMap.h:166: warning: large integer implicitly truncated to unsigned type definePropMap.h:167: warning: large integer implicitly truncated to unsigned type definePropMap.h:168: warning: large integer implicitly truncated to unsigned type definePropMap.h:169: warning: large integer implicitly truncated to unsigned type definePropMap.h:170: warning: large integer implicitly truncated to unsigned type comm.h: At global scope: comm.h:14: warning: ‘class AquaeroCommunication’ has virtual functions but non-virtual destructor ipc.h:1080: warning: ‘class AquaeroDaemonService’ has virtual functions but non-virtual destructor aehttpd.cpp: In member function ‘std::string ScriptParser::executeScript(std::string, std::string)’: aehttpd.cpp:713: warning: comparison between signed and unsigned integer expressions aehttpd.cpp:747: warning: comparison between signed and unsigned integer expressions aehttpd.cpp:813: warning: comparison between signed and unsigned integer expressions aehttpd.cpp: In member function ‘bool HttpResponse::checkURI(std::string)’: aehttpd.cpp:1248: warning: comparison between signed and unsigned integer expressions lex.yy.c: At global scope: lex.yy.c:1008: warning: ‘void yyunput(int, char*)’ defined but not used |
-