Thanks! The release version can be started more than once! The debug version still works just once. More info, including patches, below.
/$ 2008/8/2 Oliver Salzburg <[EMAIL PROTECTED]>: >> Compiling the release version gives: >> Making help file... >> Building Win32 Help files >> The system cannot find the file hcw. >> hlp\LeoCAD.hpj(1) : error: Problem encountered creating help file >> Project : error PRJ0019: A tool returned an error code from "Making >> help file..." >> > > You can either install the Microsoft Winhelp Compiler or create a new Buld > configuration > that doesn't build the documentation. You can get the compiler here: > ftp://ftp.microsoft.com/Softlib/MSLFILES/HCWSETUP.EXE ***I did this, and copied the files (to make them found by the studio): C:\src>copy "C:\Program Files\Help Workshop\*.*" "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools" The help system seems to be deprecated. What is the modern way? Handled by Qt? ***I needed these patches (the hpj-patch needs modification, it just changes a hardcoded path): C:\src>svn diff leocad Index: leocad/common/minifig.cpp =================================================================== --- leocad/common/minifig.cpp (revision 729) +++ leocad/common/minifig.cpp (working copy) @@ -880,7 +880,7 @@ } } -void MinifigWizard::GetSelections(const char** names) +void MinifigWizard::GetSelections(char** names) { for (int i = 0; i < LC_MFW_NUMITEMS; i++) { Index: leocad/common/minifig.h =================================================================== --- leocad/common/minifig.h (revision 729) +++ leocad/common/minifig.h (working copy) @@ -44,7 +44,7 @@ void Calculate(); void GetItems(int type, LC_MFW_PIECEINFO*** items, int *count); - void GetSelections(const char** names); + void GetSelections(char** names); void ChangePiece(int type, LC_MFW_PIECEINFO* info); void ChangeColor(int type, int color); void ChangeAngle(int type, float angle); Index: leocad/win/hlp/leocad.hpj =================================================================== --- leocad/win/hlp/leocad.hpj (revision 729) +++ leocad/win/hlp/leocad.hpj (working copy) @@ -65,7 +65,7 @@ HIDR_MAINFRAME = main_index [MAP] -#include ..\..\..\..\Program Files\Microsoft Visual Studio\VC98\MFC\Include\AFXHELP.HM +#include ..\..\..\..\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\AFXHELP.HM #include ..\resource.hm #include <LeoCAD.hm> Index: leocad/win/LeoCAD.dsp =================================================================== --- leocad/win/LeoCAD.dsp (revision 729) +++ leocad/win/LeoCAD.dsp (working copy) @@ -53,7 +53,7 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 vfw32.lib /nologo /subsystem:windows /map /machine:I386 /nodefaultlib:"libc.lib" /libpath:"./jpeglib/release" /libpath:"./3dsftk/release " /libpath:"./libpng/release" /libpath:"./zlib/release" +# ADD LINK32 vfw32.lib wininet.lib /nologo /subsystem:windows /map /machine:I386 /nodefaultlib:"libc.lib" /libpath:"./jpeglib/release" /libpath:"./3d sftk/release" /libpath:"./libpng/release" /libpath:"./zlib/release" !ELSEIF "$(CFG)" == "LeoCAD - Win32 Debug" @@ -79,7 +79,7 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 vfw32.lib gdi32.lib /nologo /subsystem:windows /map /debug /machine:I386 /nodefaultlib:"libcd.lib" /libpath:"./jpeglib/debug" /libpath:" ./3dsftk/debug" /libpath:"./libpng/debug" /libpath:"./zlib/debug" +# ADD LINK32 vfw32.lib gdi32.lib wininet.lib /nologo /subsystem:windows /map /debug /machine:I386 /nodefaultlib:"libcd.lib" /libpath:"./jpeglib/debug " /libpath:"./3dsftk/debug" /libpath:"./libpng/debug" /libpath:"./zlib/debug" # SUBTRACT LINK32 /pdb:none !ENDIF @@ -97,11 +97,6 @@ # End Source File # Begin Source File -SOURCE=..\common\array.cpp -# PROP Exclude_From_Build 1 -# End Source File -# Begin Source File - SOURCE=.\Arraydlg.cpp # End Source File # Begin Source File @@ -1068,7 +1063,7 @@ # End Source File # Begin Source File -SOURCE=..\common\message.h +SOURCE=..\common\lc_message.h # End Source File # Begin Source File @@ -1256,7 +1251,7 @@ # End Source File # Begin Source File -SOURCE=..\common\message.cpp +SOURCE=..\common\lc_message.cpp # End Source File # Begin Source File _______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
