Changeset 319

Show
Ignore:
Timestamp:
04/23/09 14:05:32 (15 years ago)
Author:
mido
Message:

velke preskupeni adresare, zalozeny a naplneny adresare \applications a \system, u mne vse chodi tak jak ma, co na linuxu?

Files:
3 added
5 modified
5 moved

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r316 r319  
    1616IF(WIN32) 
    1717# IF YOU WANT TO USE YOUR OWN INSTALLATION OF THE NEXT EXTERNAL LIBRARIES, 
    18 # THEN IT IS NECESSARY TO CREATE TEXT FILE "\WIN32\LOCAL_PATHS.TXT" WITH  
     18# THEN IT IS NECESSARY TO CREATE TEXT FILE "\system\WIN32\LOCAL_PATHS.TXT" WITH  
    1919# COPIES OF THE TWO FOLLOWING LINES AND THEN CORECT ALL THE INVOLVED PATHS 
    20         SET(ITPP_DIR "${BDM_SOURCE_DIR}\\win32\\itpp-4.0.6") 
    21         SET(ACML_DIR "${BDM_SOURCE_DIR}\\win32\\acml3.6.0") 
    22         SET(XERCES_DIR "${BDM_SOURCE_DIR}\\win32\\xerces-c_2_8_0-x86") 
     20        SET(ITPP_DIR "${BDM_SOURCE_DIR}\\system\\\\win32\\itpp-4.0.6") 
     21        SET(ACML_DIR "${BDM_SOURCE_DIR}\\system\\win32\\acml3.6.0") 
     22        SET(XERCES_DIR "${BDM_SOURCE_DIR}\\system\\win32\\xerces-c_2_8_0-x86") 
    2323 
    24         INCLUDE(\\win32\\local_paths.txt OPTIONAL)       
     24        INCLUDE(\\system\\win32\\local_paths.txt OPTIONAL)       
    2525        ADD_DEFINITIONS(-DHAVE_ACML) 
    2626ENDIF(WIN32) 
     
    8585add_subdirectory (bdm) 
    8686add_subdirectory (tests) 
    87 add_subdirectory (pmsm) 
    88 add_subdirectory (mpdm) 
     87add_subdirectory (applications) 
    8988add_subdirectory (library) 
    90 add_subdirectory (doprava) 
  • doc/html/install.html

    r312 r319  
    8787Make sure you have cmake installed.<p> 
    8888Expert users are advised to download and compile their ITPP version following a guide on : <a href="http://itpp.sourceforge.net/current/installation.html">http://itpp.sourceforge.net/current/installation.html</a><p> 
    89 For convenience of the beginners, DLLS of the ACML and lib+include files for ITPP and ACML are provided at: <a href="http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip">http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip</a> If you want to use them copy the content of the zip file to win32\ directory and make sure to set your PATH environment variable: <div class="fragment"><pre class="fragment"> Path = %PATH%; &lt;bdm_dir&gt;\win32\dll 
     89For convenience of the beginners, DLLS of the ACML and lib+include files for ITPP and ACML are provided at: <a href="http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip">http://staff.utia.cas.cz/smidl/Public/mixpp_win32lib.zip</a> If you want to use them copy the content of the zip file to win32\ directory and make sure to set your PATH environment variable: <div class="fragment"><pre class="fragment"> Path = %PATH%; &lt;bdm_dir&gt;\system\win32\dll 
    9090</pre></div> Otherwise you will not be able to run any programs.<p> 
    9191Compilation of BDM:<p> 
    92 When everything is set-up, make a copy of win32/run_cmake.bat, edit it to reflect your environment (i.e. change paths to cmake and your C++ target environment) and run it.<p> 
     92When everything is set-up, make a copy of system/win32/run_cmake.bat, edit it to reflect your environment (i.e. change paths to cmake and your C++ target environment) and run it.<p> 
    9393It should generate build files for your compiler in the main BDM directory<h2><a class="anchor" name="mac"> 
    9494Mac OS X</a></h2> 
  • library/mex/buildmex.bat

    r316 r319  
    11@set PATH=C:\Program Files\MATLAB71\bin\win32;D:\Visual Studio 9.0\VC\bin;D:\Visual Studio 9.0\Common7\IDE;%PATH% 
    22 
    3 call mex  -I./  -ID:\utia\mixpp\win32\itpp-4.0.6\ -ID:\utia\mixpp\bdm -f mexopts-opt.bat estimator.cpp D:\utia\mixpp\bdm\Release\bdm.lib D:\utia\mixpp\win32\itpp-4.0.6\win32\lib\itpp.lib "C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\kernel32.lib" D:\utia\mixpp\win32\acml3.6.0\pgi32\lib\libacml_dll.lib 
     3call mex  -I./  -ID:\utia\mixpp\system\win32\itpp-4.0.6\ -ID:\utia\mixpp\bdm -f mexopts-opt.bat estimator.cpp D:\utia\mixpp\bdm\Release\bdm.lib D:\utia\mixpp\system\win32\itpp-4.0.6\win32\lib\itpp.lib "C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\kernel32.lib" D:\utia\mixpp\system\win32\acml3.6.0\pgi32\lib\libacml_dll.lib 
    44 
  • library/mex/buildmex.sh

    r293 r319  
    11#!/bin/sh 
    2 mex -l itpp -l bdm -I/home/smidl/soft/matlab/matlab/extern/include -I/home/smidl/work/git/mixpp/bdm  -L ../../bdm/ -L ../../linux/libs/ $1  
     2mex -l itpp -l bdm -I/home/smidl/soft/matlab/matlab/extern/include -I/home/smidl/work/git/mixpp/bdm  -L ../../bdm/ -L ../../system/linux/libs/ $1  
    33#mxestimator.cpp 
    44#mex -l bdm -I ../../bdm/ -I /home/smidl/soft/matlab/matlab/extern/include -L ../../bdm/ linefit2.cpp 
  • system/win32/run_cmake.bat

    r292 r319  
    11@echo off 
    2 cd .. 
     2cd ..\.. 
    33cmake -G "Visual Studio 9 2008" 
    44pause