Skip to content

build instructions #35

@Br3nda

Description

@Br3nda

how do i build this?

i ran generate-makefile.sh
then make

and i get a page or errors.

$ make
cd && rm -rfv ./bin
cd libusb/ && [ -f configure ] || sh autogen.sh
cd libusb/ && [ -f Makefile ] || ./configure
cd libusb/ && [ -f libusb/.libs/libusb-1.0.a ] || make
test -d bin/Debug || mkdir -p bin/Debug
test -d obj/Debug/src || mkdir -p obj/Debug/src
sh -c -x "gcc -Wall wx-config --cflags -Winvalid-pch -include wx_pch.h python-config --include pkg-config --libs --cflags glib-2.0 -DWX_PRECOMP -O3 -g -I/usr/include/libxml2 -Iinclude -Ilibusb/libusb -c src/AboutDialog.cc -o obj/Debug/src/AboutDialog.o"

  • gcc -Wall -I/usr/lib/i386-linux-gnu/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread -Winvalid-pch -include wx_pch.h -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -lglib-2.0 -DWX_PRECOMP -O3 -g -I/usr/include/libxml2 -Iinclude -Ilibusb/libusb -c src/AboutDialog.cc -o obj/Debug/src/AboutDialog.o
    In file included from src/AboutDialog.cc:2:0:
    include/AboutDialog.h:17:1: error: expected class-name before ‘{’ token
    include/AboutDialog.h:24:3: error: ‘wxStaticText’ does not name a type
    include/AboutDialog.h:25:3: error: ‘wxStaticBitmap’ does not name a type
    include/AboutDialog.h:26:3: error: ‘wxStaticText’ does not name a type
    include/AboutDialog.h:27:3: error: ‘wxStaticLine’ does not name a type
    src/AboutDialog.cc:16:48: error: ‘wxNewId’ was not declared in this scope
    src/AboutDialog.cc:17:61: error: ‘wxNewId’ was not declared in this scope
    src/AboutDialog.cc:18:58: error: ‘wxNewId’ was not declared in this scope
    src/AboutDialog.cc:19:53: error: ‘wxNewId’ was not declared in this scope
    src/AboutDialog.cc:22:1: error: ‘wxDialog’ has not been declared
    src/AboutDialog.cc: In constructor ‘AboutDialog::AboutDialog(wxWindow_, wxWindowID)’:
    src/AboutDialog.cc:30:2: error: ‘wxFlexGridSizer’ was not declared in this scope
    src/AboutDialog.cc:30:19: error: ‘primarySizer’ was not declared in this scope
    src/AboutDialog.cc:31:19: error: ‘contentSizer’ was not declared in this scope
    src/AboutDialog.cc:33:102: error: ‘wxSTAY_ON_TOP’ was not declared in this scope
    src/AboutDialog.cc:33:116: error: ‘wxDEFAULT_DIALOG_STYLE’ was not declared in this scope
    src/AboutDialog.cc:33:139: error: ‘wxSYSTEM_MENU’ was not declared in this scope
    src/AboutDialog.cc:33:153: error: ‘wxCLOSE_BOX’ was not declared in this scope
    src/AboutDialog.cc:33:180: error: ‘Create’ was not declared in this scope
    src/AboutDialog.cc:34:31: error: ‘SetClientSize’ was not declared in this scope
    src/AboutDialog.cc:35:21: error: expected type-specifier before ‘wxFlexGridSizer’
    src/AboutDialog.cc:35:21: error: expected ‘;’ before ‘wxFlexGridSizer’
    src/AboutDialog.cc:36:2: error: ‘libreScribeLogoBitmap’ was not declared in this scope
    src/AboutDialog.cc:36:30: error: expected type-specifier before ‘wxStaticBitmap’
    src/AboutDialog.cc:36:30: error: expected ‘;’ before ‘wxStaticBitmap’
    src/AboutDialog.cc:38:21: error: expected type-specifier before ‘wxFlexGridSizer’
    src/AboutDialog.cc:38:21: error: expected ‘;’ before ‘wxFlexGridSizer’
    src/AboutDialog.cc:39:2: error: ‘libreScribeVersionLabel’ was not declared in this scope
    src/AboutDialog.cc:39:32: error: expected type-specifier before ‘wxStaticText’
    src/AboutDialog.cc:39:32: error: expected ‘;’ before ‘wxStaticText’
    src/AboutDialog.cc:41:2: error: ‘aboutDialogSeparator’ was not declared in this scope
    src/AboutDialog.cc:41:29: error: expected type-specifier before ‘wxStaticLine’
    src/AboutDialog.cc:41:29: error: expected ‘;’ before ‘wxStaticLine’
    src/AboutDialog.cc:43:2: error: ‘descriptionText’ was not declared in this scope
    src/AboutDialog.cc:43:24: error: expected type-specifier before ‘wxStaticText’
    src/AboutDialog.cc:43:24: error: expected ‘;’ before ‘wxStaticText’
    src/AboutDialog.cc:46:23: error: ‘SetSizer’ was not declared in this scope
    src/AboutDialog.cc:48:9: error: ‘Center’ was not declared in this scope
    make: *_* [obj/Debug/src/AboutDialog.o] Error 1

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