My first go at compiling gave me...

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

peterw
Posts: 3
Joined: Sat Jan 04, 2003 10:27 pm

My first go at compiling gave me...

Postby peterw » Mon Apr 07, 2003 5:37 am

Following carefully the instructions to compile on MSVC6 (with service pack 5) I get the following :

Compiling...
key.c
C:\blender\blender\intern\keymaker\key_internal.h(40) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory
keyloader.c
C:\blender\blender\intern\keymaker\key_internal.h(40) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory
Error executing cl.exe.

This is from a clean CVS over the last hour.
I'm obviously missing the openssl stuff.

Can someone point me in the right direction please!

Peter

VelikM
Posts: 80
Joined: Mon Oct 14, 2002 4:18 am

Postby VelikM » Mon Apr 07, 2003 10:48 am

This is from the README file in the blender dir. You need all of the packages listed here (better to have all of them). There are lots of directions in the README file, following them gives you a better chance to get blender to compile, but doesn't guarantee it. You still have to hold your tongue just right when you hit Enter.

Here are some links to external packages you may or may not need:

openssl: http://www.openssl.org
python: http://www.python.org
mxtexttools:http://www.egenix.com/files/python/mxTextTools.html (python lib)
libjpeg: http://www.ijg.org/
libpng: http://www.libpng.org/pub/png/
zlib: http://www.gzip.org/zlib/
ode: http://opende.sourceforge.net/
openal: http://www.openal.org/home/ (for linux/windows)
sdl: http://www.libsdl.org/index.php (for openal)
smpeg: http://www.lokigames.com/development/smpeg.php3 (for openal)
fmod: http://www.fmod.org/

mozilla: http://www.mozilla.org/
nspr: ftp://ftp.mozilla.org/pub/nspr/releases
(side note: on debian linux you will need mozilla-dev and libnspr-dev)

glut: http://www.opengl.org/developers/docume ... /glut.html

If you do not have GL you will also need mesa:
mesa: http://www.mesa3d.org

It took me a long time to figure out the tongue part, but once I did it worked.

Mats78
Posts: 155
Joined: Thu Oct 17, 2002 5:06 pm
Location: Vantaa, Finland

Postby Mats78 » Mon Apr 07, 2003 12:02 pm

In fact... I think I had the same problem. Try searching your lib directory for rand.h or whatever that seems to be missing. There should be an openssl directory under lib/windows (something like lib/windows/openssl/include/openssl/) where you can find some include files. Just tell MSVC to search for include files in that dir.

Hope this helps =)

regards, Mats


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 2 guests