Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

CCS compiler - unable to resolve identifier -

[es] :: Elektronika :: Mikrokontroleri :: CCS compiler - unable to resolve identifier -

[ Pregleda: 1802 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

mst.petrovic
milos petrovic
student
nis

Član broj: 256875
Poruke: 47
*.dynamic.sbb.rs.



+1 Profil

icon CCS compiler - unable to resolve identifier -06.03.2013. u 20:40 - pre 135 meseci
poštovani,

Počeo sam da koristim CCS compiler i odmah sam naleteo na problem. Koristim MPLAB X v1.6 i CCS compiler 4.130 i kada ukucam neku naredbu tipa :
Code:
 set_tris_b(0); 
onda mi podvuče ovo crvenom i napiše " unable to resolve identifier "

unable definer.jpg

mst
Prikačeni fajlovi
 
Odgovor na temu

shpiki
Student
Novi Sad

Član broj: 50342
Poruke: 1651



+62 Profil

icon Re: CCS compiler - unable to resolve identifier -06.03.2013. u 22:24 - pre 135 meseci
A ti onda izGooglas "MPLABX unable to resolve identifier" ili "CCS C unable to resolve identifier", pa procitas sta se ljudima desava, sigurno nisi jedini koji je imao ovu gresku.
Moguce da je do pogresnog/netacnog definisanja promenljive/funkcije/itd, moguce je da nisi "ukljucio" (#include) odgovarajuci .h fajl...
There are only 10 types of people in the world:
those who understand binary, and those who don't.
 
Odgovor na temu

ha_23

Član broj: 282489
Poruke: 219
94.100.99.*



+4 Profil

icon Re: CCS compiler - unable to resolve identifier -06.03.2013. u 22:47 - pre 135 meseci
Evo citat Microchip forum:
LINK
"The CCS compiler uses built in functions that are created by the compiler based on #use directives. There are no header files for those functions.

From here, to get rid of the unresolved identifiers you can do a couple different things:
1. Tools->Options->C++ Tab->Highlight Unresolved Identifiers Checkbox
2. Another option is to make a header file with forward declared versions of the functions. Note that since CCS allows function overloading, you only have to forward declare one version of the method. I actually use void function_name(); for all of the ones I use. "
 
Odgovor na temu

mst.petrovic
milos petrovic
student
nis

Član broj: 256875
Poruke: 47
*.dynamic.sbb.rs.



+1 Profil

icon Re: CCS compiler - unable to resolve identifier -06.03.2013. u 22:52 - pre 135 meseci
hahah
tako je upravo sam hteo da odgovorim na temu, da sam našao gde je problem i ti si napisao!!!
to rešava samo do nekle problem, kada u mplabu pritisnete ctrl+ space on izbaci mogućnost da se završi neka komanda, to nije moguće ovde, zbog čega, nemam pojma !!!???
mst
 
Odgovor na temu

[es] :: Elektronika :: Mikrokontroleri :: CCS compiler - unable to resolve identifier -

[ Pregleda: 1802 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.