Hi, Mark: I like your approach. I'd like to better understand its capabilities. I think it would work well for development, where a developer is trying to slowly port from one newly-improved library: e.g. OCE-0.1x to OCE-0.1y, etc.
Would this approach eliminate the need for the extra *.hxx files that are currently in the OCE-0.14 SWIG/darwin folder? I think these *.hxx files were placed there in order to ensure that the right OCE version was referenced. *Steven F. Zalek* Email: zalek.ste...@gmail.com Mobile: (734) 255-0404 Home: (734) 483-3952 On Thu, Apr 17, 2014 at 8:20 AM, Marc Weber <marco-owe...@gmx.de> wrote: > [simpler way] glad to hear it. >> > If I succeed with your version combination (OCE 0.14 and > > I could show you how I made nixos compile master and with oce-0.12 > > It basically is a set of "versions which should work" and a function (not > posted) turning this into build recipes. > > set_git = rec { # by gmane mail tpaviot says this should work .. > # fails: geom: > BooleanOperations_IndexedDataMapOfShapeAncestorsSuccessors.hxx > is missing > occ = pkgs.opencascadeCommunityFork.override { version = "0.12"; > }; > pythonocc_extra = [ cmake_stuff { > patchPhase = '' > sed -i "s@os.environ\['CSF_GraphicShr'\] = > util.find_library('TKOpenGl')@os.environ['CSF_GraphicShr'] = > '${occ}/lib/libTKOpenGl.so'@" src/addons/Display/OCCViewer.py > ''; > } ]; > pythonocc = pythonocc_git; > geom = geomFun { inherit pythonocc occ; }; > smesh = smeshFun { inherit pythonocc occ; }; > extraIncludes = "-I${smesh}/include/smesh -I${geom}/include/geom"; > }; > > > Trying to compile pythonocc-master with OCE 0.14 (without knowing which > benefits this will have). > > Then choosing the OCC version can be done by setting env vars (such as > PYTHONPATH). > > If you're interested I can show you > > Marc Weber > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users