====> make all in blender/extern
====> make all in extern/ode
[ -d dist/lib ] || mkdir dist/lib
# prepare settings for patching, clean in case of interruption
[ ! -f ./user-settings ] || mv ./user-settings ./dist/config/user-settings
cp ./dist/config/user-settings ./user-settings
# compile with MSVC
cat ./user-settings | sed s/unix-gcc/msvc/ > ./dist/config/user-settings
env PATH=".:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINNT/system
32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/A
qsis/bin" make -C dist
cl /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPORT= /DSHAREDLIBIMPORT= /DdSINGLE /DdNO
DEBUG /Feconfigurator.exe configurator.c
make[3]: cl: Command not found
make[3]: *** [configurator.exe] Error 127
make[2]: *** [all] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
I am not sure if I gotta edit some files or not....
Compile error in cygwin
Moderators: jesterKing, stiv
-
- Site Admin
- Posts: 207
- Joined: Fri Oct 18, 2002 12:48 pm
- Location: Finland
Re: Compile error in cygwin
Make sure cl.exe is in your path (for cygwin). Btw, I was not aware that you can build blender through cygwin with make using msvc.Sutabi wrote: make[3]: cl: Command not found
/jesterKing.
-
- Posts: 0
- Joined: Tue Nov 25, 2003 5:27 pm
- Location: Denzenberg, could walk to Hölderling-Tower
- Contact:
depends on what you want to do
using gcc as compiler add
to user-def.mk
or to use MS compiler
i start cygwin with some additional path information
(vcvars32.bat does not work with me on cygwin)
my cyvc.bat
using gcc as compiler add
Code: Select all
export FREE_WINDOWS= true
or to use MS compiler
i start cygwin with some additional path information
(vcvars32.bat does not work with me on cygwin)
my cyvc.bat
Code: Select all
@echo off
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=C:\PROGRA~1\MICROS~2\Common
rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=C:\PROGRA~1\MICROS~2\Common\msdev98
rem
rem Root of Visual C++ installed files.
rem
set MSVCDir=C:\PROGRA~1\MICROS~2\VC98
rem
rem VcOsDir is used to help create either a Windows 95 or Windows NT specific path.
rem
set VcOsDir=WIN95
if "%OS%" == "Windows_NT" set VcOsDir=WINNT
rem
echo Setting environment for using Microsoft Visual C++ tools.
rem
if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
if "%OS%" == "" set PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%
set VcOsDir=
set VSCommonDir=
C:
chdir C:\cygwin\bin
bash --login -i
the error:
Clausal Language 5.81.16
Copyright (C) 1996--2002 Paul J. Voda, Jan Komara
Copyright (C) 2002--2003 Jan Kluka
Heap free: 131068K
Reading a module from /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPORT= /DSHAREDLIBIMPOR
T= /DdSINGLE /DdNODEBUG /Feconfigurator.exe configurator.c...
Import problem: file /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPORT= /DSHAREDLIBIMPORT
= /DdSINGLE /DdNODEBUG /Feconfigurator.exe configurator.clb error: The system ca
nnot find the file specified.♪◙
Press any key to end CL...
c
onfigurator.exe include/ode/config.h "cl /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPOR
T= /DSHAREDLIBIMPORT= /DdNODEBUG /Fe" "tools\rm"
configurator.exe: not found
make[3]: *** [include/ode/config.h] Error 127
make[2]: *** [all] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
Clausal Language 5.81.16
Copyright (C) 1996--2002 Paul J. Voda, Jan Komara
Copyright (C) 2002--2003 Jan Kluka
Heap free: 131068K
Reading a module from /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPORT= /DSHAREDLIBIMPOR
T= /DdSINGLE /DdNODEBUG /Feconfigurator.exe configurator.c...
Import problem: file /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPORT= /DSHAREDLIBIMPORT
= /DdSINGLE /DdNODEBUG /Feconfigurator.exe configurator.clb error: The system ca
nnot find the file specified.♪◙
Press any key to end CL...
c
onfigurator.exe include/ode/config.h "cl /nologo /DWIN32 /DMSVC /DSHAREDLIBEXPOR
T= /DSHAREDLIBIMPORT= /DdNODEBUG /Fe" "tools\rm"
configurator.exe: not found
make[3]: *** [include/ode/config.h] Error 127
make[2]: *** [all] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
-
- Site Admin
- Posts: 207
- Joined: Fri Oct 18, 2002 12:48 pm
- Location: Finland
As bjornmose already stated, you have to
/jesterKing
Code: Select all
export FREE_WINDOWS= true
-
- Posts: 0
- Joined: Tue Nov 25, 2003 5:27 pm
- Location: Denzenberg, could walk to Hölderling-Tower
- Contact:
hm.. your cl.exe is definitely not the one from MS but you do not need it for compiling with cygwin / gcc !
copy this to user-def.mk
insert the
"export FREE_WINDOWS= true "
line there.
with this line make will switch to gcc (which should be in your cygwin installation)
BM
but there is a "user-def.mk.defaults"Sutabi wrote:THere is no "user-def.mk" ....
I added that line to "nan_definitions.mk" and the error above was from me adding that...
copy this to user-def.mk
insert the
"export FREE_WINDOWS= true "
line there.
with this line make will switch to gcc (which should be in your cygwin installation)
BM