Cannot run premake command during installation on Mac

97 views
Skip to first unread message

Salvatore Lacava

unread,
May 8, 2020, 8:02:31 AM5/8/20
to ode-users
Hello everyone,

I am trying to install ODE on MAC following this : http://www.cs.cmu.edu/~cga/ode/  , basically, it is:

cd ode-xxx
./bootstrap
./configure --enable-double-precision
make
cd build
premake4 gmake

The problem is that when I run the command 'premake4 gmake' in the terminal I get the error '-bash: premake4: command not found'.
However when I check the folder that I am in by typing 'ls' in cmd I can see the three files: config-default.h, premake4.exe, premake4.lua
I am not sure what to do given that the file is in the folder, but it seems I cannot run premake4 properly.
Does anyone have any idea on what I could do? THank you very much!

Oleh Derevenko

unread,
May 8, 2020, 8:05:00 AM5/8/20
to ode-...@googlegroups.com

Hi Salvatore,


You don’t need to execute your last two lines. After you run ‘make’ the library is already built.

 

Oleh Derevenko

-- Skype with underscore
GPG Key Fingerprint: 2F56 32DC DCD9 B2BB 06E9 39E8 A37E 5E60 376E C691

--
You received this message because you are subscribed to the Google Groups "ode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ode-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ode-users/6874332d-6790-4089-8727-d2e6cd522bc1%40googlegroups.com.

openpgp-digital-signature.asc

Salvatore Lacava

unread,
May 11, 2020, 3:42:22 AM5/11/20
to ode-users
Dear Oleh,

thanks for the reply. I tried to run the code from the Hello World simulation from Demura tutorial (https://demura.net/english/346.html), and I get the following error:

gcc -Wall -fno-exceptions -fno-rtti  -g -DWIN32   -c sample1.cpp  -L../../drawstuff/src -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib/w32api/lib  -I. -I../../include -I/usr/X11R6/include -I/usr/include  -I/usr/include/w32api/include
clang
: warning: argument unused during compilation: '-L../../drawstuff/src' [-Wunused-command-line-argument]
clang
: warning: argument unused during compilation: '-L/usr/X11R6/lib' [-Wunused-command-line-argument]
clang
: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
clang
: warning: argument unused during compilation: '-L/usr/lib/w32api/lib' [-Wunused-command-line-argument]
windres
../../drawstuff/src/resources.rc -O coff resources.o
make
: windres: No such file or directory
make
: *** [resources.o] Error 1

I added ode/include in my list of file paths as recommended in the manual, but it does not solve the issue, do you have any idea what might be the problem? I was not sure this is unrelated to the installation process, so I did not want to make a different post...

Oleh Derevenko

unread,
May 11, 2020, 3:10:31 PM5/11/20
to ode-...@googlegroups.com

You should compile with running

./bootstrap

./configure <your_parameters>

Make

 

Or you should use cmake to generate your build files.

 

Oleh Derevenko

-- Skype with underscore
GPG Key Fingerprint: 2F56 32DC DCD9 B2BB 06E9 39E8 A37E 5E60 376E C691

 

From: ode-...@googlegroups.com <ode-...@googlegroups.com> On Behalf Of Salvatore Lacava

--

You received this message because you are subscribed to the Google Groups "ode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ode-users+...@googlegroups.com.

openpgp-digital-signature.asc
Reply all
Reply to author
Forward
0 new messages