Mailing List picongpu-users@hzdr.de Message #55
From: Dr. Ajit Upadhyay <ajitup@rrcat.gov.in>
Subject: [PIConGPU-Users] PIConGPU compilation -lpthread error
Date: Thu, 28 Apr 2016 16:38:44 +0530
To: <picongpu-users@hzdr.de>
Dear Rene,

I wrongly reported in my previous email. The -lpthread error persists.
Even with the following editing in ~/src/picongpu/CMakeLists.txt, it is
still there:

cmake_minimum_required(VERSION 2.8.5)
project(PIConGPU2_full_build)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
    find_package(Threads REQUIRED)
    set(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
    set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}" CACHE PATH "install
prefix" FORCE)
    target_link_libraries(PROJECTNAME ${LIBS})
endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)

add_subdirectory("${CMAKE_SOURCE_DIR}/src/picongpu"
"${CMAKE_BINARY_DIR}/build_picongpu")

regards,
Ajit


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster