cryptonotefoundation / cryptonote

CryptoNote protocol implementation. This is the reference repository for starting a new CryptoNote currency. See /src/cryptonote_config.h
https://cryptonote.org/
991 stars 6.1k forks source link

macOS Compile Errors #305

Closed aaronllowe closed 1 year ago

aaronllowe commented 5 years ago

I get this now:

mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- Boost version: 1.68.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   chrono
--   regex
--   serialization
--   program_options
--   atomic
CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/crypthusiast0/downloads/hydro-master/build/release
cd build/release && /Applications/Xcode.app/Contents/Developer/usr/bin/make
[  0%] Built target version
[  5%] Built target upnpc-static
[  6%] Built target gtest
[  6%] Built target gtest_main
[ 13%] Built target Common
[ 14%] Built target BlockchainExplorer
[ 17%] Built target Serialization
Scanning dependencies of target System
[ 18%] Building C object src/CMakeFiles/System.dir/Platform/OSX/System/Context.c.o
In file included from /Users/crypthusiast0/downloads/hydro-master/src/Platform/OSX/System/Context.c:6:
/Users/crypthusiast0/downloads/hydro-master/src/Platform/OSX/System/Context.h:19:40: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
extern  void            makecontext(uctx*, void(*)(), intptr_t);
                                                  ^
                                                   void
1 error generated.
make[3]: *** [src/CMakeFiles/System.dir/Platform/OSX/System/Context.c.o] Error 1
make[2]: *** [src/CMakeFiles/System.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build-release] Error 2
medbs commented 5 years ago

Try it with this video,maybe it will help : https://www.youtube.com/watch?v=Jtgbn3h3P9M

asheshk commented 5 years ago

Exactly same error for me, the above video link doesn't help with this

asheshk commented 5 years ago

@crypthusiast0 Were you able to sort this one out?

SoraKohaku commented 5 years ago

Used new update from compatible fork On Fri, Apr 19, 2019, 03:47 asheshk notifications@github.com wrote:

@crypthusiast0 https://github.com/crypthusiast0 Were you able to sort this one out?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cryptonotefoundation/cryptonote/issues/305#issuecomment-484684411, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXHLNOL3XVY5KDXPZWMXBDPRDM6LANCNFSM4GWNX4AA .

JoshuaPaulBarnard commented 11 months ago

Used new update from compatible fork

@SoraKohaku What is the compatible fork?