Hello, has anyone tried to build the source code on a Pi3, raspbian Jessie?
I only did cmake . and then make but it fails.
Do you have any advice or step I didnt take?
Also, if I succeed can I use saves from my windows PC?
Thanks

It has been compiled for the Pi before although it has been awhile. Yes saves are binary compatible although you'll likely have to start with the "--foreignsaves" option to override the game data checks due to bug that isn't quite trivial to solve.

First a side note: When using CMake you should create a build directory and run cmake in there like so:

CMake Warning (dev) at gdtoa/CMakeLists.txt:22 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The LOCATION property should not be read from target "arithchk". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at gdtoa/CMakeLists.txt:31 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The LOCATION property should not be read from target "qnan". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:5 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The LOCATION property should not be read from target "updaterevision". Use
the target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib/arm-linux-gnueabihf/libSDLmain.a;/usr/lib/arm-linux-gnueabihf/libSDL.so;-lpthread (found version "1.2.15")
-- Found SDL_mixer: /usr/lib/arm-linux-gnueabihf/libSDL_mixer.so (found version "1.2.12")
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for atoll
-- Looking for atoll - found
-- Performing Test HAS_VA_COPY
-- Performing Test HAS_VA_COPY - Success
-- Checking for module 'gtk+-2.0'
-- Found gtk+-2.0, version 2.24.25
-- Configuring done
CMake Warning (dev) at gdtoa/CMakeLists.txt:48 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "/gd_qnan.h" of target "gdtoa" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at gdtoa/CMakeLists.txt:48 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "/home/pi/ecwolf-1.3.3-src/build/gdtoa/arith.h" of
target "gdtoa" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

This looks quite odd to me. I can't imagine your system headers are actually flawed unless you modified them before for some reason. But it looks like whatever is causing this is your only compilation issue.

Uhm... There is a /* , but isn't // used to comment code? BTW I modified /* to //, ran make again, but it failed, mentioning locale.h many times. I did cmake .. again, failed another time, the include.h files looks weird tho.

For the customized SDL_mixer, make sure you have the development libraries for libogg, libflac, libvorbis, libvorbisfile, libopus, libopusfile, libfluidsynth, and libmikmod. Clone my repository. Use CMake and to make your life a little be easier you can configure it to build a shared library: