Skip to main content
gamedev.net
🔒 Locked

help compiling ode?

Started by billybob 17 replies 750+ views
Original Post
billybob
billybob
i can''t seem to make this library compile. are there any more detailed instructions than the docs? they just say run make, and that doesn''t work. i need this library to work, you hsould have seen my pitiful attempt at physics! HELP!
Fruny
Fruny
What library ?
What operating system ?
What compiler ?

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
billybob
billybob
ODE, windows XP, Microsoft visual C++.
aNonaMus
aNonaMus
Wow, you must think that we are telepathic here.

What in the hell are you talking about? What library are you trying to compile. More detailed instructions to WHAT?

Where is the code you are trying to compile? What type of compile errors are you getting?

How are we supposed to help you if you don''t tell us the specifics?

billybob
billybob
i said i needed help compiling ODE and i just answered under windows XP with msvc++. it tells me to use make.exe configure to start, to compile it, but i get this:

MAKE: ** No rule to make target ''configure''. Stop.
Fruny
Fruny
Just telling me ''ODE'' doesn''t help me much to know what library you''re talking about.

It looks like you''re trying to build a Unix library on a Win32 system. If you don''t have something like Cygwin installed, you won''t be able to use the Unix build and install instructions.

You would run configure with /bin/sh (by just typing ./configure), which would generate the makefile appropriate to your system and then (and only then) would you run make, which will, in turn, call gcc or g++.

If the INSTALL file provide Win32-specific instructions, follow them instead...

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
billybob
billybob
the open dynamics engine, www.q12.org/ode/. it says it works under windows/msvc, so i don''t see why it wouldn''t work. he also says he has provided a windows version of make right there so it should work.
Fruny
Fruny
Well, it works ( the lib and test compile and run ) fine for me using GNU make 3.78.1, MSVC7 on Win2k.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
billybob
billybob
quote:
Original post by Fruny
Well, it works ( the lib and test compile and run ) fine for me using GNU make 3.78.1, MSVC7 on Win2k.


i got gnu make 3.78.1, now how do i use it to make ode?

a2k
a2k
so, is this library any good? it doesn''t even seem to be at v0.1 yet.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
Fruny
Fruny
I just followed the instructions as given : go to the directory where you unzipped the source (you had done that in your earlier trials, hadn''t you ?) and run make configure and so on.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
billybob
billybob
i''ve tried that, i put make in half the directories and did make configure it never worked. it just says:

MAKE **: No rule to make target ''configure''. Stop.

it says that for everything and everywhere i try it
Fruny
Fruny
The only thing I can imagine now is that you would have a corrupted makefile. Mine produces a md5 signature of 1388D583D872C6B74F30349B99A38C03. Do you get the same ?

If so, go edit manually config/config.h after having read config/README, then edit Makefile and remove the dependences to configure from the other make targets.

If not, try downloading it again.



Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
billybob
billybob
there is no config/config.h. is that why all this isn''t working? i''ve never used this gnu stuff before, so i have no idea how it works. am i supposed to rename makefile.msvc to makefile? i tried taht but it didn''t work either.
Fruny
Fruny
sorry : include/ode/config.h
Check confing/user-settings to make sure it matches your configuration.

Also look if the configure target is in the makefile.



Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
billybob
billybob
there is no include/ode/config.h. as for the user settings, they are right. where is the makefile? what is it called? is that just make.exe? i tried putting make.exe in the main directory, with the makefile, but it still says the same thing.

[edited by - billybob on August 1, 2002 1:57:49 AM]
dabx11
dabx11
If you give up trying to compile it yourself..here is a compiled version I made awhile back.
http://www.geocities.com/sierraftp/ode.zip

Here''s an attempt at using the library I did...not quite right...but maybe you can see what is wrong.
http://www.geocities.com/sierraftp/Physics.zip

Here is a really good demo that uses ODE, you should check out the source to it also..
http://freefall.freehosting.net/downloads/buggydemo.html


I don''t remember what I did, but I think make needed to be in the root directory...and I had to create a lib folder before I ran it...???
billybob
billybob
wow, thanks, i think it worked. it will take some time to figure out the library, but thanks a ton, it seemed like nothing was working.
grhodes_at_work
grhodes_at_work
quote:
Original post by billybob
i can''t seem to make this library compile. are there any more detailed instructions than the docs? they just say run make, and that doesn''t work. i need this library to work, you hsould have seen my pitiful attempt at physics! HELP!


billybob,

I can''t emphasize enough that you need to ask this question in the General Programming forum. This forum is for specific technical questions on math and physics. Your question, although related to a math library, has nothing to do specifically with math or physics.

For this reason, I am once again moving your thread to the General Programming forum.


Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.