Skip to content

xwidgets.h header isn't found; minus_png, plus_png symbols aren't found #61

@yurivict

Description

@yurivict

Using all fixes mentioned in this issue, the current master revision still fails:

===>  Building for mamba-2.6
for         FreeBSD
with        cc
using       gold
and         xxd -i
gmake[1]: warning: -j1 forced in submake: resetting jobserver mode.
 Building object file build/Mamba.o 
 Building object file build/XAlsa.o 
 Building object file build/XJack.o 
 Building object file build/NsmHandler.o 
 Building object file build/XSynth.o 
 Building object file build/MidiMapper.o 
 Building object file build/main.o 
In file included from main.cpp:21:
./MidiKeyBoard.h:57:10: fatal error: 'xwidgets.h' file not found
   57 | #include "xwidgets.h"
      |          ^~~~~~~~~~~~
1 error generated.

When the path issue is patched, the minus_png, plus_png symbols aren't found:

===>  Building for mamba-2.6
for         FreeBSD
with        cc
using       gold
and         xxd -i
gmake[1]: warning: -j1 forced in submake: resetting jobserver mode.
 Building object file build/Mamba.o 
 Building object file build/XAlsa.o 
 Building object file build/XJack.o 
 Building object file build/NsmHandler.o 
 Building object file build/XSynth.o 
 Building object file build/MidiMapper.o 
 Building object file build/main.o 
 Building object file build/PosixSignalHandler.o 
 Building object file build/AnimatedKeyBoard.o 
 Building object file build/MidiKeyBoard.o 
MidiKeyBoard.cpp:631:40: error: use of undeclared identifier 'midikeyboard_png'
  631 |     widget_set_icon_from_png(win,LDVAR(midikeyboard_png));
      |                                        ^
MidiKeyBoard.cpp:823:31: error: use of undeclared identifier 'minus_png'
  823 |     widget_get_png(tmp, LDVAR(minus_png));
      |                               ^
MidiKeyBoard.cpp:829:31: error: use of undeclared identifier 'plus_png'
  829 |     widget_get_png(tmp, LDVAR(plus_png));
      |                               ^
MidiKeyBoard.cpp:843:31: error: use of undeclared identifier 'minus_png'
  843 |     widget_get_png(tmp, LDVAR(minus_png));
      |                               ^
MidiKeyBoard.cpp:849:31: error: use of undeclared identifier 'plus_png'
  849 |     widget_get_png(tmp, LDVAR(plus_png));
      |                               ^
MidiKeyBoard.cpp:935:34: error: use of undeclared identifier 'record_png'
  935 |     widget_get_png(record, LDVAR(record_png));
      |                                  ^
MidiKeyBoard.cpp:939:32: error: use of undeclared identifier 'play_png'
  939 |     widget_get_png(play, LDVAR(play_png));
      |                                ^
MidiKeyBoard.cpp:944:33: error: use of undeclared identifier 'pause_png'
  944 |     widget_get_png(pause, LDVAR(pause_png));
      |                                 ^
MidiKeyBoard.cpp:948:33: error: use of undeclared identifier 'eject_png'
  948 |     widget_get_png(eject, LDVAR(eject_png));
      |                                 ^
9 errors generated.

rev. c31e2f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions