1. 07 Feb, 2022 1 commit
    • David Eberly's avatar
      Posting GTE 6.1. · 3e63d95d
      David Eberly authored
      Updated minor versions in CMakeLists.txt. New files added to GTMathematics. Fixed an incorrect library name in GTMathematicsGPU.
      3e63d95d
  2. 10 Jan, 2022 1 commit
    • David Eberly's avatar
      Added and removed MSVS projects and solutions. · a1fa45f5
      David Eberly authored
      I added projects and solutions for Microsoft Visual Studio 2022. I removed the Microsoft Visual Studio 2015 projects and solutions because that version of the IDE reached mainstream end date on October 13, 2020. Microsoft Visual Studio 2017 reaches its mainstream end date on April 12, 2022. However, I have also removed the Microsoft Visual Studio 2017 projects and solutions because I do not have enough time to maintain so many versions of the compiler. From now on, I will support two versions of MSVS, the current one (whatever that is) and the previous one.
      
      The Tools folder has various projects that were expanded to include projects and solutions for MSVS 2022. The \Code{GenerateProject} tool has been modified to generate only MSVS 2019 and MSVS 2022 projects and solutions.
      a1fa45f5
  3. 30 Sep, 2020 1 commit
    • David Eberly's avatar
      Added Visual Studio Code and CMake support on Linux. · 298c3c26
      David Eberly authored
      Added support to the Linux distribution for CMake executed from a command line and for Visual Studio Code. Please read the installation and release notes on how to build the libraries and samples on Linux.
      
      The shared-library executables in the Linux distribution were crashing on exit from  the main program. Using gdb and the core dump, the problem appeared to be in the destruction of global objects in the gtapplications shared library. The singleton TheWindowSystem was actually created 3 times because of the way shared libraries are linked and loaded. I had added -rdynamic to the makesample.gte link line (suggested by a poster at stackoverflow). This eliminated the multiple creations of TheWindowSystem. Unfortunately, on-exit crashes still occurred, this time in the destruction of global objects in the gtgraphics shared library. The only global objects are several class-static members. To diagnose with a visual debugger, I decided to add Visual Studio Code support. With this environment, the on-exit crashes no longer
      occur. The CMake output files are cryptic, and I am not skilled enough to figure out what differences occur between CMake and my makefiles regarding linking and loading of shared libraries. Visual Studio Code and CMake work fine, so I am abandoning my simple Unix makefile approach.
      
      I moved the GTE/Mathematics/GPU folder to GTE/MathematicsGPU to support the new CMake and Visual Studio Code project organization on Linux. All the associated project source files had to be modified so the header includes access the new location. Some application files had to be modified.
      
      When building all configurations of the libraries and samples, g++ complained about potentially uninitialized variables in several files. None of these were a problem, but I initialized them anyway to avoid the warnings.
      298c3c26
  4. 15 Sep, 2020 1 commit