OK, here are my first results:
1. Both static and dynamic version depend on a file
"{$i compiler.inc}"
this is not in the repository (or i did not find it)
2. Your export is only usable under Windows
const
newtondll = 'Newton.dll';
should be something like:
const
{$ifdef Windows}
newtondll = 'Newton.dll';
{Else}
newtondll = 'libnewton.so';
{$endif}
i now test clone and compile ...
[Edit]
Ok the last time i successfully compiled newton it has been hosted via SVN so this a long time ago.
i cloned it to a folder and run "cmake ." to create the make files and this is what i got:
corpsman@corpsman /sda5/sda5/Temp/newton-dynamics-master $ cmake .
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of void*
-- Check size of void* - done
NEWTON_BUILD_SANDBOX_DEMOS is ON
NEWTON_BUILD_CORE_ONLY is OFF
dgCore
CMake Error at sdk/dgCore/CMakeLists.txt:20 (source_group):
source_group Unknown argument
"/sda5/sda5/Temp/newton-dynamics-master/sdk/dgCore/". Perhaps the FILES
keyword is missing.
newton
dgPhysics
dMath
dScene
dModel
dNewton
dVehicle
CMake Error at sdk/dVehicle/CMakeLists.txt:32 (source_group):
source_group Unknown argument
"/sda5/sda5/Temp/newton-dynamics-master/sdk/dVehicle/". Perhaps the FILES
keyword is missing.
dAnimation
dContainers
CMake Error at sdk/dContainers/CMakeLists.txt:20 (source_group):
source_group Unknown argument
"/sda5/sda5/Temp/newton-dynamics-master/sdk/dContainers/". Perhaps the
FILES keyword is missing.
dCustomJoints
CMake Error at sdk/dCustomJoints/CMakeLists.txt:20 (source_group):
source_group Unknown argument
"/sda5/sda5/Temp/newton-dynamics-master/sdk/dCustomJoints/". Perhaps the
FILES keyword is missing.
tinyxml
imgui
glatter
dgNewtonAvx
dgNewtonReferenceGPU
BUILDING DEMOS.
demosSandbox
CMake Error at applications/demosSandbox/CMakeLists.txt:27 (source_group):
source_group Unknown argument
"/sda5/sda5/Temp/newton-dynamics-master/applications/demosSandbox/".
Perhaps the FILES keyword is missing.
CMake Error at CMakeLists.txt:194 (find_package):
By not providing "Findglfw3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "glfw3", but
CMake did not find one.
Could not find a package configuration file provided by "glfw3" with any of
the following names:
glfw3Config.cmake
glfw3-config.cmake
Add the installation prefix of "glfw3" to CMAKE_PREFIX_PATH or set
"glfw3_DIR" to a directory containing one of the above files. If "glfw3"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/sda5/sda5/Temp/newton-dynamics-master/CMakeFiles/CMakeOutput.log".
corpsman@corpsman /sda5/sda5/Temp/newton-dynamics-master $
Well i give it a try and try to fix it, but as i am not really got in C nore in make this would be hard...