Closed j-jorge closed 10 months ago
I think you mean dev on linux:
include <freetype/xxx.h>
, it will include system installed freetype(depended by fontconfig), if installed freetype version not match with axmol required, will trigger compile error, that why I force install it to /usr/ in script setup.ps1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The build scripts install tools and libraries on my system as if it was alone on it. All dependencies not explicitly installed by the user should be put in the build directory instead.
Steps to Reproduce: Follow https://github.com/axmolengine/axmol/blob/dev/docs/DevSetup.md
sudo apt install --allow-unauthenticated --yes $DEPENDS > /dev/null
. Again, there is the sudo problem. There is also a security problem with--allow-unauthenticated
, and the output is hidden from the user!find_library
/find_program
functions and ask the user to install de missing dependencies themselves. Don't mess with the user's environment.cmake … '-DCMAKE_INSTALL_PREFIX=/usr' …'
, thensudo cmake --build build --config Release --target install
. Now the FreeType library and headers I had installed from my distribution's repository are broken, as well as my other development requiring them >:(