Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probleme avec HVACdemo #6

Open
tetiti20 opened this issue Apr 4, 2016 · 1 comment
Open

Probleme avec HVACdemo #6

tetiti20 opened this issue Apr 4, 2016 · 1 comment

Comments

@tetiti20
Copy link

tetiti20 commented Apr 4, 2016

Bonjour,

Je voulais tester le HVACdemo sur ma mitsubishi, malheureusement impossible de compiler.
Quelqu'un peut-il m'aider? J'ai arduino IDE à jour 1.6.7.
J'ai ces erreurs:
`Arduino : 1.6.7 (Windows 10), Carte : "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"

Les options de compilation ont été modifiées, tout sera recompilé
libraries\IRLib\IRremote2.cpp.o:(.bss.irparams+0x0): multiple definition of `irparams'

libraries\IRLib\IRLib.cpp.o:(.bss.irparams+0x0): first defined here

c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld.exe: Warning: size of symbol `irparams' changed from 209 in libraries\IRLib\IRLib.cpp.o to 206 in libraries\IRLib\IRremote2.cpp.o

libraries\IRLib\IRremote2.cpp.o: In function `IRsend::space(int)':

D:\Mes documents\Arduino\libraries\IRLib/IRremote2.cpp:231: multiple definition of `IRrecv::enableIRIn()'

libraries\IRLib\IRLib.cpp.o:D:\Mes documents\Arduino\libraries\IRLib/IRLib.cpp:346: first defined here

libraries\IRLib\IRremote2.cpp.o: In function `IRsend::space(int)':

D:\Mes documents\Arduino\libraries\IRLib/IRremote2.cpp:231: multiple definition of `__vector_7'

libraries\IRLib\IRLib.cpp.o:D:\Mes documents\Arduino\libraries\IRLib/IRLib.cpp:346: first defined here

libraries\IRLib\IRremote2.cpp.o: In function `IRsend::space(int)':

D:\Mes documents\Arduino\libraries\IRLib/IRremote2.cpp:231: multiple definition of `IRrecv::resume()'

libraries\IRLib\IRLib.cpp.o:D:\Mes documents\Arduino\libraries\IRLib/IRLib.cpp:346: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Erreur lors de la compilation.

Ce rapport contiendrait plus d'informations si l'option
"Montrer les informations de sortie pendant la compilation"
était activée dans Fichier > Préférences.
`

@janvikalra
Copy link

Hello,
I am experiencing the exact same problem! For anyone that doesn't speak French and couldn't read the post above, essentially when we try to compile the HVACDemo on an Arduino Uno the following errors come up, not allowing us to use the code. Are we doing something wrong or does the code itself have a bug in it?

Error Message
Arduino: 1.6.6 (Mac OS X), Board: "Arduino/Genuino Uno"

In file included from sketch/IRremote2.cpp:24:0:
sketch/IRremoteInt2.h:153:0: warning: "HVAC_MISTUBISHI_ZERO_SPACE" redefined [enabled by default]
#define HVAC_MISTUBISHI_ZERO_SPACE 472
^
sketch/IRremoteInt2.h:143:0: note: this is the location of the previous definition
#define HVAC_MISTUBISHI_ZERO_SPACE 420
^
sketch/IRremote2.cpp:663:28: warning: ISO C99 requires whitespace after the macro name [enabled by default]
#define HVAC_TOSHIBA_DEBUG; // Un comment to access DEBUG information through Serial Interface
^
IRremote2.cpp:654: error: expected unqualified-id before 'void'
void sendHvacToshiba(
^
IRremote2.cpp:654: error: expected constructor, destructor, or type conversion before 'void'
exit status 1
expected unqualified-id before 'void'

susumuota added a commit to susumuota/HVAC-IR-Control that referenced this issue Aug 9, 2016
r45635 added a commit that referenced this issue Mar 24, 2018
fixed sendHvacMitsubishiFD works properly. fixed Issue #6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants