GNU/Linux port

204 views
Skip to first unread message

Norbert Braun

unread,
Feb 8, 2011, 10:44:31 AM2/8/11
to cartwheel-3d
Hi all,

first of all, thanks for making this very nice application available
as open source!

I recently tried to get cartwheel-3d to work under GNU/Linux, and
found it relatively straightforward, mostly thanks to the fact that
all external dependencies (ODE, wxPython, OpenGL, ...) are cross-
platform libraries. Most of the issues I ran into could easily be
corrected without affecting the Windows version.

If there is any interest in making an "official" Linux version, I
would happily help with that.

Best regards,

Norbert

Philippe Beaudoin

unread,
Feb 8, 2011, 11:02:29 AM2/8/11
to cartwh...@googlegroups.com
I Robert,

Thanks for your offer! I would be more than happy to make it Linux compatible. I know others have worked on this but I'm not sure whether or not they could submit a patch. I'll check and get back to you soon.

Cheers,

    Philippe

Philippe Beaudoin

unread,
Feb 8, 2011, 11:03:28 AM2/8/11
to cartwh...@googlegroups.com
Wow. Don't write emails before you've had your morning coffee... I meant "Hi Norbert". :)

Cheers,

   Philippe

On Tue, Feb 8, 2011 at 7:44 AM, Norbert Braun <n.f....@web.de> wrote:

Philippe Beaudoin

unread,
Feb 8, 2011, 11:50:16 AM2/8/11
to cartwh...@googlegroups.com
Hi Norbert,

Here is the linux port of the earlier Simbicon repo by Ben Jones:
in case it helps.

If you can send in a patch for cartwheel-3d I'll gladly apply it.

Cheers,

    Philippe


On Tue, Feb 8, 2011 at 7:44 AM, Norbert Braun <n.f....@web.de> wrote:

Norbert Braun

unread,
Feb 8, 2011, 12:31:45 PM2/8/11
to cartwheel-3d
Hi Philippe,

On Feb 8, 5:50 pm, Philippe Beaudoin <philippe.beaud...@gmail.com>
wrote:
> Here is the linux port of the earlier Simbicon repo by Ben Jones:
>  http://code.google.com/r/benjamesjones-linux/source/browse/
> in case it helps.
>
> If you can send in a patch for cartwheel-3d I'll gladly apply it.

Thanks for the link. I'll prepare a patch and send it.

A few questions:

* Is it correct that the menu bar (File, Help) currently does nothing?
* The MathLib module uses a function called
gsl_matrix_add_scaled(...), which does not seem to exist in standard
GSL (any more?). Did you add that to yourself?

BTW, "eventually to be used for standing up" (in the Ben Jones
repository) sounds rather exciting. Do you know if anything became of
it? (I haven't checked it out yet.)

Best regards,

Norbert

Philippe Beaudoin

unread,
Feb 8, 2011, 12:41:38 PM2/8/11
to cartwh...@googlegroups.com
I don't know if it turned into anything. This project needs an influx of external contributors or motivated grad students willing to share their ideas with the world. With a bit more people on it I'm sure we could turn cartwheel into an excellent research tool and start seriously tackling cool problems like "standing up".

Cheers,

   Philippe

Norbert Braun

unread,
Feb 8, 2011, 4:04:07 PM2/8/11
to cartwheel-3d
Hi,

what about the two other questions? (In particular the first one, as I
potentially have to work on that...)

On Feb 8, 6:41 pm, Philippe Beaudoin <philippe.beaud...@gmail.com>
wrote:
> On Tue, Feb 8, 2011 at 9:31 AM, Norbert Braun <n.f.br...@web.de> wrote:
> > A few questions:
>
> > * Is it correct that the menu bar (File, Help) currently does nothing?
> > * The MathLib module uses a function called
> > gsl_matrix_add_scaled(...), which does not seem to exist in standard
> > GSL (any more?). Did you add that to yourself?

Best regards,

Norbert

Philippe Beaudoin

unread,
Feb 8, 2011, 4:10:50 PM2/8/11
to cartwh...@googlegroups.com
Nothing is in the File menu yet, just a placeholder. Feel free to fill it!

I vaguely remember the second one as being a low-level method we created to quickly compute A + kB. It can be rewritten.

Cheers,

   Philippe

Norbert Braun

unread,
Feb 24, 2011, 4:16:26 PM2/24/11
to cartwh...@googlegroups.com
Hi,

the first version of my Linux port is done. In addition to importing the
attached file,

rename include/ to Include/
rename MathLib/trajectory.h to MathLib/Trajectory.h
rename Physics/collisionLibrary.h to Physics/CollisionLibrary.h

regenerate the SWIG wrappers
.

A remark: There are a couple of files referencing the "Simbicon 1.5
Controller Editor Framework" and giving the license as GPL. I suppose
that this is no longer correct? (Note that I left these headers intact.)

* Core/SimBiConState.h
* Core/BalanceFeedback.h
* Core/SimBiController.h
* Core/SimBiController.cpp
* Core/SimBiConState.cpp
* Physics/Joint.h
* Physics/Joint.cpp
* Physics/RigidBody.h
* Physics/RigidBody.cpp

Best regards,

Norbert

linuxport.hgexport

SHIHUI GUO

unread,
Oct 13, 2011, 1:11:33 PM10/13/11
to cartwh...@googlegroups.com
Oops, Hi, Norbert, could you please give some more information on porting this project to linux ?
I am not quite familiar in using patch files.

Cheers!

And it seems that two authors are both graduating from UBC already...Don't know if this forum is still maintained by them.

Philippe Beaudoin

unread,
Oct 13, 2011, 1:28:30 PM10/13/11
to cartwh...@googlegroups.com
I still read it, but unfortunately I don't have much time to work on that project. :(

   Philippe

Norbert Braun

unread,
Oct 14, 2011, 9:43:25 AM10/14/11
to cartwh...@googlegroups.com
Hi,

On 2011-10-13 19:11, SHIHUI GUO wrote:
> Oops, Hi, Norbert, could you please give some more information on
> porting this project to linux ?
> I am not quite familiar in using patch files.

I could send you a tarball (.tgz file) containing the project source
with the patch applied. Would that be of help to you?

BTW, I tried to write the patch in such a way as to not break anything
on Windows, so maybe it could be applied to the official tree?
(Although, if you want to do that, be sure to re-test on Windows first.)

Best regards,

Norbert

Philippe Beaudoin

unread,
Oct 14, 2011, 10:38:10 AM10/14/11
to cartwh...@googlegroups.com
I'd be happy to apply it. I don't have my environment setup to run trunk though (that's how good of a gardener I am!) so it may have to wait a while. If anybody confirms that trunk + patch still runs on windows, though, I'll be happy to apply it. Even more since I believe the build process must be simpler on Linux. :)

Cheers,

   Philippe

SHIHUI GUO

unread,
Oct 19, 2011, 3:44:04 PM10/19/11
to cartwheel-3d
Hi, Norbert,

In my memory, I replied to you and left my email, but it seems that it
is not here. Possibly I sent it directly to you.

So just in case, would you please send the patched version to me ? My
email is : guo7805 at gmail dot com

Cheers ! Thank you so much !

SHIHUI

fabian.h...@arcor.de

unread,
Jan 30, 2013, 7:40:31 AM1/30/13
to cartwh...@googlegroups.com
What is the current status of the Linux port? There are a couple of forks of cartwheel-3d but none seems to be the Linux port.

Norbert Braun

unread,
Jan 30, 2013, 9:44:33 AM1/30/13
to cartwh...@googlegroups.com
Hi,

On 2013-01-30 13:40, fabian.h...@arcor.de wrote:
> What is the current status of the Linux port? There are a couple of
> forks of cartwheel-3d but none seems to be the Linux port.
I submitted a patch a while ago. However, it needs to be tested that the
patch breaks nothing on Windows before it could potentially be applied
to the official tree.

Fabian: I will send you the patch in a minute.

Best regards,

Norbert

Reply all
Reply to author
Forward
0 new messages