Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hello, I'm running into an issue with cmake :

[DiscordArchive] Hello, I'm running into an issue with cmake :

[DiscordArchive] Hello, I'm running into an issue with cmake :

rektbyfaith
Administrator
0
06-25-2019, 11:47 PM
#1
Archived author: Wizard • Posted: 2019-06-25T23:47:10.020000+00:00
Original source

Hello, I'm running into an issue with cmake :
```
[ 40%] Linking CXX executable authserver
CMakeFiles/authserver.dir/Main.cpp.o: In function `boost::filesystem::current_pa th()':
/usr/include/boost/filesystem/operations.hpp:596: undefined reference to `boost: :filesystem::detail::current_path(boost:Confusedystem::error_code*)'
CMakeFiles/authserver.dir/Main.cpp.o: In function `main':
```

I believe the issue is because I have a newer/different PPA copy of boost installed as follows:
```
sudo add-apt-repository ppa:mhier/libboost-latest
sudo apt update
sudo apt install libboost1.68
```
I needed this for a different project on the server. Am I sh** out of luck in this case? Any possible workarounds?
rektbyfaith
06-25-2019, 11:47 PM #1

Archived author: Wizard • Posted: 2019-06-25T23:47:10.020000+00:00
Original source

Hello, I'm running into an issue with cmake :
```
[ 40%] Linking CXX executable authserver
CMakeFiles/authserver.dir/Main.cpp.o: In function `boost::filesystem::current_pa th()':
/usr/include/boost/filesystem/operations.hpp:596: undefined reference to `boost: :filesystem::detail::current_path(boost:Confusedystem::error_code*)'
CMakeFiles/authserver.dir/Main.cpp.o: In function `main':
```

I believe the issue is because I have a newer/different PPA copy of boost installed as follows:
```
sudo add-apt-repository ppa:mhier/libboost-latest
sudo apt update
sudo apt install libboost1.68
```
I needed this for a different project on the server. Am I sh** out of luck in this case? Any possible workarounds?

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