MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
312 stars 46 forks source link

Error building on macOS: function_dawin.h missing #364

Open daphee opened 6 years ago

daphee commented 6 years ago

I tried building on macOS. I followed the instructions in the README and got an error about "functioN-dawin.h" missing. I tried looking for the file but couldn't find it as well.


In file included from In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/appplatform.cpp:1:
In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/appplatform.h:17:
/Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/../minecraft/std/function.h:6:10: fatal error: /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/appplatform.cpp:1:
In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/appplatform.h:17:
/Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/../minecraft/std/function.h:6:10: fatal error: 'function_dawin.h' 'function_dawin.h'file  filenot  notfound found

#include "function_dawin.h"
         ^~~~~~~~~~~~~~~~~~
#include "function_dawin.h"
         ^~~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
make[2]: make[2]: *** [CMakeFiles/server.dir/src/client/appplatform.cpp.o] Error 1*** [CMakeFiles/mcpelauncher.dir/src/client/appplatform.cpp.o] Error 1

make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/main.cpp:35:
In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/appplatform.h:17:
/Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/client/../minecraft/std/function.h:6:10: fatal error: 'function_dawin.h' file not found
#include "function_dawin.h"
         ^~~~~~~~~~~~~~~~~~
In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/server/server.cpp:15:
In file included from /Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/server/../client/appplatform.h:17:
/Users/felixscheinost/Downloads/mcpelauncher-linux-master/src/server/../client/../minecraft/std/function.h:6:10: fatal error: 'function_dawin.h' file not found
#include "function_dawin.h"
         ^~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/server.dir/src/server/server.cpp.o] Error 1
make[1]: *** [CMakeFiles/server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [CMakeFiles/mcpelauncher.dir/src/client/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/mcpelauncher.dir/all] Error 2
make: *** [all] Error 2```
MCMrARM commented 6 years ago

Please try the following commit: https://github.com/MCMrARM/mcpelauncher-linux/commit/fe05497b10c90fd79059b2174573284a55edd9a5

ghost commented 6 years ago

See #367

(also, this specific issue has been fixed, so this can be closed-- yet that commit does not fix building the entire application)