Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #################
- ### FILE voxels.h
- #ifndef _VOXELS_H_
- #define _VOXELS_H_
- #include "pandabase.h"
- #include "dtoolbase.h"
- #include "lvecBase3.h"
- #include <string>
- class A
- {
- private:
- int c;
- LVecBase3 p;
- //string m;
- PUBLISHED:
- A() {}
- ~A() {}
- int sumar(int a, int b) {return a+b;}
- string saludar(string texto) {return texto;}
- string punto(int punto) {return saludar("punto");}
- };
- #endif
- ########################
- ### INTERROGATE COMMANDS
- echo "interrogate"
- interrogate -Dvolatile -Dmutable -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const -D__attribute__\(x\)= -D_LP64 -D__cplusplus=201103L \
- -fnames -string -refcount -assert -noangles \
- -srcdir=. -I. -S/usr/include/panda3d/parser-inc -S/usr/include/panda3d -I/usr/include/panda3d \
- -DEIGEN_MPL2_ONLY= -DEIGEN_NO_DEBUG= \
- -oc libvoxels_igate.cxx -od libvoxels.in -python-native -module voxels -library voxels voxels.h
- echo "interrogate_module"
- interrogate_module -oc voxels_module.cxx -library voxels -module voxels -python-native libvoxels.in
- echo "libvoxels_igate"
- g++ -fPIC -shared -I/home/flaco/build/panda3d-1.9.4/built/include -I/usr/include/python2.7 -I/usr/include/eigen3 -c -o libvoxels_igate.o libvoxels_igate.cxx
- echo "voxels_module"
- g++ -fPIC -shared -I/home/flaco/build/panda3d-1.9.4/built/include -I/usr/include/python2.7 -I/usr/include/eigen3 -c -o voxels_module.o voxels_module.cxx
- echo "voxels.so!"
- g++ -fPIC -shared -o voxels.so -L/usr/lib/python2.7/site-packages/panda3d -I/home/flaco/build/panda3d-1.9.4/built/include -I/usr/include/python2.7 -lpython2.7 libvoxels_igate.o voxels_module.o /usr/lib/python2.7/site-packages/panda3d/libpanda.so.1.9 /usr/lib/python2.7/site-packages/panda3d/libpandaexpress.so.1.9 /usr/lib/python2.7/site-packages/panda3d/libp3dtool.so.1.9 /usr/lib/python2.7/site-packages/panda3d/libp3dtoolconfig.so.1.9 /usr/lib/python2.7/site-packages/panda3d/core.so
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement