[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?
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?
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
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
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
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
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
```
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
Archived author: ritzmenardi • Posted: 2023-10-10T22:20:12.789000+00:00
Original source
Gotcha. The brackets [ ] are causing the issue, I think.
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
Archived author: chokedoke • Posted: 2023-10-10T22:20:47.422000+00:00
Original source
its doing the inital builds now