I'm currently trying to get generichid running on a VM with a fresh install of ubuntu 14.04 LTS. After installing the dependencies and creating the make file with qmake, I run into an error when running the make command. There seem to be a bunch of errors when compiling atmel.cpp. Below is just one of many:
From: Tyler Aas [mailto:wzrds3@users.sf.net]
Sent: Monday, 1 June 2015 11:10 AM
To: [generichid:discussion]
Subject: [generichid:discussion] Make error
I'm currently trying to get generichid running on a VM with a fresh install of ubuntu 14.04 LTS. After installing the dependencies and creating the make file with qmake, I run into an error when running the make command. There seem to be a bunch of errors when compiling atmel.cpp. Below is just one of many:
atmel.cpp:1167:5: note: in expansion of macro ‘DEBUG_MSG’
DEBUG_MSG( QString("%1( %2, %3, %4, %5, %6 )\n").arg(FUNCTION).arg((int)device).arg((int)buffer).arg(base_address).arg(length).arg(eeprom ? "true" : "false") );
^
atmel.cpp:1167:98: error: cast from ‘int16_t {aka short int}’ to ‘int’ loses precision [-fpermissive]
DEBUG_MSG( QString("%1( %2, %3, %4, %5, %6 )\n").arg(FUNCTION).arg((int)device).arg((int)buffer).arg(base_address).arg(length).arg(eeprom ? "true" : "false") );
^
../utility/log.h:31:130: note: in definition of macro ‘LOG_MSG’
#define LOG_MSG( ClassLogger, Type, Msg ) { if ( (ClassLogger).WillLog(Type) ) (ClassLogger).LogMsg( Type, FILE, LINE, Msg ); }
These errors end with a generic fatal make error message:
I'm currently trying to get generichid running on a VM with a fresh install of ubuntu 14.04 LTS. After installing the dependencies and creating the make file with qmake, I run into an error when running the make command. There seem to be a bunch of errors when compiling atmel.cpp. Below is just one of many:
These errors end with a generic fatal make error message:
I don't know enough to really debug this. Any suggestions?
Can you send me more of the error messages.
From: Tyler Aas [mailto:wzrds3@users.sf.net]
Sent: Monday, 1 June 2015 11:10 AM
To: [generichid:discussion]
Subject: [generichid:discussion] Make error
I'm currently trying to get generichid running on a VM with a fresh install of ubuntu 14.04 LTS. After installing the dependencies and creating the make file with qmake, I run into an error when running the make command. There seem to be a bunch of errors when compiling atmel.cpp. Below is just one of many:
atmel.cpp:1167:5: note: in expansion of macro ‘DEBUG_MSG’
DEBUG_MSG( QString("%1( %2, %3, %4, %5, %6 )\n").arg(FUNCTION).arg((int)device).arg((int)buffer).arg(base_address).arg(length).arg(eeprom ? "true" : "false") );
^
atmel.cpp:1167:98: error: cast from ‘int16_t {aka short int}’ to ‘int’ loses precision [-fpermissive]
DEBUG_MSG( QString("%1( %2, %3, %4, %5, %6 )\n").arg(FUNCTION).arg((int)device).arg((int)buffer).arg(base_address).arg(length).arg(eeprom ? "true" : "false") );
^
../utility/log.h:31:130: note: in definition of macro ‘LOG_MSG’
#define LOG_MSG( ClassLogger, Type, Msg ) { if ( (ClassLogger).WillLog(Type) ) (ClassLogger).LogMsg( Type, FILE, LINE, Msg ); }
These errors end with a generic fatal make error message:
make[1]: *** [release//atmel.o] Error 1
make[1]: Leaving directory `/home/tobeannouncd/Downloads/generichid_1.5/dfuprogrammer'
make: *** [sub-dfuprogrammer-dfuprogrammer-pro-make_default-ordered] Error 2
I don't know enough to really debug this. Any suggestions?
Make error https://sourceforge.net/p/generichid/discussion/1015583/thread/1fd13b3e/?limit=25#b09e
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/generichid/discussion/1015583/ https://sourceforge.net/p/generichid/discussion/1015583
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions
Attached is the whole output I get after putting in the make command.
Hi,
Unfortunately, I got the same problems on a fresh VM install of a Debian 8 on osx.
I've attached compile errors output.
Any ideas?
Sincelery
JP CIVADE
Apologies for the lack of replies. The RSS feed stopped working so I haven't seen any of these new posts.
I haven't tried a 64 bit build, but the source was posted to git and some work was done by another developer to get 64 bit to work.
Look here - https://github.com/ftkalcevic/GenericHID