Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to FreeImage instructions #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ __NOTE: When cloning, do `git clone --branch neos-release your://url.here` to ge
I've hyperlinked the git repos in the table below, so you should just be able to right click -> copy them into the `your://url.here` portion of the command in the note above. I have specifically forked Crunch in order to fix it for ARM
| Library | Instructions |
| --- | --- |
| [FreeImage](https://github.com/Yellow-Dog-Man/FreeImage) | Edit `Makefile.gnu` and add `-DPNG_ARM_NEON_OPT=0` to the line that starts with `CFLAGS ?=` as an option. Then run `make -jN` in the main directory, the library will end up in the 'Dist' folder of the main directory which you can navigate to by typing `cd Dist`. |
| [FreeImage](https://github.com/Yellow-Dog-Man/FreeImage) | Edit `Makefile.gnu` and add `-DPNG_ARM_NEON_OPT=0` to the line that starts with `CFLAGS ?=` as an option. Then run `make -jN` in the main directory, the library will end up in the 'Dist' folder of the main directory which you can navigate to by typing `cd Dist`. Make sure to capitalize it to `libFreeImage.so`! |
| [Crunch](https://github.com/RileyGuy/crunch) | Run `cmake -B build`, then cd into the 'build' directory and run `make -jN`. The library will end up directly in the build directory. |
| [Freetype](https://github.com/Neos-Metaverse/freetype) | Run `cmake -B build -D BUILD_SHARED_LIBS=true -D CMAKE_BUILD_TYPE=Release`, then cd into the 'build' directory and run `make -jN`. The library will end up directly in the build directory. |
| [Opus](https://github.com/Neos-Metaverse/opus) | If the `autogen.sh` file isn't executable already, mark is as such with `chmod +x autogen.sh` then run `./autogen.sh` and `./configure`. After that run `make -jN`. The library will be in a hidden directory called '.libs' so you can just type `cd .libs` to find it. |
Expand Down