Skip to content

Instantly share code, notes, and snippets.

@JosePedroDias

JosePedroDias/index.md

Last active Feb 7, 2021
Embed
What would you like to do?
build ODE

Build ODE in Linux

simple approach (can't choose revelant things):

sudo apt add libode-dev

otherwise use premake as explained below

Build ODE in Windows

git clone https://josepedrodias@bitbucket.org/odedevs/ode.git

with visual studio community 2019

premake4 vscode2010 --os=windows --platform=x64 --with-demos 

with cygwin

install cygwin with: https://cygwin.com/setup-x86_64.exe

you must select (tentative):

x64 versions of...
gcc
g++
gmake
thread...

use cygwin prompt and...

cd ode
cd build
./premake4 gmake --os=windows --platform=x64 --with-demos --with-libccd
cd gmake

edit ode.make, adding in line 22 (before the ifs):

DEFINES += -D__CYGWIN32__ -D__MINGW32__

then make!

make config=releasedoubledll ode

premake options (check premake4.lua):

  • TODO

configs (check Makefile):

  • debugsingledll
  • debugdoubledll
  • debugsinglelib
  • debugdoublelib
  • releasesingledll
  • releasedoubledll
  • releasesinglelib
  • releasedoublelib

targets:

  • ode
  • all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment