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

demo2 doesn't compile #42

Closed
metawops opened this issue Nov 24, 2016 · 2 comments
Closed

demo2 doesn't compile #42

metawops opened this issue Nov 24, 2016 · 2 comments
Labels

Comments

@metawops
Copy link

Downloaded the latest toolchain on my iMac (macOS Sierra 10.12.1), installed the Wine Devel 1.9.23 .pkg and set up the environment variables.
Works fine so far. I was able to successfully build the demo0 and the demo1, transfer them to my TI-84 Plus CE-T and run them there via Asm(prgmDEMO0 and Asm(prgmDEMO1. 😃

The demo2, however, can't be compiled. Here's the output of make.exe:

Z:\Users\stefan\CEdev\examples\demo_2\src\main.c
Z:\USERS\STEFAN\CEDEV\EXAMPLES\DEMO_2\SRC\MAIN.C	(22,42) :	WARNING (197) No function prototype "lcd_GetBacklightLevel" in scope
Z:\USERS\STEFAN\CEDEV\EXAMPLES\DEMO_2\SRC\MAIN.C	(26,25) :	WARNING (197) No function prototype "lcd_SetBacklightLevel" in scope
Z:\USERS\STEFAN\CEDEV\EXAMPLES\DEMO_2\SRC\MAIN.C	(31,25) :	WARNING (197) No function prototype "lcd_SetBacklightLevel" in scope
Z:\USERS\STEFAN\CEDEV\EXAMPLES\DEMO_2\SRC\MAIN.C	(34,24) :	WARNING (197) No function prototype "lcd_SetBacklightLevel" in scope
ConvPNG 5.5 by M.Waltz

Converted icon 'iconc.png'
Linking...
WARNING (724) --> Symbol _lcd_SetBacklightLevel (obj\main.obj) is not defined.
WARNING (724) --> Symbol _lcd_GetBacklightLevel (obj\main.obj) is not defined.


SPACE ALLOCATION:
=================

Space                     Base         Top      Size      Used    Unused
------------------ ----------- ----------- --------- --------- ---------
RAM                   D:D1A87F    D:D1AA71   300000H      1F3H   2FFE0DH
                                          (  3145728       499   3145229)

ERROR: Object file(s) deleted because of option unresolved=fatal.
Consult bin/DEMO2.map for more information.
make: *** [bin/DEMO2.hex] Error -1

Both functions have no prototype in the main.c file. Is that meant to be so?

@adriweb adriweb added the bug label Nov 24, 2016
@adriweb
Copy link
Member

adriweb commented Nov 24, 2016

Woops - indeed, looks like lcd_SetBacklightLevel got removed at some point (replaced by a simple define).

This fixed code seems to work :)

@mateoconlechuga
Copy link
Member

mateoconlechuga commented Nov 24, 2016

Hm, I should check these things more often :P Sorry about that.

Updated code added to release: https://github.com/CE-Programming/toolchain/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants