Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@!109652764488892416> <@!425285449725116426> Do either of you know how to fix this error for Clion

[DiscordArchive] <@!109652764488892416> <@!425285449725116426> Do either of you know how to fix this error for Clion

[DiscordArchive] <@!109652764488892416> <@!425285449725116426> Do either of you know how to fix this error for Clion

rektbyfaith
Administrator
0
03-27-2021, 12:53 AM
#1
Archived author: Deleted User • Posted: 2021-03-27T00:53:21.987000+00:00
Original source

<@!109652764488892416> <@!425285449725116426> Do either of you know how to fix this error for Clion on Mac OS X Big sur?
rektbyfaith
03-27-2021, 12:53 AM #1

Archived author: Deleted User • Posted: 2021-03-27T00:53:21.987000+00:00
Original source

<@!109652764488892416> <@!425285449725116426> Do either of you know how to fix this error for Clion on Mac OS X Big sur?

rektbyfaith
Administrator
0
03-27-2021, 12:53 AM
#2
Archived author: Deleted User • Posted: 2021-03-27T00:53:38.815000+00:00
Original source

`Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)`
rektbyfaith
03-27-2021, 12:53 AM #2

Archived author: Deleted User • Posted: 2021-03-27T00:53:38.815000+00:00
Original source

`Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)`

rektbyfaith
Administrator
0
03-27-2021, 12:53 AM
#3
Archived author: Deleted User • Posted: 2021-03-27T00:53:54.942000+00:00
Original source

I've set the openssl directory in the cmake options...
rektbyfaith
03-27-2021, 12:53 AM #3

Archived author: Deleted User • Posted: 2021-03-27T00:53:54.942000+00:00
Original source

I've set the openssl directory in the cmake options...

rektbyfaith
Administrator
0
03-27-2021, 12:54 AM
#4
Archived author: Deleted User • Posted: 2021-03-27T00:54:09.116000+00:00
Original source

cmake options: `-DTOOLS=0 -DSCRIPTS=1 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1`
rektbyfaith
03-27-2021, 12:54 AM #4

Archived author: Deleted User • Posted: 2021-03-27T00:54:09.116000+00:00
Original source

cmake options: `-DTOOLS=0 -DSCRIPTS=1 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1`

rektbyfaith
Administrator
0
03-27-2021, 01:13 AM
#5
Archived author: Deleted User • Posted: 2021-03-27T01:13:50.179000+00:00
Original source

https://www.youtube.com/watch?v=3XjkaN8psp0
[Embed: Managing Environmental (ENV) variables on Mac OSX]
This video covers how you can create temporary ENVIRONMENTAL variables in the terminal as well as how you can use the .bash_profile file to create permanent ENV variables.

Also covered is how to open the .bash_profile file in the editor of your choice.
Also how to use ENV variables inside the values of other ENV variables.
https://www.youtube.com/watch?v=3XjkaN8psp0
rektbyfaith
03-27-2021, 01:13 AM #5

Archived author: Deleted User • Posted: 2021-03-27T01:13:50.179000+00:00
Original source

https://www.youtube.com/watch?v=3XjkaN8psp0
[Embed: Managing Environmental (ENV) variables on Mac OSX]
This video covers how you can create temporary ENVIRONMENTAL variables in the terminal as well as how you can use the .bash_profile file to create permanent ENV variables.

Also covered is how to open the .bash_profile file in the editor of your choice.
Also how to use ENV variables inside the values of other ENV variables.
https://www.youtube.com/watch?v=3XjkaN8psp0

rektbyfaith
Administrator
0
03-27-2021, 01:14 AM
#6
Archived author: Deleted User • Posted: 2021-03-27T01:14:10.696000+00:00
Original source

Create an environment variable that points to these libraries
rektbyfaith
03-27-2021, 01:14 AM #6

Archived author: Deleted User • Posted: 2021-03-27T01:14:10.696000+00:00
Original source

Create an environment variable that points to these libraries

rektbyfaith
Administrator
0
03-27-2021, 01:19 AM
#7
Archived author: Deleted User • Posted: 2021-03-27T01:19:30.055000+00:00
Original source

<@456226577798135808> Yup, I tried that as well. I setup both env variables and directly set the cmake options to no avail
rektbyfaith
03-27-2021, 01:19 AM #7

Archived author: Deleted User • Posted: 2021-03-27T01:19:30.055000+00:00
Original source

<@456226577798135808> Yup, I tried that as well. I setup both env variables and directly set the cmake options to no avail

rektbyfaith
Administrator
0
03-27-2021, 02:17 AM
#8
Archived author: Deleted User • Posted: 2021-03-27T02:17:50.638000+00:00
Original source

For future explorers, I got it finally working by adding this to the `FindOpenSSL.cmake` file:

```
set(OPENSSL_LIBRARIES
${OPENSSL_ROOT_DIR}/lib/libcrypto.1.1.dylib
${OPENSSL_ROOT_DIR}/lib/libssl.1.1.dylib
)
```

Feels like a hack, but nothing else worked. I also had to add this to the cmake options:

`-DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1j`
rektbyfaith
03-27-2021, 02:17 AM #8

Archived author: Deleted User • Posted: 2021-03-27T02:17:50.638000+00:00
Original source

For future explorers, I got it finally working by adding this to the `FindOpenSSL.cmake` file:

```
set(OPENSSL_LIBRARIES
${OPENSSL_ROOT_DIR}/lib/libcrypto.1.1.dylib
${OPENSSL_ROOT_DIR}/lib/libssl.1.1.dylib
)
```

Feels like a hack, but nothing else worked. I also had to add this to the cmake options:

`-DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.1j`

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)