Revert "Revert "project compiles and links, but it crashes immediately""

This reverts commit 634003d20a5949bdf4c5ae9216264e66adf47035.