ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

README.md (1118B)


      1 # ogl beamforming
      2 
      3 # Building
      4 
      5 Bootstrap the build tool once and it will rebuild itself as
      6 needed:
      7 ```sh
      8 cc -march=native -O3 build.c -o build
      9 ```
     10 or:
     11 ```bat
     12 md out & cl -nologo -std:c11 -O2 -Fo:out\ build.c
     13 ```
     14 
     15 Then run the build tool:
     16 ```sh
     17 ./build
     18 ```
     19 
     20 ## Debug Builds
     21 Pass the build tool the `--debug` flag to get a build suitable for
     22 development/debugging:
     23 ```
     24 ./build --debug
     25 ```
     26 
     27 Debug builds enable dynamic reloading of almost the entire program
     28 and you can make changes to most code and recompile without
     29 exiting the application.
     30 
     31 ## MSVC Support
     32 
     33 MSVC is not the target compiler for this application. While some
     34 attempt is made to keep an exe building with MSVC no effort is
     35 spent testing that it works beyond launching and running. Some
     36 previous attempts at testing it have indicated that MSVC is
     37 miscompiling parts of the code. Additionally there have been valid
     38 (as far as other C compilers are concerned) lines of code in this
     39 project that have caused MSVC to **crash** during compilation. If
     40 your compiler is so poorly written that it crashes on **ANY**
     41 input is it really worth our effort to support?