Author Topic: I installed gproxy++?  (Read 1295 times)

Artyom91

  • Advanced Member
  • ****
  • Posts: 257
  • Karma: +2/-43
    • View Profile
I installed gproxy++?
« on: December 29, 2013, 08:12:13 pm »
Hello, how to check the work?

I copied the files to the server, made ​​a compilation bncsutil.

Artyom91

  • Advanced Member
  • ****
  • Posts: 257
  • Karma: +2/-43
    • View Profile
Re: I installed gproxy++?
« Reply #1 on: December 29, 2013, 08:18:37 pm »
Code: [Select]
/ghost++/gproxy# make
g++ -o gproxy.o  -O3  -I. -I../bncsutil/src/ -c gproxy.cpp
gproxy.cpp:55:1: error: ‘WINDOW’ does not name a type
 WINDOW *gMainWindow = NULL;
 ^
gproxy.cpp:56:1: error: ‘WINDOW’ does not name a type
 WINDOW *gBottomBorder = NULL;
 ^
gproxy.cpp:57:1: error: ‘WINDOW’ does not name a type
 WINDOW *gRightBorder = NULL;
 ^
gproxy.cpp:58:1: error: ‘WINDOW’ does not name a type
 WINDOW *gInputWindow = NULL;
 ^
gproxy.cpp:59:1: error: ‘WINDOW’ does not name a type
 WINDOW *gChannelWindow = NULL;
 ^
gproxy.cpp: In function ‘void CONSOLE_Draw()’:
gproxy.cpp:187:11: error: ‘gMainWindow’ was not declared in this scope
   wclear( gMainWindow );
           ^
gproxy.cpp:187:23: error: ‘wclear’ was not declared in this scope
   wclear( gMainWindow );
                       ^
gproxy.cpp:188:28: error: ‘wmove’ was not declared in this scope
   wmove( gMainWindow, 0, 0 );
                            ^
gproxy.cpp:193:29: error: ‘waddch’ was not declared in this scope
     waddch( gMainWindow, *j );
                             ^
gproxy.cpp:196:31: error: ‘waddch’ was not declared in this scope
     waddch( gMainWindow, '\n' );
                               ^
gproxy.cpp:199:25: error: ‘wrefresh’ was not declared in this scope
   wrefresh( gMainWindow );
                         ^
gproxy.cpp:207:11: error: ‘gInputWindow’ was not declared in this scope
   wclear( gInputWindow );
           ^
gproxy.cpp:207:24: error: ‘wclear’ was not declared in this scope
   wclear( gInputWindow );
                        ^
gproxy.cpp:208:29: error: ‘wmove’ was not declared in this scope
   wmove( gInputWindow, 0, 0 );
                             ^
gproxy.cpp:211:29: error: ‘waddch’ was not declared in this scope
    waddch( gInputWindow, *i );
                             ^
gproxy.cpp:213:26: error: ‘wrefresh’ was not declared in this scope
   wrefresh( gInputWindow );
                          ^
gproxy.cpp:221:11: error: ‘gChannelWindow’ was not declared in this scope
   wclear( gChannelWindow );
           ^
gproxy.cpp:221:26: error: ‘wclear’ was not declared in this scope
   wclear( gChannelWindow );
                          ^
gproxy.cpp:222:127: error: ‘mvwaddnstr’ was not declared in this scope
   mvwaddnstr( gChannelWindow, 0, gChannelName.size( ) < 16 ? ( 16 - gChannelName.size( ) ) / 2 : 0, gChannelName.c_str( ), 16 );
                                                                                                                               ^
gproxy.cpp:223:41: error: ‘mvwhline’ was not declared in this scope
   mvwhline( gChannelWindow, 1, 0, 0, 16 );
                                         ^
gproxy.cpp:231:13: error: ‘LINES’ was not declared in this scope
    if( y >= LINES - 3 )
             ^
gproxy.cpp:235:28: error: ‘wrefresh’ was not declared in this scope
   wrefresh( gChannelWindow );
                            ^
gproxy.cpp: In function ‘void CONSOLE_Resize()’:
gproxy.cpp:245:11: error: ‘gMainWindow’ was not declared in this scope
  wresize( gMainWindow, LINES - 3, COLS - 17 );
           ^
gproxy.cpp:245:24: error: ‘LINES’ was not declared in this scope
  wresize( gMainWindow, LINES - 3, COLS - 17 );
                        ^
gproxy.cpp:245:35: error: ‘COLS’ was not declared in this scope
  wresize( gMainWindow, LINES - 3, COLS - 17 );
                                   ^
gproxy.cpp:245:45: error: ‘wresize’ was not declared in this scope
  wresize( gMainWindow, LINES - 3, COLS - 17 );
                                             ^
gproxy.cpp:246:11: error: ‘gBottomBorder’ was not declared in this scope
  wresize( gBottomBorder, 1, COLS );
           ^
gproxy.cpp:247:11: error: ‘gRightBorder’ was not declared in this scope
  wresize( gRightBorder, LINES - 3, 1 );
           ^
gproxy.cpp:248:11: error: ‘gInputWindow’ was not declared in this scope
  wresize( gInputWindow, 2, COLS );
           ^
gproxy.cpp:249:11: error: ‘gChannelWindow’ was not declared in this scope
  wresize( gChannelWindow, LINES - 3, 16 );
           ^
gproxy.cpp:251:37: error: ‘mvwin’ was not declared in this scope
  mvwin( gBottomBorder, LINES - 3, 0 );
                                     ^
gproxy.cpp:255:41: error: ‘mvwhline’ was not declared in this scope
  mvwhline( gBottomBorder, 0, 0, 0, COLS );
                                         ^
gproxy.cpp:256:41: error: ‘mvwvline’ was not declared in this scope
  mvwvline( gRightBorder, 0, 0, 0, LINES );
                                         ^
gproxy.cpp:257:26: error: ‘wrefresh’ was not declared in this scope
  wrefresh( gBottomBorder );
                          ^
gproxy.cpp: In function ‘int main(int, char**)’:
gproxy.cpp:500:11: error: ‘initscr’ was not declared in this scope
  initscr( );
           ^
gproxy.cpp:504:9: error: ‘clear’ was not declared in this scope
  clear( );
         ^
gproxy.cpp:505:10: error: ‘noecho’ was not declared in this scope
  noecho( );
          ^
gproxy.cpp:506:10: error: ‘cbreak’ was not declared in this scope
  cbreak( );
          ^
gproxy.cpp:507:2: error: ‘gMainWindow’ was not declared in this scope
  gMainWindow = newwin( LINES - 3, COLS - 17, 0, 0 );
  ^
gproxy.cpp:507:24: error: ‘LINES’ was not declared in this scope
  gMainWindow = newwin( LINES - 3, COLS - 17, 0, 0 );
                        ^
gproxy.cpp:507:35: error: ‘COLS’ was not declared in this scope
  gMainWindow = newwin( LINES - 3, COLS - 17, 0, 0 );
                                   ^
gproxy.cpp:507:51: error: ‘newwin’ was not declared in this scope
  gMainWindow = newwin( LINES - 3, COLS - 17, 0, 0 );
                                                   ^
gproxy.cpp:508:2: error: ‘gBottomBorder’ was not declared in this scope
  gBottomBorder = newwin( 1, COLS, LINES - 3, 0 );
  ^
gproxy.cpp:509:2: error: ‘gRightBorder’ was not declared in this scope
  gRightBorder = newwin( LINES - 3, 1, 0, COLS - 17 );
  ^
gproxy.cpp:510:2: error: ‘gInputWindow’ was not declared in this scope
  gInputWindow = newwin( 2, COLS, LINES - 2, 0 );
  ^
gproxy.cpp:511:2: error: ‘gChannelWindow’ was not declared in this scope
  gChannelWindow = newwin( LINES - 3, 16, 0, COLS - 16 );
  ^
gproxy.cpp:512:41: error: ‘mvwhline’ was not declared in this scope
  mvwhline( gBottomBorder, 0, 0, 0, COLS );
                                         ^
gproxy.cpp:513:41: error: ‘mvwvline’ was not declared in this scope
  mvwvline( gRightBorder, 0, 0, 0, LINES );
                                         ^
gproxy.cpp:514:26: error: ‘wrefresh’ was not declared in this scope
  wrefresh( gBottomBorder );
                          ^
gproxy.cpp:516:25: error: ‘TRUE’ was not declared in this scope
  scrollok( gMainWindow, TRUE );
                         ^
gproxy.cpp:516:30: error: ‘scrollok’ was not declared in this scope
  scrollok( gMainWindow, TRUE );
                              ^
gproxy.cpp:517:29: error: ‘keypad’ was not declared in this scope
  keypad( gInputWindow, TRUE );
                             ^
gproxy.cpp:523:23: error: ‘wgetch’ was not declared in this scope
  wgetch( gInputWindow );
                       ^
gproxy.cpp:524:30: error: ‘nodelay’ was not declared in this scope
  nodelay( gInputWindow, TRUE );
                              ^
gproxy.cpp:538:15: error: ‘ERR’ was not declared in this scope
   while( c != ERR )
               ^
gproxy.cpp:540:35: error: ‘KEY_BACKSPACE’ was not declared in this scope
    if( c == 8 || c == 127 || c == KEY_BACKSPACE || c == KEY_DC )
                                   ^
gproxy.cpp:540:57: error: ‘KEY_DC’ was not declared in this scope
    if( c == 8 || c == 127 || c == KEY_BACKSPACE || c == KEY_DC )
                                                         ^
gproxy.cpp:729:18: error: ‘KEY_RESIZE’ was not declared in this scope
    else if( c == KEY_RESIZE )
                  ^
gproxy.cpp:762:10: error: ‘endwin’ was not declared in this scope
  endwin( );
          ^
make: *** [gproxy.o] Ошибка 1