Poblem building latest STK's git on Mac OSX

Poblem building latest STK's git on Mac OSX

Postby sNuntz » 06 Nov 2019, 00:32

I try to compile the last git on mac
at end of work occur the following error:

[100%] Linking CXX executable bin/supertuxkart.app/Contents/MacOS/supertuxkart
Undefined symbols for architecture x86_64:
"_EVP_CIPHER_CTX_reset", referenced from:
Crypto::Crypto(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) in client_lobby.cpp.o
Crypto::Crypto(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) in server_lobby.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/supertuxkart.app/Contents/MacOS/supertuxkart] Error 1
make[1]: *** [CMakeFiles/supertuxkart.dir/all] Error 2
make: *** [all] Error 2

same problem on Sierra, High Sierra and Mojave
I think is an Xcode problem
Someone knows how to fix?
Thanks in advance
sNuntz
 
Posts: 13
Joined: 13 Jun 2019, 20:12

Re: Poblem building latest STK's git on Mac OSX

Postby benau » 06 Nov 2019, 03:28

seems that you have mulitple openssl version in your mac....

try keep only 1.1 openssl version in your /usr/local (or try use nettle instead in cmake)

not sure if you have interests to try ios stk lol! (visit irc for details)
Image
benau
STK Moderator
 
Posts: 282
Joined: 08 Dec 2015, 17:32

Re: Poblem building latest STK's git on Mac OSX

Postby sNuntz » 08 Nov 2019, 00:00

brew say: "openssl 1.0.2t is already installed and up-to-date"
i tried to remove it on brew
I can't fix the issue
I don't know how to use nettle

I'm interested to try stk for ios, which irc i have to visit? I couldn't find anything
Sorry
sNuntz
 
Posts: 13
Joined: 13 Jun 2019, 20:12

Re: Poblem building latest STK's git on Mac OSX

Postby benau » 08 Nov 2019, 04:16

Image
benau
STK Moderator
 
Posts: 282
Joined: 08 Dec 2015, 17:32

Re: Poblem building latest STK's git on Mac OSX

Postby sNuntz » 09 Nov 2019, 17:27

Installing openssl1.1.1d solved the problem

I don't know how to uninstall old version , just deleted a library file
Building success
Thanks
sNuntz
 
Posts: 13
Joined: 13 Jun 2019, 20:12

Re: Poblem building latest STK's git on Mac OSX

Postby markwilson » 30 Dec 2019, 08:41

On the macOS building problem of latest STK's, I got some error code but I can't decode the code, I don't know what type of error code of these, I am a developer (beginner level), I want a new version of STK, The problem which I faced it might be the new update of macOS which I recently got form mac, after update my macOS I had faced different problems like some verification problems, I can't log in my iCloud service, showing an error message icloud verification failed issue, https://iphonesupportnumber.com/blog/ho ... on-iphone/ and the 2nd problem I had faced is- some of the pcs games which I installed on my mac and after the update, I can't open the files there are some files are missing.
Last edited by markwilson on 31 Dec 2019, 07:58, edited 2 times in total.
markwilson
 
Posts: 1
Joined: 30 Dec 2019, 08:23

Re: Poblem building latest STK's git on Mac OSX

Postby benau » 30 Dec 2019, 16:01

Image
benau
STK Moderator
 
Posts: 282
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: No registered users and 1 guest