Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What's the Cmake command you used? Can you copy/paste it here?

[DiscordArchive] What's the Cmake command you used? Can you copy/paste it here?

[DiscordArchive] What's the Cmake command you used? Can you copy/paste it here?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-10-2023, 10:14 PM
#1
Archived author: ritzmenardi • Posted: 2023-10-10T22:14:53.420000+00:00
Original source

What's the Cmake command you used? Can you copy/paste it here?
rektbyfaith
10-10-2023, 10:14 PM #1

Archived author: ritzmenardi • Posted: 2023-10-10T22:14:53.420000+00:00
Original source

What's the Cmake command you used? Can you copy/paste it here?

rektbyfaith
Administrator
0
10-10-2023, 10:15 PM
#2
Archived author: chokedoke • Posted: 2023-10-10T22:15:28.749000+00:00
Original source

i did it last night and ive not got it saved as i typed it into the terminal
rektbyfaith
10-10-2023, 10:15 PM #2

Archived author: chokedoke • Posted: 2023-10-10T22:15:28.749000+00:00
Original source

i did it last night and ive not got it saved as i typed it into the terminal

rektbyfaith
Administrator
0
10-10-2023, 10:15 PM
#3
Archived author: chokedoke • Posted: 2023-10-10T22:15:29.867000+00:00
Original source

cmake ../ -DCMAKE_INSTALL_PREFIX=[/path/to/azeroth-server/] -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
rektbyfaith
10-10-2023, 10:15 PM #3

Archived author: chokedoke • Posted: 2023-10-10T22:15:29.867000+00:00
Original source

cmake ../ -DCMAKE_INSTALL_PREFIX=[/path/to/azeroth-server/] -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static

rektbyfaith
Administrator
0
10-10-2023, 10:15 PM
#4
Archived author: chokedoke • Posted: 2023-10-10T22:15:51.272000+00:00
Original source

i used that, im starting to think that i fluffed the path and typed it wrong
rektbyfaith
10-10-2023, 10:15 PM #4

Archived author: chokedoke • Posted: 2023-10-10T22:15:51.272000+00:00
Original source

i used that, im starting to think that i fluffed the path and typed it wrong

rektbyfaith
Administrator
0
10-10-2023, 10:16 PM
#5
Archived author: ritzmenardi • Posted: 2023-10-10T22:16:55.686000+00:00
Original source

Here's the correct command:

```
cmake ../ -DCMAKE_INSTALL_PREFIX="/mnt/data/azerothcore-server/" -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
```

try that, if it doesn't work try it without the quotes
rektbyfaith
10-10-2023, 10:16 PM #5

Archived author: ritzmenardi • Posted: 2023-10-10T22:16:55.686000+00:00
Original source

Here's the correct command:

```
cmake ../ -DCMAKE_INSTALL_PREFIX="/mnt/data/azerothcore-server/" -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
```

try that, if it doesn't work try it without the quotes

rektbyfaith
Administrator
0
10-10-2023, 10:18 PM
#6
Archived author: ritzmenardi • Posted: 2023-10-10T22:18:27.156000+00:00
Original source

Also it looks like up top you have the folder as "azerothcore" but in the cmake command you use "azerothcore-server" - you should use whichever one corresponds to your directory structure

EDIT: also try this if that doesn't work:

```
cmake ../ -DCMAKE_INSTALL_PREFIX="/mnt/data/azerothcore/" -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
```
rektbyfaith
10-10-2023, 10:18 PM #6

Archived author: ritzmenardi • Posted: 2023-10-10T22:18:27.156000+00:00
Original source

Also it looks like up top you have the folder as "azerothcore" but in the cmake command you use "azerothcore-server" - you should use whichever one corresponds to your directory structure

EDIT: also try this if that doesn't work:

```
cmake ../ -DCMAKE_INSTALL_PREFIX="/mnt/data/azerothcore/" -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
```

rektbyfaith
Administrator
0
10-10-2023, 10:19 PM
#7
Archived author: chokedoke • Posted: 2023-10-10T22:19:52.285000+00:00
Original source

azerothcore-server is where i want it, the above was the example and i swapped out the path. Thats where i think i made the mistake
rektbyfaith
10-10-2023, 10:19 PM #7

Archived author: chokedoke • Posted: 2023-10-10T22:19:52.285000+00:00
Original source

azerothcore-server is where i want it, the above was the example and i swapped out the path. Thats where i think i made the mistake

rektbyfaith
Administrator
0
10-10-2023, 10:20 PM
#8
Archived author: ritzmenardi • Posted: 2023-10-10T22:20:12.789000+00:00
Original source

Gotcha. The brackets [ ] are causing the issue, I think.
rektbyfaith
10-10-2023, 10:20 PM #8

Archived author: ritzmenardi • Posted: 2023-10-10T22:20:12.789000+00:00
Original source

Gotcha. The brackets [ ] are causing the issue, I think.

rektbyfaith
Administrator
0
10-10-2023, 10:20 PM
#9
Archived author: chokedoke • Posted: 2023-10-10T22:20:21.946000+00:00
Original source

im running again now but the initial make can take some time run on my current setup
rektbyfaith
10-10-2023, 10:20 PM #9

Archived author: chokedoke • Posted: 2023-10-10T22:20:21.946000+00:00
Original source

im running again now but the initial make can take some time run on my current setup

rektbyfaith
Administrator
0
10-10-2023, 10:20 PM
#10
Archived author: chokedoke • Posted: 2023-10-10T22:20:47.422000+00:00
Original source

its doing the inital builds now
rektbyfaith
10-10-2023, 10:20 PM #10

Archived author: chokedoke • Posted: 2023-10-10T22:20:47.422000+00:00
Original source

its doing the inital builds now

Pages (2): 1 2 Next
Recently Browsing
 
Recently Browsing