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

Error due compile time. #3

Open
vega0 opened this issue Jun 23, 2023 · 1 comment
Open

Error due compile time. #3

vega0 opened this issue Jun 23, 2023 · 1 comment

Comments

@vega0
Copy link

vega0 commented Jun 23, 2023

Expected Behavior

a simple window with a button.

Current Behavior

error due compile time.

Possible Solution

fix names.

Steps to Reproduce (for bugs)

  1. install haxeui-code
  2. install haxui-pdcurses
  3. create simplke application
  4. try to compile it.

Media

Error: ./src/haxe/ui/backend/pdcurses/Keyboard.cpp: В статической функции-члене «static void haxe::ui::backend::pdcurses::Keyboard_obj::update(int)»:
./src/haxe/ui/backend/pdcurses/Keyboard.cpp:86:41: ошибка: нет декларации «PDC_get_key_modifiers» в этой области видимости
   86 | HXLINE(  32)                    int m = PDC_get_key_modifiers();
      |                                         ^~~~~~~~~~~~~~~~~~~~~
./src/haxe/ui/backend/pdcurses/Keyboard.cpp:88:43: ошибка: «PDC_BUTTON_SHIFT» was not declared in this scope; did you mean «BUTTON_SHIFT»?
   88 | HXLINE(  34)                    if ((m != PDC_BUTTON_SHIFT)) {
      |                                           ^~~~~~~~~~~~~~~~
      |                                           BUTTON_SHIFT

Test app / minimal test case

Context

Your Environment

  • Version used: haxe 4.3.1 pdcurses version actual github.
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop or mobile): Rosa OS
  • Link to your project: none
@vega0
Copy link
Author

vega0 commented Jun 23, 2023

 - src/haxe/ui/backend/pdcurses/Keyboard.cpp 
Error: ./src/haxe/ui/backend/pdcurses/Keyboard.cpp: В статической функции-члене «static void haxe::ui::backend::pdcurses::Keyboard_obj::update(int)»:
./src/haxe/ui/backend/pdcurses/Keyboard.cpp:86:41: ошибка: нет декларации «PDC_get_key_modifiers» в этой области видимости
   86 | HXLINE(  33)                    int m = PDC_get_key_modifiers();
      |                                         ^~~~~~~~~~~~~~~~~~~~~

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

1 participant