[resolved] [newbie] cl.exe not found

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
ftiercel
Posts: 0
Joined: Mon Jul 24, 2006 9:08 am
Location: Rouen, European Union

[resolved] [newbie] cl.exe not found

Post by ftiercel »

Hello !

I'm newbie to blender coding. I want to compile the sources and I try to do this on my Windows XP using Scons. At the compilation of the first source, my console said that "cl.exe is not found or doesn't exist" and I want to understand more.

- What is cl.exe ?
- Is cl.exe supposed to be used ?
- If it is, is include in blender project ?
- If it isn't included, where I'm supposed to download it ?

I have found this name in Sconstruct file too. It seems to be an alternative to gcc or something like this. It's hard to search on google with only two characters :( . Any further info would be nice :D thanx.

PS : Is Scons the best/easy way to compile Blender ?
Last edited by ftiercel on Fri Sep 08, 2006 9:07 am, edited 1 time in total.

lguillaume
Posts: 0
Joined: Tue Jan 04, 2005 10:25 pm

Post by lguillaume »

Do you have any compiler?
cl is the compiler of microsoft Visual C++.

ftiercel
Posts: 0
Joined: Mon Jul 24, 2006 9:08 am
Location: Rouen, European Union

Post by ftiercel »

At the moment, I don't have any compiler. I want first to know what is cl. The error is not surprising me and I want to learn more before going further :wink:

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip »

before you can compile anything you need a compiler :)

you can download either the free visual studio or cygwin/gcc build environments for windows.

There should be directions in the documentation section.

LetterRip

ftiercel
Posts: 0
Joined: Mon Jul 24, 2006 9:08 am
Location: Rouen, European Union

Post by ftiercel »

Ok, now the situation has changed a lot. I'm using Debian Sarge 3.1 and I'm trying to compile with the "make" command.
As insult, make wrote:g++ -c -Wall -Wno-reorder -DUSE_SUMO_SOLID -pipe -fPIC -DNDEBUG -O2 -DMOZ_NOT_NET -I../include -I/usr/include -I/usr/include/freetype2 FTBitmapGlyph.cpp -o /home/fabrice/Mes_Depots/Blender/blender/obj/linux-glibc2.3.2-i386/extern/ftgl/FTBitmapGlyph.o
In the file inclued from FTBitmapGlyph.cpp:3:
../include/FTBitmapGlyph.h:5:22: ft2build.h : No such file or repertory
I have looked for this file. It doesn't exist anywhere.
Am I supposed to have this file ?
Or this file shouldn't be included ?

PS : in the INSTALL file, it's written :
1) run 'make' in bf-blender/intern/
2) run 'make' in bf-blender/extern/
3) run 'make' in bf-blender/source/

Shouldn't this be written instead ?
1) run 'make' in bf-blender/blender/intern/
2) run 'make' in bf-blender/blender/extern/
3) run 'make' in bf-blender/blender/source/

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb »

ftiercel wrote:Ok, now the situation has changed a lot. I'm using Debian Sarge 3.1 and I'm trying to compile with the "make" command.
Try it with scons. apt-get install scons
To get most of the dependencies do an apt-get build-dep blender. To resolve the missing dependencies, like missing al.h search the forum.

ftiercel
Posts: 0
Joined: Mon Jul 24, 2006 9:08 am
Location: Rouen, European Union

Post by ftiercel »

Build successful !!! :D
Thank you everybody :)

Now, I have few questions :

Question 1 :
ftiercel wrote:PS : in the INSTALL file, it's written :
1) run 'make' in bf-blender/intern/
2) run 'make' in bf-blender/extern/
3) run 'make' in bf-blender/source/

Shouldn't this be written instead ?
1) run 'make' in bf-blender/blender/intern/
2) run 'make' in bf-blender/blender/extern/
3) run 'make' in bf-blender/blender/source/
Question 2 :

apt-file search seems not to work on my Debian. It ends immediately without any result. Any explanation ? :D

I used Debian search instead :)

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb »

ftiercel wrote: apt-file search seems not to work on my Debian. It ends immediately without any result. Any explanation ? :D
apt-file update or sudo apt-file update.

Post Reply