Compiling derp engine fails under dmd v2.060 linux
opened this issue · comments
When I run make code compilation fails with this error message:
orange/util/Reflection.d(497): Error: function orange.util.Reflection.newInstance (TypeInfo_Class classInfo) is not
callable using argument types (const(TypeInfo_Class))
orange/util/Reflection.d(497): Error: cannot implicitly convert expression (classInfo) of type const(TypeInfo_Class) to string
make[1]: *** [lib/32/orange/util/Reflection.o] Error 1
make[1]: Leaving directory `/home/erdem/Çalışmalar/derp/externals/orange'
make: *** [dep] Error 2
I tried to delete orange directory. Reclone orange library and it compiles fine.
This should now be fixed.
Only make sure to have glfw3-git installed.
How can I install glfw3-git on Ubuntu ? This time I get this error:
cd externals/Derelict3/build && dmd derelict.d && ./derelict
Error: cannot read file derelict.d
It looks like derelict.d isn't in the build directory. Am I missing something?
Thanks..
This might work to install glfw3 from git.
git clone git://glfw.git.sourceforge.net/gitroot/glfw/glfw /tmp/glfw
cd /tmp/glfw
mkdir build
cd build
cmake ..
make
sudo make install
Also, for derelict, did you update your git submodules?
git submodule update --init
If it still fails, try the cmaked
branch:
git checkout cmaked
make