@echo off
-set baseProject=C:\Users\davila\Creatools
-set ProgramFiles=C:\Program Files
+set baseProject=C:\Eduardo\Creatis
+set ProgramFiles=C:\Program Files (x86)
+
+;::set baseProject=C:\Users\davila\Creatools
+::set ProgramFiles=C:\Program Files
+
::set baseProject=E:\creatis\c_mingw
::set ProgramFiles=C:\Program Files (x86)
set docGeneration=OFF
-set cmakeBin=%baseProject%\For_mingw64\DeveloperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
-set creatoolsGeneration=%baseProject%\C5\ct
+set cmakeBin=%baseProject%\DevelopperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
+set creatoolsGeneration=%baseProject%\C10\ct
set bash=%ProgramFiles%\Git\bin\bash.exe
:: Some times you have to put this is comments
:: If not in comments you need to activate de ppk key with the putty-agent
-set GIT_SSH=%ProgramFiles%\PuTTY\plink.exe
+:: set GIT_SSH=%ProgramFiles%\PuTTY\plink.exe
cd scripts
call All.bat %creatoolsGeneration% %docGeneration%
-cd ..
+cd ..
pause
exit
echo tmp.sh
-mkdir C:/Users/davila/Creatools/C5/ct
-mkdir C:/Users/davila/Creatools/C5/ct/cs
-cd C:/Users/davila/Creatools/C5/ct/cs
+mkdir C:/Eduardo/Creatis/C10/ct
+mkdir C:/Eduardo/Creatis/C10/ct/cs
+cd C:/Eduardo/Creatis/C10/ct/cs
git clone ssh://gitolite@git.creatis.insa-lyon.fr/crea
cd crea
git checkout vtk7itk4wx3-mingw64
-set thirdpartyGenerationBase=E:\creatis\c_mingw\C5\tpl\
+set thirdpartyGenerationBase=C:\Eduardo\Creatis\C10\tpl\
-set cmakeBin=E:\creatis\c_mingw\For_mingw64\DeveloperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
+set cmakeBin=C:\Eduardo\Creatis\DevelopperTools\cmake-3.11.2-win64-x64\bin\cmake.exe
-set wgetPath="E:\creatis\c_mingw\For_mingw64\DeveloperTools\wget-1.19.4-win32\wget.exe"
+set wgetPath="C:\Eduardo\Creatis\DevelopperTools\wget-1.19.4-win32\wget.exe"
set zipPath="C:\Program Files\7-Zip\7z.exe"
::set zipPath="peazip -ext2here "
-set DirMingwDlls=E:\creatis\c_mingw\For_mingw64\DeveloperTools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
+set DirMingwDlls=C:\Eduardo\Creatis\DevelopperTools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
+
+set PATH=C:\Windows\system32;C:\Eduardo\Creatis\DevelopperTools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin;
+
start /wait install_generate_thirdparty-x64Release.bat
-REM start /wait install_generate_thirdparty-x64Debug.bat
-REM start /wait install_generate_thirdparty-x86Release.bat
-REM start /wait install_generate_thirdparty-x86Debug.bat
-pause
\ No newline at end of file
+::REM start /wait install_generate_thirdparty-x64Debug.bat
+::REM start /wait install_generate_thirdparty-x86Release.bat
+:: REM start /wait install_generate_thirdparty-x86Debug.bat
+
+::pause
\ No newline at end of file
-
-@echo off
+::@echo off
echo -----------------------------------
echo ---Setting Environment Variables---
call scripts/makeAll.bat
-::pause
+pause
exit
\ No newline at end of file
if not exist %wgetPath% (
echo ERROR!!! wget has not been found in the system
- pause
exit
)
set BOOSTFNAME=boost_1_64_0.7z
::set XERCESFNAME=xerces-c-3.1.1.zip
::set XERCESFNAME=xerces-c-3.1.4.zip
-set XERCESFNAME=xerces-c-3.2.1.zip
+set XERCESFNAME=xerces-c-3.2.3.zip
::set VTKFNAME=vtk-5.10.0.zip
:: set VTKFNAME=VTK-8.1.1-patch_mingw64.7z
set VTKFNAME=VTK-8.1.1-Patch.7z
:SKIPDOWNLOADBOOST
if %EEDdownloadXERCES%==FALSE GOTO SKIPDOWNLOADXERCES
- %wgetPath% "http://mirror.ibcp.fr/pub/apache//xerces/c/3/sources/%XERCESFNAME%"
+:: %wgetPath% "http://mirror.ibcp.fr/pub/apache//xerces/c/3/sources/%XERCESFNAME%"
+ %wgetPath% --no-check-certificate "%urlCreatisSource%/%XERCESFNAME%"
+ echo %wgetPath% "http://mirror.ibcp.fr/pub/apache//xerces/c/3/sources/%XERCESFNAME%"
+
:: %wgetPath% --no-check-certificate "https://archive.apache.org/dist/xerces/c/3/sources/%XERCESFNAME%"
echo -----------------------------------
echo -------------XERCES----------------
%zipPath% x %DLFCNFNAME%
:: del %DLFCNFNAME%
:SKIPDOWNLOADDLFCN
-pause
if %EEDdownloadOPENGLMESA%==FALSE GOTO SKIPDOWNLOADOPENGLMESA
%wgetPath% --no-check-certificate "%urlCreatisSource%/../../../crea_Developer_Tools/v4/%OPENGLMESANAME%"
echo ------------------------------------------------
echo ------------------------------------------------
cd %sourcepath%
%zipPath% x %OPENGLMESANAME%
-pause
:: del %OPENGLMESANAME%
:SKIPDOWNLOADOPENGLMESA
rename VTK-8.1.1 vtk
rename gdcm13_2018_05_28_vtk8 gdcm13
rename tth_exe tth
-rename xerces-c-3.2.1 xerces
+rename xerces-c-3.2.3 xerces
rename sqlite_v3.6.23.1 sqlite
echo -----End of Download Libraries-----
:: 3.0.4 manual
:: https://wiki.wxwidgets.org/Compiling_wxWidgets_with_MinGW
-cd %sourcepath%\%wxWidgets%\build\msw
+cd %sourcepath%\%wxWidgets%\build\msw
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release clean >> %LogFolder%\wxWidgetsInstall.log 2>&1
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release -j%NUMBER_OF_PROCESSORS% >> %LogFolder%\wxWidgetsInstall.log 2>&1
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release -j%NUMBER_OF_PROCESSORS% >> %LogFolder%\wxWidgetsInstall.log 2>&1
============================= Third Part Library ==========================
-1. Install:
+1. Install from /home/davila/public_html/creatools_back_site/crea_Developer_Tools/v4
- mingw-64 V7.3 Version x86_64
+ Add int the sytem PATH:
+ <..InstalationPath..>\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
+ - cmake 2.8.12 >=
- wget
+ - basic-miktex-2.9.6753-x64.exe
+ - nsis-3.03-setup.exe
+
- 7z
- - cmake 2.8.12 >=
- git ????? como donde instalarlo
-
+ - key ssh: copy the id_rsa version 2 in <Users>\.ssh (see mail ups rsa 2)
+
2. Clone creaToolsTools
- -Cambiar la branch
+ -Cambiar la branch (mingw64)
-En creaToolsTools\Install_mingw64\Install_ThirdParty\install_All.bat ajustar el path de:
cmakeBin
thirdpartyGenerationBase
opcion de clean y download se renombran los source automatidacmente (OJO con wxWindgets, hay que hacerlo a mano)
-
-
-
-
-
============================= Creatools ==========================
0. Configuration