Divine Power

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

boost_python3 1

Boost python 3 예제

boost 1.55에다 python 3.3 환경에서 해봤다. test.cpp: #include char const* greet() { return "hello, world"; } BOOST_PYTHON_MODULE(hello_ext) { using namespace boost::python; def("greet", greet); } 컴파일:$ g++ -shared -fPIC `python3-config --includes` `python3-config --libs` -lboost_python3 test.cpp -o hello_ext.sohello_ext.so 파일이 생길 것이다. hello_ext.so 가 있는 곳에서 아래와 같이 해보자: 사용:forcecore@forcecore:/dev/shm$ pyt..

Unix 2014.03.10
이전
1
다음
더보기
프로필사진

Divine Power

언리미티드 빠와!

  • 분류 전체보기 (1155)
    • thoughts (33)
    • 이것저것 (51)
    • LaTeX (67)
    • cygwin (7)
    • Mac (2)
    • Unix (733)
      • Arch Linux (62)
      • openSUSE (14)
      • CentOS (27)
      • Fedora Core 4 (101)
      • *Nix계통 팁 (65)
      • Gentoo (14)
      • Ubuntu (113)
      • Solaris10 (98)
      • coLinux (13)
      • 유닉스와 디렉토리 (34)
      • Open Solaris (16)
      • Debian (12)
    • 윈도우 (127)
      • 윈도우 '잘'쓰기 (77)
      • Windows Server (3)
      • 비스타 (6)
      • MFC (2)
    • Data science (2)
    • 서버관리 삽질 기록 (23)
    • 링크 (13)
    • 하드웨어 (11)
    • parkoz tips (7)
    • collect (67)
    • 병맛단편 (5)

Tag

우분투, Windows, 설치, 리눅스, Python, VIM, ubuntu, pidgin-nateon, latex, arch linux, Solaris, Linux, Scrap, opensuse, Gentoo, FedoraCore, tikz, 팁, archlinux, 하드웨어,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • SOHEE 서버 관계도
  • 첨부파일에 대해

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바