Coder Social home page Coder Social logo

stonewell / wxglterm Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 4.0 1.3 MB

A cross platform terminal emulator. Buildin plugin system support python and c/c++ plugin.

License: MIT License

CMake 4.54% C++ 81.80% Python 11.43% Emacs Lisp 0.02% C 1.75% Shell 0.02% Objective-C 0.03% GLSL 0.34% Dockerfile 0.07%
terminal-emulators python3 plugin-system opengl freetype-gl

wxglterm's Introduction

wxglterm Build Status

A cross platform terminal emulator. Buildin plugin system support python and c/c++ plugin.

Prerequisites

Default Plugins

Build

mkdir build
cd build
cmake .. -DPYTHON_INCLUDE_DIR=$(python3 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") -DBUILD_WXWIDGETS_UI=ON -DBUILD_OPENGL_UI=ON
make

wxglterm's People

Contributors

stonewell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wxglterm's Issues

Build Failure

[ 10%] Building CXX object src/plugins/CMakeFiles/plugins.dir/default_show_context_window_task.cpp.o
In file included from /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/embed.h:12,
from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/default_show_context_window_task.cpp:1:
/home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’:
/home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h:309:74: error: cast between incompatible function types from ‘PyObject* ()(PyObject, PyObject*, PyObject*)’ {aka ‘_object* ()(_object, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* ()(_object, _object*)’} [-Werror=cast-function-type]
rec->def->ml_meth = reinterpret_cast(*dispatcher);
^
cc1plus: all warnings being treated as errors
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/build.make:76: src/plugins/CMakeFiles/plugins.dir/default_show_context_window_task.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:516: src/plugins/CMakeFiles/plugins.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Build is failing on arch linux

/tmp/ccbeGNMM.ltrans8.ltrans.o: In function os_openpty_impl.isra.90': /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/build/src/app/./Modules/posixmodule.c:5811: undefined reference to openpty'
/tmp/ccbeGNMM.ltrans8.ltrans.o: In function os_forkpty_impl.isra.89': /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/build/src/app/./Modules/posixmodule.c:5905: undefined reference to forkpty'
collect2: error: ld returned 1 exit status
make[2]: *** [src/app/CMakeFiles/wxglterm.dir/build.make:105: src/app/wxglterm] Error 1
make[1]: *** [CMakeFiles/Makefile2:419: src/app/CMakeFiles/wxglterm.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

build failure on linux

/tmp/cc0DaS8O.ltrans8.ltrans.o: In function os_openpty_impl.isra.90': /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/app/./Modules/posixmodule.c:5811: undefined reference to openpty'
/tmp/cc0DaS8O.ltrans8.ltrans.o: In function os_forkpty_impl.isra.89': /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/app/./Modules/posixmodule.c:5905: undefined reference to forkpty'
collect2: error: ld returned 1 exit status

Build Failure

-- Build files have been written to: /home/solaraquarion/build/wxglterm-git/src/build/src/external_plugins/scintilla_editor/scite-prefix/src/scite-build
[ 76%] Performing build step for 'scite'
Scanning dependencies of target scite_cross_platform
[  4%] Building CXX object CMakeFiles/scite_cross_platform.dir/src/Cookie.cxx.o
/home/solaraquarion/build/wxglterm-git/src/build/src/external_plugins/scintilla_editor/scite-prefix/src/scite/src/Cookie.cxx:14:10: fatal error: Scintilla.h: No such file or directory
 #include "Scintilla.h"
          ^~~~~~~~~~~~~
compilation terminated.
make[5]: *** [CMakeFiles/scite_cross_platform.dir/build.make:63: CMakeFiles/scite_cross_platform.dir/src/Cookie.cxx.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:68: CMakeFiles/scite_cross_platform.dir/all] Error 2
make[3]: *** [Makefile:84: all] Error 2
make[2]: *** [src/external_plugins/scintilla_editor/CMakeFiles/scite.dir/build.make:110: src/external_plugins/scintilla_editor/scite-prefix/src/scite-stamp/scite-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:1218: src/external_plugins/scintilla_editor/CMakeFiles/scite.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Make README clearer

Hi,
I was looking for a terminal emulator to embed in my wxWidgets based C++ application when I found this repo. Reading from readme things are not clear:

  1. Is this a C++ library, Python Library or a standalone app?
  2. Supposing it is a library, How can it be integrated with an application (be it a C++ or Python)?
  3. What are features provided by this (library?)

Those are crucial missing links. When you get time you can address them on readme or as a comment.
Thank you!

Does not launch on Mac

Compiled fine but running I get

./src/app/wxglterm
fail to create plugins:term_ui:0x0,term_network:0x7f8ac7d87320,term_data_handler:0x7f8ac7c30430,term_buffer:0x7f8ac7d877f0,term_color_theme:0x7f8ac7d9dc20,input_handler:0x7f8ac7da8720

pybind11 wrong install dirs

wxglterm-git /home/
wxglterm-git /home/solaraquarion/
wxglterm-git /home/solaraquarion/pkgbuild/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/attr.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/buffer_info.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/cast.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/chrono.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/common.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/complex.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/class.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/common.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/descr.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/init.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/internals.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/detail/typeid.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/eigen.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/embed.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/eval.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/functional.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/iostream.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/numpy.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/operators.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/options.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pytypes.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/stl.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/stl_bind.h
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/pybind11/
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/pybind11/FindPythonLibsNew.cmake
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/pybind11/pybind11Config.cmake
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/pybind11/pybind11ConfigVersion.cmake
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/pybind11/pybind11Targets.cmake
wxglterm-git /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/share/cmake/pybind11/pybind11Tools.cmake

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.