#268 closed defect (fixed)
A random fatal error makes to crash compilation of tol.dll
Reported by: | César Pérez Álvarez | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Various | Version: | head |
Severity: | major | Keywords: | |
Cc: |
Description
Usually when I compile tol.dll happens a random fatal error like this:
...
tsrgra.cpp
tsrgrai.cpp
tsrgrav.cpp
set.cpp
setgra.cpp
txtgra.cpp
dnf.cpp
C:\users\cperez\bsd\tol\btol\timeset_type\dnf.cpp(0) : fatal error C1033: cannot
open program database 'c:\users\cperez\bsd\tol\win\release\tmp\vc60.idb'
mnf.cpp
tms.cpp
tmsgra.cpp
....
It makes to crash the compilation of tol.dll, but sometimes happens in other library
and not necessary in the same tmp file.
If I try to compile one time more with no heavy applications running, it compiles
perfectly.
This is the make.bat that I use:
ECHO PARAMETERS
set pathMSVS="%ProgramFiles%\Microsoft Visual Studio\Common\MSDev98\Bin"
set pathDevelolop=C:\users\cperez\bsd
set pathCurrent="%CD%"
rem /
rem -- Where TCL libs are kept:
rem set TCL_LIB=c:\tcltk\lib
rem set TCL_INCLUDE=c:\tcltk\include
rem /
rem /
rem --Where GSL libs are kept:
rem set GSL_LIB=c:\gsl14\lib
rem set GSL_INC=c:\gsl14
rem /
ECHO COMPILACION
cd %pathCurrent%
cd make
call maketoldll.bat %pathMSVS% %pathDevelolop% %pathCurrent%
call maketolexe.bat %pathMSVS% %pathDevelolop% %pathCurrent%
call maketoltcldll.bat %pathMSVS% %pathDevelolop% %pathCurrent%
call maketoldbdll.bat %pathMSVS% %pathDevelolop% %pathCurrent%
call maketolbaseexe.bat %pathMSVS% %pathDevelolop% %pathCurrent%
ECHO MOVE
cd %pathCurrent%
cd move
call movetoldll.bat %pathDevelolop% %pathDevelolop%\tolbase\win\Release
call movetolexe.bat %pathDevelolop% %pathDevelolop%\tolbase\win\Release
call movetoltcldll.bat %pathDevelolop% %pathDevelolop%\tolbase\lib\toltcl
call movetoldbdll.bat %pathDevelolop% %pathDevelolop%\tolbase\win\Release
ECHO END
cd %pathCurrent%
and this is the maketoldll.bat to compile tol.dll that I use:
rem %1 -> pathMSVS
rem %2 -> pathDevelolop
rem %3 -> pathCurrent
cd %1
msdev.com %2\tol\win\tollib.dsp /MAKE "tollib - Win32 Release" /REBUILD /OUT %
3\toldll.log
goto errortoldll_%errorlevel%
:errortoldll_0
rem call %3\move\movetoldll.bat %2 %2\tolbase\win\Release
goto salida
:errortoldll_3
echo Error en la compilación de tol.dll > %3\errortoldll.log"
:salida
cd %3\make
Change History (3)
comment:1 Changed 19 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 18 years ago by
bug_file_loc: | → http://www.tol-project.org |
---|
I've had similar problems with this and other projects on different versions of
Microsoft Visual C. Usually I need to clean and rebuild project. Sometimes even I
must to restart windows. I think this is a bug of Visual C.
I recommend to do make clean to solve this problem.
Thanks to report it