-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing target Threads::Threads #9202
Comments
You should probably try to enforce pthreads. Can you have a look at the solution provided here: alicevision/geogram#2 ? |
Hi Michael, we tried that but it didn't work. After trying a little bit, we found the following procedure working. Maybe it is of interest for people running simulations on computational machines where they have no admin rights and no need for the GUI. XercesCDownloadingcd $HOME/src
wget https://dlcdn.apache.org/xerces/c/3/sources/xerces-c-3.2.3.tar.gz
tar -xf xerces-c-3.2.3.tar.gz Building and installing it locallycd $HOME/src/xerces-c-3.2.3
mkdir build
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$HOME/ ..
cmake --build .
make install SUMODownloadingcd $HOME/src
git clone --recursive https://github.com/eclipse/sumo
cd sumo
git fetch origin refs/replace/*:refs/replace/* Building using locally installed XercesC librarycd $HOME/src/sumo
export SUMO_HOME=$(pwd)
mkdir build/cmake-build
cd build/cmake-build
cmake -DCMAKE_PREFIX_PATH=$HOME -D CHECK_OPTIONAL_LIBS=OFF -D PROJ_LIBRARY= -D FOX_CONFIG= ../..
make -j$(nproc) |
Great that you could make it work. Another option might be to use the python package eclipse-sumo, see https://sumo.dlr.de/docs/Downloads.php#python_packages_virtual_environments. |
Hi all,
I was trying to compile sumo on an HPC where I don't have administrative rights, which means I cannot simply install system-wide libraries, but I need to install them locally. I thus only installed XercesC as all the others are not required (GUI for example is useless, we are running simulations on a remote server). While configuring the project, however, I am getting the following errors in the output:
I thought that given that the issue refers to "Threads" it had something to do with FOX, but even installing it and re-running cmake didn't fix the issue. Makefile is anyway generated, but when compiling it fails at linking:
I get the same problem both with SUMO 1.9.0 and 1.10.0.
The text was updated successfully, but these errors were encountered: