'이론 관련 > 전기 전자' 카테고리의 다른 글
| 가변저항과 전압 (2) | 2020.03.09 |
|---|---|
| 래칭 릴레이(latching relay) (0) | 2019.12.22 |
| dc to ac (0) | 2019.05.03 |
| cic pdm (0) | 2019.04.04 |
| DSD/PDM 그리고 초음파 (0) | 2019.04.01 |
| 가변저항과 전압 (2) | 2020.03.09 |
|---|---|
| 래칭 릴레이(latching relay) (0) | 2019.12.22 |
| dc to ac (0) | 2019.05.03 |
| cic pdm (0) | 2019.04.04 |
| DSD/PDM 그리고 초음파 (0) | 2019.04.01 |
| $ pip install -U wxPython Collecting wxPython Using cached https://files.pythonhosted.org/packages/17/74/7c3ced03c3c76b9f98e4a0edae1801755a7599ebf481c04d9f77dfff17e3/wxPython-4.0.4.tar.gz Collecting Pillow (from wxPython) Using cached https://files.pythonhosted.org/packages/b6/4b/5adc1109908266554fb978154c797c7d71aba43dd15508d8c1565648f6bc/Pillow-6.0.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting six (from wxPython) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Building wheels for collected packages: wxPython Running setup.py bdist_wheel for wxPython ... done Stored in directory: /home/minimonk/.cache/pip/wheels/27/2b/9e/f4fdf5e1ec688ceb37f946a5ba8344b401a2906ca024a0075d Successfully built wxPython Installing collected packages: Pillow, six, wxPython Successfully installed Pillow-6.0.0 six-1.12.0 wxPython-4.0.4$ pip install -U wxPython Collecting wxPython Using cached https://files.pythonhosted.org/packages/17/74/7c3ced03c3c76b9f98e4a0edae1801755a7599ebf481c04d9f77dfff17e3/wxPython-4.0.4.tar.gz Collecting Pillow (from wxPython) Using cached https://files.pythonhosted.org/packages/b6/4b/5adc1109908266554fb978154c797c7d71aba43dd15508d8c1565648f6bc/Pillow-6.0.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting six (from wxPython) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Building wheels for collected packages: wxPython Running setup.py bdist_wheel for wxPython ... done Stored in directory: /home/minimonk/.cache/pip/wheels/27/2b/9e/f4fdf5e1ec688ceb37f946a5ba8344b401a2906ca024a0075d Successfully built wxPython Installing collected packages: Pillow, six, wxPython Successfully installed Pillow-6.0.0 six-1.12.0 wxPython-4.0.4 |
import wx 에서 에러가 나서 wxpython을 설치하려고 하니
어마어마 한 길이의 메시지 이후에 에러가 나서 찾아보는데 은근히 설치할게 넘쳐나네...
|
$ sudo apt install make gcc libgtk-3-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libgstreamer-gl1.0-0 freeglut3 freeglut3-dev python-gst-1.0 python3-gst-1.0 libglib2.0-dev ubuntu-restricted-extras libgstreamer-plugins-base1.0-dev |
[링크 : https://askubuntu.com/questions/1073145/how-to-install-wxpython-4-ubuntu-18-04]
| $ pip install -U wxPython Collecting wxPython Using cached https://files.pythonhosted.org/packages/17/74/7c3ced03c3c76b9f98e4a0edae1801755a7599ebf481c04d9f77dfff17e3/wxPython-4.0.4.tar.gz Collecting Pillow (from wxPython) Using cached https://files.pythonhosted.org/packages/b6/4b/5adc1109908266554fb978154c797c7d71aba43dd15508d8c1565648f6bc/Pillow-6.0.0-cp27-cp27mu-manylinux1_x86_64.whl Collecting six (from wxPython) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Building wheels for collected packages: wxPython Running setup.py bdist_wheel for wxPython ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BySuYJ/wxPython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpbF_z6Cpip-wheel- --python-tag cp27: running bdist_wheel running build WARNING: Building this way assumes that all generated files have been generated already. If that is not the case then use build.py directly to generate the source and perform the build stage. You can use --skip-build with the bdist_* or install commands to avoid this message and the wxWidgets and Phoenix build steps in the future. "/usr/bin/python" -u build.py build Will build using: "/usr/bin/python" 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: build Running command: build_wx wxWidgets build options: ['--wxpython', '--unicode', '--gtk3'] Configure options: ['--enable-unicode', '--with-gtk=3', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl'] /tmp/pip-build-BySuYJ/wxPython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --with-opengl --enable-sound --enable-graphics_ctx --enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for --disable-gui... no checking for --enable-monolithic... no checking for --enable-plugins... no checking for --without-subdirs... no checking for --enable-official_build... no checking for --disable-all-features... no checking for --enable-universal... no checking for --enable-nanox... no checking for --enable-gpe... no checking for toolkit... gtk checking for --with-libpng... yes checking for --with-libjpeg... yes checking for --with-libtiff... yes checking for --without-libjbig... no checking for --without-liblzma... no checking for --with-libxpm... yes checking for --with-libiconv... yes checking for --with-libmspack... no checking for --without-gtkprint... no checking for --with-gnomevfs... no checking for --with-libnotify... yes checking for --with-hildon... no checking for --with-opengl... yes checking for --with-dmalloc... no checking for --with-sdl... yes checking for --with-regex... yes checking for --with-zlib... yes checking for --with-expat... yes checking for --with-macosx-sdk... checking for --with-macosx-version-min... checking for --enable-debug... default checking for --disable-debug_flag... no checking for --enable-debug_info... no checking for --enable-debug_gdb... no checking for --enable-debug_cntxt... no checking for --enable-mem_tracing... no checking for --disable-shared... no checking for --enable-stl... no checking for --enable-std_containers... no checking for --enable-std_iostreams... yes checking for --enable-std_string... yes checking for --enable-std_string_conv_in_wxstring... no checking for --disable-unicode... no checking for --enable-mslu... no checking for --enable-utf8... no checking for --enable-utf8only... no checking for --enable-extended_rtti... no checking for --disable-optimise... no checking for --enable-profile... no checking for --enable-no_rtti... no checking for --enable-no_exceptions... no checking for --enable-permissive... no checking for --enable-no_deps... no checking for --disable-vararg_macros... no checking for --enable-universal_binary... no checking for --enable-macosx_arch... no checking for --enable-compat26... no checking for --disable-compat28... no checking for --disable-rpath... no checking for --enable-objc_uniquifying... no checking for --disable-visibility... no checking for --disable-tls... no checking for --enable-intl... yes checking for --enable-xlocale... yes checking for --enable-config... yes checking for --enable-protocols... yes checking for --enable-ftp... yes checking for --enable-http... yes checking for --enable-fileproto... yes checking for --enable-sockets... yes checking for --enable-ipv6... no checking for --enable-ole... yes checking for --enable-dataobj... yes checking for --enable-ipc... yes checking for --enable-baseevtloop... yes checking for --enable-epollloop... yes checking for --enable-selectloop... yes checking for --enable-any... yes checking for --enable-apple_ieee... yes checking for --enable-arcstream... yes checking for --enable-base64... yes checking for --enable-backtrace... yes checking for --enable-catch_segvs... yes checking for --enable-cmdline... yes checking for --enable-datetime... yes checking for --enable-debugreport... no checking for --enable-dialupman... yes checking for --enable-dynlib... yes checking for --enable-dynamicloader... yes checking for --enable-exceptions... yes checking for --enable-ffile... yes checking for --enable-file... yes checking for --enable-filehistory... yes checking for --enable-filesystem... yes checking for --enable-fontenum... yes checking for --enable-fontmap... yes checking for --enable-fs_archive... yes checking for --enable-fs_inet... yes checking for --enable-fs_zip... yes checking for --enable-fsvolume... yes checking for --enable-fswatcher... yes checking for --enable-geometry... yes checking for --enable-log... yes checking for --enable-longlong... yes checking for --enable-mimetype... yes checking for --enable-printfposparam... yes checking for --enable-snglinst... yes checking for --enable-sound... yes checking for --enable-stdpaths... yes checking for --enable-stopwatch... yes checking for --enable-streams... yes checking for --enable-sysoptions... yes checking for --enable-tarstream... yes checking for --enable-textbuf... yes checking for --enable-textfile... yes checking for --enable-timer... yes checking for --enable-variant... yes checking for --enable-zipstream... yes checking for --enable-url... yes checking for --enable-protocol... yes checking for --enable-protocol_http... yes checking for --enable-protocol_ftp... yes checking for --enable-protocol_file... yes checking for --enable-threads... yes checking for --enable-iniconf... no checking for --enable-regkey... yes checking for --enable-docview... yes checking for --enable-help... yes checking for --enable-mshtmlhelp... yes checking for --enable-html... yes checking for --enable-htmlhelp... yes checking for --enable-xrc... yes checking for --enable-aui... yes checking for --enable-propgrid... yes checking for --enable-ribbon... yes checking for --enable-stc... yes checking for --enable-constraints... yes checking for --enable-loggui... yes checking for --enable-logwin... yes checking for --enable-logdialog... yes checking for --enable-mdi... yes checking for --enable-mdidoc... yes checking for --enable-mediactrl... yes checking for --enable-gstreamer8... no checking for --enable-richtext... yes checking for --enable-postscript... yes checking for --enable-printarch... yes checking for --enable-svg... yes checking for --enable-webkit... yes checking for --enable-webview... yes checking for --enable-graphics_ctx... yes checking for --enable-clipboard... yes checking for --enable-dnd... yes checking for --disable-controls... no checking for --enable-markup... yes checking for --enable-accel... yes checking for --enable-animatectrl... yes checking for --enable-bannerwindow... yes checking for --enable-artstd... yes checking for --enable-arttango... auto checking for --enable-bmpbutton... yes checking for --enable-bmpcombobox... yes checking for --enable-button... yes checking for --enable-calendar... yes checking for --enable-caret... yes checking for --enable-checkbox... yes checking for --enable-checklst... yes checking for --enable-choice... yes checking for --enable-choicebook... yes checking for --enable-collpane... yes checking for --enable-colourpicker... yes checking for --enable-combobox... yes checking for --enable-comboctrl... yes checking for --enable-commandlinkbutton... yes checking for --enable-dataviewctrl... yes checking for --enable-datepick... yes checking for --enable-detect_sm... yes checking for --enable-dirpicker... yes checking for --enable-display... yes checking for --enable-editablebox... yes checking for --enable-filectrl... yes checking for --enable-filepicker... yes checking for --enable-fontpicker... yes checking for --enable-gauge... yes checking for --enable-grid... yes checking for --enable-headerctrl... yes checking for --enable-hyperlink... yes checking for --enable-imaglist... yes checking for --enable-infobar... yes checking for --enable-listbook... yes checking for --enable-listbox... yes checking for --enable-listctrl... yes checking for --enable-notebook... yes checking for --enable-notifmsg... yes checking for --enable-odcombobox... yes checking for --enable-popupwin... yes checking for --enable-prefseditor... yes checking for --enable-radiobox... yes checking for --enable-radiobtn... yes checking for --enable-richmsgdlg... yes checking for --enable-richtooltip... yes checking for --enable-rearrangectrl... yes checking for --enable-sash... yes checking for --enable-scrollbar... yes checking for --enable-searchctrl... yes checking for --enable-slider... yes checking for --enable-spinbtn... yes checking for --enable-spinctrl... yes checking for --enable-splitter... yes checking for --enable-statbmp... yes checking for --enable-statbox... yes checking for --enable-statline... yes checking for --enable-stattext... yes checking for --enable-statusbar... yes checking for --enable-taskbaricon... yes checking for --enable-tbarnative... yes checking for --enable-textctrl... yes checking for --enable-timepick... yes checking for --enable-tipwindow... yes checking for --enable-togglebtn... yes checking for --enable-toolbar... yes checking for --enable-toolbook... yes checking for --enable-treebook... yes checking for --enable-treectrl... yes checking for --enable-treelist... yes checking for --enable-commondlg... yes checking for --enable-aboutdlg... yes checking for --enable-choicedlg... yes checking for --enable-coldlg... yes checking for --enable-filedlg... yes checking for --enable-finddlg... yes checking for --enable-fontdlg... yes checking for --enable-dirdlg... yes checking for --enable-msgdlg... yes checking for --enable-numberdlg... yes checking for --enable-splash... yes checking for --enable-textdlg... yes checking for --enable-tipdlg... yes checking for --enable-progressdlg... yes checking for --enable-wizarddlg... yes checking for --enable-menus... yes checking for --enable-miniframe... yes checking for --enable-tooltips... yes checking for --enable-splines... yes checking for --enable-mousewheel... yes checking for --enable-validators... yes checking for --enable-busyinfo... yes checking for --enable-hotkey... auto checking for --enable-joystick... yes checking for --enable-metafile... auto checking for --enable-dragimage... yes checking for --enable-accessibility... no checking for --enable-uiactionsim... yes checking for --enable-dctransform... yes checking for --enable-webviewwebkit... yes checking for --enable-palette... yes checking for --enable-image... yes checking for --enable-gif... yes checking for --enable-pcx... yes checking for --enable-tga... yes checking for --enable-iff... yes checking for --enable-pnm... yes checking for --enable-xpm... yes checking for --enable-ico_cur... yes checking for --enable-dccache... yes checking for --enable-ps-in-msw... yes checking for --enable-ownerdrawn... yes checking for --enable-uxtheme... yes checking for --enable-wxdib... yes checking for --enable-webviewie... yes checking for --enable-autoidman... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the Intel C compiler... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for ar... ar checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for langinfo.h... yes checking for wchar.h... yes checking for sys/select.h... yes checking for cxxabi.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking size of short... 2 checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking size of long long... 8 checking size of wchar_t... 4 checking for va_copy... yes checking whether the compiler supports variadic macros... yes checking for _FILE_OFFSET_BITS value needed for large files... 64 checking if large file support is available... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether byte ordering is bigendian... no checking for iostream... yes checking if C++ compiler supports the explicit keyword... yes checking for std::wstring in ... yes checking for std::istream... yes checking for std::ostream... yes checking how to run the C++ preprocessor... g++ -E checking type_traits usability... yes checking type_traits presence... yes checking for type_traits... yes checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib checking for cos... no checking for floor... no checking if floating point functions link without -lm... no checking for sin... yes checking for ceil... yes checking if floating point functions link with -lm... yes checking for strtoull... yes checking for pkg-config... no configure: WARNING: Defaulting to the builtin regex library for Unicode build. checking for zlib.h >= 1.1.4... no checking for zlib.h... (cached) no configure: WARNING: zlib library not found or too old, will use built-in instead checking for png.h > 0.90... no checking for png.h... (cached) no configure: WARNING: system png library not found or too old, will use built-in instead checking for jpeglib.h... no configure: WARNING: system jpeg library not found, will use built-in instead checking for tiffio.h... no configure: WARNING: system tiff library not found, will use built-in instead checking for lzma_code in -llzma... no checking for jbg_dec_init in -ljbig... no checking for expat.h... yes checking if expat.h is valid C++ header... yes checking for XML_ParserCreate in -lexpat... yes checking for GTK+ version... checking for pkg-config... no checking for GTK+ - version >= 3.0.0... no *** A new enough version of pkg-config was not found. *** See http://pkgconfig.sourceforge.net configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "build.py", line 1321, in cmd_build_wx wxbuild.main(wxDir(), build_options) File "/tmp/pip-build-BySuYJ/wxPython/buildtools/build_wxwidgets.py", line 375, in main "Error running configure") File "/tmp/pip-build-BySuYJ/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError raise builder.BuildError(msg) BuildError Finished command: build_wx (7.120s) Finished command: build (7.121s) Command '"/usr/bin/python" -u build.py build' failed with exit code 1. ---------------------------------------- Failed building wheel for wxPython Running setup.py clean for wxPython Failed to build wxPython Installing collected packages: Pillow, six, wxPython Running setup.py install for wxPython ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BySuYJ/wxPython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-K_mQMh-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build WARNING: Building this way assumes that all generated files have been generated already. If that is not the case then use build.py directly to generate the source and perform the build stage. You can use --skip-build with the bdist_* or install commands to avoid this message and the wxWidgets and Phoenix build steps in the future. "/usr/bin/python" -u build.py build Will build using: "/usr/bin/python" 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] Python's architecture is 64bit cfg.VERSION: 4.0.4 Running command: build Running command: build_wx wxWidgets build options: ['--wxpython', '--unicode', '--gtk3'] Configure options: ['--enable-unicode', '--with-gtk=3', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl'] /tmp/pip-build-BySuYJ/wxPython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --with-opengl --enable-sound --enable-graphics_ctx --enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for --disable-gui... no checking for --enable-monolithic... no checking for --enable-plugins... no checking for --without-subdirs... no checking for --enable-official_build... no checking for --disable-all-features... no checking for --enable-universal... no checking for --enable-nanox... no checking for --enable-gpe... no checking for toolkit... gtk checking for --with-libpng... yes checking for --with-libjpeg... yes checking for --with-libtiff... yes checking for --without-libjbig... no checking for --without-liblzma... no checking for --with-libxpm... yes checking for --with-libiconv... yes checking for --with-libmspack... no checking for --without-gtkprint... no checking for --with-gnomevfs... no checking for --with-libnotify... yes checking for --with-hildon... no checking for --with-opengl... yes checking for --with-dmalloc... no checking for --with-sdl... yes checking for --with-regex... yes checking for --with-zlib... yes checking for --with-expat... yes checking for --with-macosx-sdk... checking for --with-macosx-version-min... checking for --enable-debug... default checking for --disable-debug_flag... no checking for --enable-debug_info... no checking for --enable-debug_gdb... no checking for --enable-debug_cntxt... no checking for --enable-mem_tracing... no checking for --disable-shared... no checking for --enable-stl... no checking for --enable-std_containers... no checking for --enable-std_iostreams... yes checking for --enable-std_string... yes checking for --enable-std_string_conv_in_wxstring... no checking for --disable-unicode... no checking for --enable-mslu... no checking for --enable-utf8... no checking for --enable-utf8only... no checking for --enable-extended_rtti... no checking for --disable-optimise... no checking for --enable-profile... no checking for --enable-no_rtti... no checking for --enable-no_exceptions... no checking for --enable-permissive... no checking for --enable-no_deps... no checking for --disable-vararg_macros... no checking for --enable-universal_binary... no checking for --enable-macosx_arch... no checking for --enable-compat26... no checking for --disable-compat28... no checking for --disable-rpath... no checking for --enable-objc_uniquifying... no checking for --disable-visibility... no checking for --disable-tls... no checking for --enable-intl... yes checking for --enable-xlocale... yes checking for --enable-config... yes checking for --enable-protocols... yes checking for --enable-ftp... yes checking for --enable-http... yes checking for --enable-fileproto... yes checking for --enable-sockets... yes checking for --enable-ipv6... no checking for --enable-ole... yes checking for --enable-dataobj... yes checking for --enable-ipc... yes checking for --enable-baseevtloop... yes checking for --enable-epollloop... yes checking for --enable-selectloop... yes checking for --enable-any... yes checking for --enable-apple_ieee... yes checking for --enable-arcstream... yes checking for --enable-base64... yes checking for --enable-backtrace... yes checking for --enable-catch_segvs... yes checking for --enable-cmdline... yes checking for --enable-datetime... yes checking for --enable-debugreport... no checking for --enable-dialupman... yes checking for --enable-dynlib... yes checking for --enable-dynamicloader... yes checking for --enable-exceptions... yes checking for --enable-ffile... yes checking for --enable-file... yes checking for --enable-filehistory... yes checking for --enable-filesystem... yes checking for --enable-fontenum... yes checking for --enable-fontmap... yes checking for --enable-fs_archive... yes checking for --enable-fs_inet... yes checking for --enable-fs_zip... yes checking for --enable-fsvolume... yes checking for --enable-fswatcher... yes checking for --enable-geometry... yes checking for --enable-log... yes checking for --enable-longlong... yes checking for --enable-mimetype... yes checking for --enable-printfposparam... yes checking for --enable-snglinst... yes checking for --enable-sound... yes checking for --enable-stdpaths... yes checking for --enable-stopwatch... yes checking for --enable-streams... yes checking for --enable-sysoptions... yes checking for --enable-tarstream... yes checking for --enable-textbuf... yes checking for --enable-textfile... yes checking for --enable-timer... yes checking for --enable-variant... yes checking for --enable-zipstream... yes checking for --enable-url... yes checking for --enable-protocol... yes checking for --enable-protocol_http... yes checking for --enable-protocol_ftp... yes checking for --enable-protocol_file... yes checking for --enable-threads... yes checking for --enable-iniconf... no checking for --enable-regkey... yes checking for --enable-docview... yes checking for --enable-help... yes checking for --enable-mshtmlhelp... yes checking for --enable-html... yes checking for --enable-htmlhelp... yes checking for --enable-xrc... yes checking for --enable-aui... yes checking for --enable-propgrid... yes checking for --enable-ribbon... yes checking for --enable-stc... yes checking for --enable-constraints... yes checking for --enable-loggui... yes checking for --enable-logwin... yes checking for --enable-logdialog... yes checking for --enable-mdi... yes checking for --enable-mdidoc... yes checking for --enable-mediactrl... yes checking for --enable-gstreamer8... no checking for --enable-richtext... yes checking for --enable-postscript... yes checking for --enable-printarch... yes checking for --enable-svg... yes checking for --enable-webkit... yes checking for --enable-webview... yes checking for --enable-graphics_ctx... yes checking for --enable-clipboard... yes checking for --enable-dnd... yes checking for --disable-controls... no checking for --enable-markup... yes checking for --enable-accel... yes checking for --enable-animatectrl... yes checking for --enable-bannerwindow... yes checking for --enable-artstd... yes checking for --enable-arttango... auto checking for --enable-bmpbutton... yes checking for --enable-bmpcombobox... yes checking for --enable-button... yes checking for --enable-calendar... yes checking for --enable-caret... yes checking for --enable-checkbox... yes checking for --enable-checklst... yes checking for --enable-choice... yes checking for --enable-choicebook... yes checking for --enable-collpane... yes checking for --enable-colourpicker... yes checking for --enable-combobox... yes checking for --enable-comboctrl... yes checking for --enable-commandlinkbutton... yes checking for --enable-dataviewctrl... yes checking for --enable-datepick... yes checking for --enable-detect_sm... yes checking for --enable-dirpicker... yes checking for --enable-display... yes checking for --enable-editablebox... yes checking for --enable-filectrl... yes checking for --enable-filepicker... yes checking for --enable-fontpicker... yes checking for --enable-gauge... yes checking for --enable-grid... yes checking for --enable-headerctrl... yes checking for --enable-hyperlink... yes checking for --enable-imaglist... yes checking for --enable-infobar... yes checking for --enable-listbook... yes checking for --enable-listbox... yes checking for --enable-listctrl... yes checking for --enable-notebook... yes checking for --enable-notifmsg... yes checking for --enable-odcombobox... yes checking for --enable-popupwin... yes checking for --enable-prefseditor... yes checking for --enable-radiobox... yes checking for --enable-radiobtn... yes checking for --enable-richmsgdlg... yes checking for --enable-richtooltip... yes checking for --enable-rearrangectrl... yes checking for --enable-sash... yes checking for --enable-scrollbar... yes checking for --enable-searchctrl... yes checking for --enable-slider... yes checking for --enable-spinbtn... yes checking for --enable-spinctrl... yes checking for --enable-splitter... yes checking for --enable-statbmp... yes checking for --enable-statbox... yes checking for --enable-statline... yes checking for --enable-stattext... yes checking for --enable-statusbar... yes checking for --enable-taskbaricon... yes checking for --enable-tbarnative... yes checking for --enable-textctrl... yes checking for --enable-timepick... yes checking for --enable-tipwindow... yes checking for --enable-togglebtn... yes checking for --enable-toolbar... yes checking for --enable-toolbook... yes checking for --enable-treebook... yes checking for --enable-treectrl... yes checking for --enable-treelist... yes checking for --enable-commondlg... yes checking for --enable-aboutdlg... yes checking for --enable-choicedlg... yes checking for --enable-coldlg... yes checking for --enable-filedlg... yes checking for --enable-finddlg... yes checking for --enable-fontdlg... yes checking for --enable-dirdlg... yes checking for --enable-msgdlg... yes checking for --enable-numberdlg... yes checking for --enable-splash... yes checking for --enable-textdlg... yes checking for --enable-tipdlg... yes checking for --enable-progressdlg... yes checking for --enable-wizarddlg... yes checking for --enable-menus... yes checking for --enable-miniframe... yes checking for --enable-tooltips... yes checking for --enable-splines... yes checking for --enable-mousewheel... yes checking for --enable-validators... yes checking for --enable-busyinfo... yes checking for --enable-hotkey... auto checking for --enable-joystick... yes checking for --enable-metafile... auto checking for --enable-dragimage... yes checking for --enable-accessibility... no checking for --enable-uiactionsim... yes checking for --enable-dctransform... yes checking for --enable-webviewwebkit... yes checking for --enable-palette... yes checking for --enable-image... yes checking for --enable-gif... yes checking for --enable-pcx... yes checking for --enable-tga... yes checking for --enable-iff... yes checking for --enable-pnm... yes checking for --enable-xpm... yes checking for --enable-ico_cur... yes checking for --enable-dccache... yes checking for --enable-ps-in-msw... yes checking for --enable-ownerdrawn... yes checking for --enable-uxtheme... yes checking for --enable-wxdib... yes checking for --enable-webviewie... yes checking for --enable-autoidman... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the Intel C compiler... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for ar... ar checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for langinfo.h... yes checking for wchar.h... yes checking for sys/select.h... yes checking for cxxabi.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking size of short... 2 checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking size of long long... 8 checking size of wchar_t... 4 checking for va_copy... yes checking whether the compiler supports variadic macros... yes checking for _FILE_OFFSET_BITS value needed for large files... 64 checking if large file support is available... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether byte ordering is bigendian... no checking for iostream... yes checking if C++ compiler supports the explicit keyword... yes checking for std::wstring in ... yes checking for std::istream... yes checking for std::ostream... yes checking how to run the C++ preprocessor... g++ -E checking type_traits usability... yes checking type_traits presence... yes checking for type_traits... yes checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib checking for cos... no checking for floor... no checking if floating point functions link without -lm... no checking for sin... yes checking for ceil... yes checking if floating point functions link with -lm... yes checking for strtoull... yes checking for pkg-config... no configure: WARNING: Defaulting to the builtin regex library for Unicode build. checking for zlib.h >= 1.1.4... no checking for zlib.h... (cached) no configure: WARNING: zlib library not found or too old, will use built-in instead checking for png.h > 0.90... no checking for png.h... (cached) no configure: WARNING: system png library not found or too old, will use built-in instead checking for jpeglib.h... no configure: WARNING: system jpeg library not found, will use built-in instead checking for tiffio.h... no configure: WARNING: system tiff library not found, will use built-in instead checking for lzma_code in -llzma... no checking for jbg_dec_init in -ljbig... no checking for expat.h... yes checking if expat.h is valid C++ header... yes checking for XML_ParserCreate in -lexpat... yes checking for GTK+ version... checking for pkg-config... no checking for GTK+ - version >= 3.0.0... no *** A new enough version of pkg-config was not found. *** See http://pkgconfig.sourceforge.net configure: error: The development files for GTK+ were not found. For GTK+ 2, please ensure that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+ 1.2 please check that gtk-config is in the path, and that the version is 1.2.3 or above. Also check that the libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or equivalent. Error running configure ERROR: failed building wxWidgets Traceback (most recent call last): File "build.py", line 1321, in cmd_build_wx wxbuild.main(wxDir(), build_options) File "/tmp/pip-build-BySuYJ/wxPython/buildtools/build_wxwidgets.py", line 375, in main "Error running configure") File "/tmp/pip-build-BySuYJ/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError raise builder.BuildError(msg) BuildError Finished command: build_wx (6.929s) Finished command: build (6.929s) Command '"/usr/bin/python" -u build.py build' failed with exit code 1. ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BySuYJ/wxPython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-K_mQMh-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-BySuYJ/wxPython/ |
| python3 import cv2 (0) | 2019.05.09 |
|---|---|
| python pylint @ vscode (0) | 2019.05.09 |
| PyOpenGL + ubuntu 18.04 (0) | 2019.05.02 |
| python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ (0) | 2019.05.01 |
| python + openGL (0) | 2019.04.30 |
대충 문서를 보니
tftp를 통해 부팅하도록 하고
dhcp서버로 하여금 tftp에 있는 ipxe를 통해 부팅하도록 설정하게 되어있다.
[링크 : https://subini.tistory.com/34]
옛날 글인데 이건 USB 부팅등을 통해 ipxe를 부팅하여 iscsi로 붙이는 방식인 듯
[링크 : https://blog.pasion.kr/iscsi-diskless-system-preview/]
+
[링크 : https://ipxe.org/]
| CPU 가 문제인가.. (0) | 2019.05.25 |
|---|---|
| 다이소 5천원 모니터 받침대 (10) | 2019.05.14 |
| ACPI & smbus (0) | 2019.05.07 |
| 2760p 에 ubuntu 설치 (0) | 2019.05.03 |
| i5-2500 vs i5-7600 (0) | 2019.05.02 |
영 넣을 카테고리가 없어서 대충..
ACPI를 통해 OS에서 배터리 상태나 팬 속도, CPU 온도등을 받게 되는데
이 ACPI는 별도의 버스를 가지는게 아닌 SMBUS를 사용하는 것으로 보인다.
배터리의 경우 SBS 스펙을 통해서 원하는 데이터를 주고 받는것 같은데..
자세한 내용은 좀 더 스펙 문서를 봐야하려나?

[링크 : https://uefi.org/sites/default/files/resources/ACPI_5_1_Errata_B.PDF]
[링크 : http://sbs-forum.org/marcom/sbexpo_feb02/01%20SBD%20Access%20under%20ACPI.PDF]
| 다이소 5천원 모니터 받침대 (10) | 2019.05.14 |
|---|---|
| diskless 시스템 구축 (0) | 2019.05.08 |
| 2760p 에 ubuntu 설치 (0) | 2019.05.03 |
| i5-2500 vs i5-7600 (0) | 2019.05.02 |
| intel HD3000 win10에서 openGL 미지원? (0) | 2019.04.30 |
gl3.0 버전 이후 부터 추가된 내용
기존에 버전에서는 Vertex Array Object가 아니라
Vertex Array나 List로 무언가 등록해서 쓰는게 있던거 같은데 기억이 가물가물 하네
[링크 : https://www.khronos.org/opengl/wiki/Vertex_Specification]
| gluPerspective() (0) | 2019.05.28 |
|---|---|
| glfw3 in ubuntu 19.04 (0) | 2019.05.10 |
| glfw - gl framework (0) | 2019.05.07 |
| openGL 3.0 tutorial (0) | 2019.05.07 |
| openGL Stereoscopic (0) | 2018.04.25 |
| glfw3 in ubuntu 19.04 (0) | 2019.05.10 |
|---|---|
| openGL vao(Vertex Array Object) (0) | 2019.05.07 |
| openGL 3.0 tutorial (0) | 2019.05.07 |
| openGL Stereoscopic (0) | 2018.04.25 |
| openGL cardboard lens distortion (0) | 2018.04.25 |
언제 또 버전이 이렇게 올랐냐...
기존에 공부하던건 잊고 새로운 glfw라는걸 써야 할 듯
[링크 : http://www.opengl-tutorial.org/kr/beginners-tutorials/tutorial-2-the-first-triangle/]
| openGL vao(Vertex Array Object) (0) | 2019.05.07 |
|---|---|
| glfw - gl framework (0) | 2019.05.07 |
| openGL Stereoscopic (0) | 2018.04.25 |
| openGL cardboard lens distortion (0) | 2018.04.25 |
| glxgears 소스 (0) | 2016.09.07 |
2760p에 우분투를 깔았는데 하루종일 냅둬도 syspend 모드로 가있어서
윈도우 처럼 하이버네이트 안되나 찾아보는 중. 적용을 해봐야겠네
(느낌인진 몰라도 suspend 해두면 자연방전이 윈도우 보다 적은 느낌?)
|
// 30*60=1800sec hiberate $ sudo vim /etc/systemd/sleep.conf [Sleep] // for test |
[링크 : https://askubuntu.com/questions/12383/how-to-go-automatically-from-suspend-into-hibernate]
+
해보니 뚜껑닫아도 절전모드 들어가버린다..
이건 별도로 설정을 해주어야 할 듯
+
2019.05.08
절전모드 혹은 하이버네이트 들어갔다나 나올 때
와콤 펜 타블렛 및 터치가 안되는 문제가 있어서 sleep.conf 지우고 완전히 종료했다 켜니 됨.
(재시작으로는 살아나지 못함)
| ubuntu sftp with nautilius (0) | 2019.06.03 |
|---|---|
| 리눅스 gdm 키맵 변경 (0) | 2019.05.10 |
| intel hd 3000 GLSL (0) | 2019.05.05 |
| linux smbus? (0) | 2019.05.04 |
| 우분투 창 전환(그룹) 해제하기 (0) | 2019.05.04 |
python 으로 먼가 하려는데 안되서 멘붕
| $ python pygl.py No handlers could be found for logger "OpenGL.arrays.numpymodule" Traceback (most recent call last): File "pygl.py", line 92, in main() File "pygl.py", line 56, in main shader = OpenGL.GL.shaders.compileProgram(OpenGL.GL.shaders.compileShader(vertex_shader, GL_VERTEX_SHADER), File "/home/minimonk/.local/lib/python2.7/site-packages/OpenGL/GL/shaders.py", line 226, in compileShader shaderType, RuntimeError: ('Shader compile failure (0): 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n', ['\n #version 330\n in vec3 position;\n in vec3 color;\n\n out vec3 newColor;\n void main()\n {\n gl_Position = vec4(position, 1.0f);\n newColor = color;\n }\n '], GL_VERTEX_SHADER) minimonk@mini2760:~/src/pygl$ MESA_GLSL_VERSION_OVERRIDE=330 python pygl.py No handlers could be found for logger "OpenGL.arrays.numpymodule" Traceback (most recent call last): File "pygl.py", line 92, in main() File "pygl.py", line 56, in main shader = OpenGL.GL.shaders.compileProgram(OpenGL.GL.shaders.compileShader(vertex_shader, GL_VERTEX_SHADER), File "/home/minimonk/.local/lib/python2.7/site-packages/OpenGL/GL/shaders.py", line 226, in compileShader shaderType, RuntimeError: ('Shader compile failure (0): 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n', ['\n #version 330\n in vec3 position;\n in vec3 color;\n\n out vec3 newColor;\n void main()\n {\n gl_Position = vec4(position, 1.0f);\n newColor = color;\n }\n '], GL_VERTEX_SHADER) |
암튼 찾다보면 win10에서 GL3.0 지원 안한다고 하는 말도 있고 하는데
리눅스에서는 아래처럼 환경변수 정해주면 된다고 하는데.. 오오 진짜루 된다!! 만세!
|
$ export MESA_GLSL_VERSION_OVERRIDE=330 |
일단은 실행되는걸 보니 shader도 정상적으로 되는 듯?

[링크 : https://news.ycombinator.com/item?id=14181897]
[링크 : https://old.reddit.com/.../how_can_i_get_opengl_33_with_glsl_33_support/...]
| 리눅스 gdm 키맵 변경 (0) | 2019.05.10 |
|---|---|
| ubuntu 18.04 hibernate 적용하기 (0) | 2019.05.06 |
| linux smbus? (0) | 2019.05.04 |
| 우분투 창 전환(그룹) 해제하기 (0) | 2019.05.04 |
| 우분투 터치패드 휠 클릭 흉내내기 (0) | 2019.05.04 |
BMS 칩셋 i2c 주소를 어떻게 접근하나 찾는중
i2cdetect를 통해서는 이상한것만 보이는데..
gmbus는 그래픽 카드쪽이라고 검색은 나오지만.. 확실한건 좀더 봐야 할 듯 하고
|
$ i2cdetect -l |
acpi 명령을 통해 보면 배터리 상태나 온도등이 그냥 나오네.. 버스가 다른가?
| $ acpi -V Battery 0: Charging, 98%, 00:08:28 until charged Battery 0: design capacity 3692 mAh, last full capacity 3692 mAh = 100% Adapter 0: on-line Thermal 0: ok, 28.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 128.0 degrees C Thermal 0: trip point 1 switches to mode passive at temperature 55.0 degrees C Thermal 1: ok, 0.0 degrees C Thermal 1: trip point 0 switches to mode critical at temperature 128.0 degrees C Thermal 1: trip point 1 switches to mode passive at temperature 105.0 degrees C Thermal 2: ok, 37.0 degrees C Thermal 2: trip point 0 switches to mode critical at temperature 128.0 degrees C Thermal 3: ok, 0.0 degrees C Thermal 3: trip point 0 switches to mode critical at temperature 128.0 degrees C Thermal 4: ok, 43.0 degrees C Thermal 4: trip point 0 switches to mode critical at temperature 128.0 degrees C Thermal 4: trip point 1 switches to mode hot at temperature 99.0 degrees C Thermal 5: ok, 36.0 degrees C Thermal 5: trip point 0 switches to mode critical at temperature 128.0 degrees C Cooling 0: Processor 0 of 10 Cooling 1: intel_powerclamp no state information available Cooling 2: x86_pkg_temp no state information available Cooling 3: Processor 0 of 10 Cooling 4: Processor 0 of 10 Cooling 5: LCD 14 of 20 Cooling 6: Processor 0 of 10 |
| ubuntu 18.04 hibernate 적용하기 (0) | 2019.05.06 |
|---|---|
| intel hd 3000 GLSL (0) | 2019.05.05 |
| 우분투 창 전환(그룹) 해제하기 (0) | 2019.05.04 |
| 우분투 터치패드 휠 클릭 흉내내기 (0) | 2019.05.04 |
| ubuntu 18.04 kvm 설치하기 (0) | 2019.04.30 |