From: Richard J. <ric...@op...> - 2006-07-28 00:54:51
Attachments:
build.log
|
I'm trying to build PyODE 1.1.0 against ODE 0.6 on Ubuntu. The file "user-settings" doesn't appear anywhere in either the ODE source/build dir or in the installed directories. The config appears to only be used for OPCODE_DIRECTORY. I will *assume* that it should evaluate to a true value, since I did build with OPCODE support (which seems to equate to trimesh support in PyODE terms). ODE's configure reported: Configuration: Target system type: i686-pc-linux-gnu Build system type: i686-pc-linux-gnu Host system type: i686-pc-linux-gnu Use double precision: no Use OPCODE: yes Use gyroscopic term: yes Is this a Pentium: yes Is the CPU x86-64: no Is this a release build: yes Headers will be installed in /usr/local/include/ode Libraries will be installed in /usr/local/lib However when I hard-code "wrap_trimesh = True" I get a slew of errors from ode_trimesh.c. The complete build log is attached to this email. I'm using Pyrex version 0.9.3.1-2ubuntu2 if that makes any difference. The INSTALL doc declares this a supported version. Richard |
From: Jean de L. <je...@la...> - 2006-07-28 07:49:48
|
Yoinks, I don't know if you're on the ODE mailing list, but in case you're not, I wanted to highlight that ODE 0.6 brings a number of changes and that API compatibility wasn't a high priority. Most notable change is the build system: ODE 0.5 (that PyODE is based on) didn't use autotools. All I can say is that building PyODE for ODE 0.6 isn't a trivial task, though it shouldn't be very hard. If you can do it (and for Ubuntu! thus closer to Debian), I shall enshrine you ^_^. Heck, it's something I'd love to be able to help with, if only I had the time (and the net at home...). John On 7/28/06, Richard Jones <ric...@op...> wrote: > I'm trying to build PyODE 1.1.0 against ODE 0.6 on Ubuntu. > > The file "user-settings" doesn't appear anywhere in either the ODE > source/build dir or in the installed directories. The config appears to only > be used for OPCODE_DIRECTORY. I will *assume* that it should evaluate to a > true value, since I did build with OPCODE support (which seems to equate to > trimesh support in PyODE terms). ODE's configure reported: > > Configuration: > Target system type: i686-pc-linux-gnu > Build system type: i686-pc-linux-gnu > Host system type: i686-pc-linux-gnu > Use double precision: no > Use OPCODE: yes > Use gyroscopic term: yes > Is this a Pentium: yes > Is the CPU x86-64: no > Is this a release build: yes > Headers will be installed in /usr/local/include/ode > Libraries will be installed in /usr/local/lib > > However when I hard-code "wrap_trimesh = True" I get a slew of errors from > ode_trimesh.c. The complete build log is attached to this email. > > I'm using Pyrex version 0.9.3.1-2ubuntu2 if that makes any difference. The > INSTALL doc declares this a supported version. > > > Richard > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Pyode-user mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyode-user > > > > |
From: Chris B. <chr...@gm...> - 2006-07-28 12:46:01
|
On 28/07/06, Jean de Largentaye <je...@la...> wrote: > > All I can say is that building PyODE for ODE 0.6 isn't a trivial task, > though it shouldn't be very hard. If you can do it (and for Ubuntu! > thus closer to Debian), I shall enshrine you ^_^. Heck, it's something > I'd love to be able to help with, if only I had the time (and the net > at home...). I just finished building it on gentoo, and it should build on other linuxes, just replace setup.py with the one that will appear shortly on http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyode/files/ |
From: Richard J. <ric...@op...> - 2006-07-28 23:25:14
Attachments:
setup.py
|
On Friday 28 July 2006 22:45, Chris Bainbridge wrote: > On 28/07/06, Jean de Largentaye <je...@la...> wrote: > > All I can say is that building PyODE for ODE 0.6 isn't a trivial task, > > though it shouldn't be very hard. If you can do it (and for Ubuntu! > > thus closer to Debian), I shall enshrine you ^_^. Heck, it's something > > I'd love to be able to help with, if only I had the time (and the net > > at home...). > > I just finished building it on gentoo, and it should build on other > linuxes, just replace setup.py with the one that will appear shortly > on http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyode/files/ libode is installed in /usr/local/lib on my system. I've attached a modified setup.py which searches for libode. I still got compilation errors though until I removed the generated ode_*.c source files and had pyrex re-generate them. Then it all worked fine with one test failure that looks like a rounding error: richard@shiny:/usr/local/src/PyODE-1.1.0/tests$ python test_xode.py ....................................................F........................................................ ====================================================================== FAIL: testAxis2FudgeFactor (__main__.TestJointParser) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_xode.py", line 612, in testAxis2FudgeFactor self.assertEqual(self.joint8.getParam(ode.ParamFudgeFactor2), 0.2) AssertionError: 0.20000000298023224 != 0.20000000000000001 ---------------------------------------------------------------------- Ran 109 tests in 0.927s All the examples (except the one requiring cgtypes) work fine. Richard |