Changeset 301 in pacpusframework for trunk/examples/ProducerConsumerExample


Ignore:
Timestamp:
Apr 8, 2014, 10:03:01 AM (11 years ago)
Author:
Marek Kurdej
Message:

Some Unix fixes

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11build
         2CMakeLists.txt.user*
  • trunk/examples/ProducerConsumerExample/CMakeLists.txt

    r189 r301  
    99
    1010################################################################################
    11 # INCLUDES
     11# DIRECTORIES
    1212include_directories(
    1313    ${PACPUSCITYVIP_INCLUDE_DIR}
     
    1616)
    1717
    18 ################################################################################
    19 # Link directories
    2018set(SRC_BINARY_DIR "${PROJECT_BINARY_DIR}/../../src")
    2119get_filename_component(SRC_BINARY_DIR "${SRC_BINARY_DIR}" ABSOLUTE)
     
    2422    ${SRC_BINARY_DIR}/PacpusLib
    2523    ${SRC_BINARY_DIR}/PacpusTools
    26         ${SRC_BINARY_DIR}/RoadTime
     24    ${SRC_BINARY_DIR}/RoadTime
    2725)
    2826
     
    7876    )
    7977endif()
    80 #message(STATUS "\${PACPUS_LIBRARIES} = ${PACPUS_LIBRARIES}")
    81 #message(STATUS "\${PACPUS_DEPENDENCIES_LIB} = ${PACPUS_DEPENDENCIES_LIB}")
     78
    8279# LIBS
    8380set(LIBS
    8481    ${PACPUS_LIBRARIES}
    85         ${PACPUS_DEPENDENCIES_LIB}
    86     #${OpenCV_LIBRARIES}
     82    ${PACPUS_DEPENDENCIES_LIB}
    8783    ${QT_LIBRARIES}
    8884)
  • trunk/examples/ProducerConsumerExample/ProducerExample.cpp

    r293 r301  
    6060    using boost::ref;
    6161
    62     std::fstream mFile(mOutputFileName, std::ios_base::out | std::ios_base::app);
     62    std::fstream mFile(mOutputFileName.c_str(), std::ios_base::out | std::ios_base::app);
    6363    if (!mFile.is_open()) {
    6464        LOG_ERROR("file '" << mOutputFileName << "' cannot be opened");
Note: See TracChangeset for help on using the changeset viewer.