F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_24900464_13135.cpp:1:3: error: invalid preprocessing directive #==
 # ===================================================================================
   ^
0_0_24900464_13135.cpp:2:4: error: invalid preprocessing directive #The
 #  The OpenCV CMake configuration file
    ^
0_0_24900464_13135.cpp:4:15: error: invalid preprocessing directive #*
 #             ** File generated automatically, do not modify **
               ^
0_0_24900464_13135.cpp:6:4: error: invalid preprocessing directive #Usage
 #  Usage from an external project:
    ^
0_0_24900464_13135.cpp:7:6: error: invalid preprocessing directive #In
 #    In your CMakeLists.txt, add these lines:
      ^
0_0_24900464_13135.cpp:9:6: error: invalid preprocessing directive #find_package
 #    find_package(OpenCV REQUIRED)
      ^
0_0_24900464_13135.cpp:10:6: error: invalid preprocessing directive #include_directories
 #    include_directories(${OpenCV_INCLUDE_DIRS}) # Not needed for CMake >= 2.8.11
      ^
0_0_24900464_13135.cpp:11:6: error: invalid preprocessing directive #target_link_libraries
 #    target_link_libraries(MY_TARGET_NAME ${OpenCV_LIBS})
      ^
0_0_24900464_13135.cpp:13:6: error: invalid preprocessing directive #Or
 #    Or you can search for specific OpenCV modules:
      ^
0_0_24900464_13135.cpp:15:6: error: invalid preprocessing directive #find_package
 #    find_package(OpenCV REQUIRED core videoio)
      ^
0_0_24900464_13135.cpp:17:6: error: invalid preprocessing directive #If
 #    If the module is found then OPENCV_<MODULE>_FOUND is set to TRUE.
      ^
0_0_24900464_13135.cpp:19:6: error: invalid preprocessing directive #This
 #    This file will define the following variables:
      ^
0_0_24900464_13135.cpp:20:8: error: invalid preprocessing directive #-
 #      - OpenCV_LIBS                     : The list of all imported targets for OpenCV modules.
        ^
0_0_24900464_13135.cpp:21:8: error: invalid preprocessing directive #-
 #      - OpenCV_INCLUDE_DIRS             : The OpenCV include directories.
        ^
0_0_24900464_13135.cpp:22:8: error: invalid preprocessing directive #-
 #      - OpenCV_COMPUTE_CAPABILITIES     : The version of compute capability.
        ^
0_0_24900464_13135.cpp:23:8: error: invalid preprocessing directive #-
 #      - OpenCV_ANDROID_NATIVE_API_LEVEL : Minimum required level of Android API.
        ^
0_0_24900464_13135.cpp:24:8: error: invalid preprocessing directive #-
 #      - OpenCV_VERSION                  : The version of this OpenCV build: "3.1.0"
        ^
0_0_24900464_13135.cpp:25:8: error: invalid preprocessing directive #-
 #      - OpenCV_VERSION_MAJOR            : Major version part of OpenCV_VERSION: "3"
        ^
0_0_24900464_13135.cpp:26:8: error: invalid preprocessing directive #-
 #      - OpenCV_VERSION_MINOR            : Minor version part of OpenCV_VERSION: "1"
        ^
0_0_24900464_13135.cpp:27:8: error: invalid preprocessing directive #-
 #      - OpenCV_VERSION_PATCH            : Patch version part of OpenCV_VERSION: "0"
        ^
0_0_24900464_13135.cpp:28:8: error: invalid preprocessing directive #-
 #      - OpenCV_VERSION_STATUS           : Development status of this build: ""
        ^
0_0_24900464_13135.cpp:30:6: error: invalid preprocessing directive #Advanced
 #    Advanced variables:
      ^
0_0_24900464_13135.cpp:31:8: error: invalid preprocessing directive #-
 #      - OpenCV_SHARED                   : Use OpenCV as shared library
        ^
0_0_24900464_13135.cpp:32:8: error: invalid preprocessing directive #-
 #      - OpenCV_CONFIG_PATH              : Path to this OpenCVConfig.cmake
        ^
0_0_24900464_13135.cpp:33:8: error: invalid preprocessing directive #-
 #      - OpenCV_INSTALL_PATH             : OpenCV location (not set on Windows)
        ^
0_0_24900464_13135.cpp:34:8: error: invalid preprocessing directive #-
 #      - OpenCV_LIB_COMPONENTS           : Present OpenCV modules list
        ^
0_0_24900464_13135.cpp:35:8: error: invalid preprocessing directive #-
 #      - OpenCV_USE_MANGLED_PATHS        : Mangled OpenCV path flag
        ^
0_0_24900464_13135.cpp:36:8: error: invalid preprocessing directive #-
 #      - OpenCV_MODULES_SUFFIX           : The suffix for OpenCVModules-XXX.cmake file
        ^
0_0_24900464_13135.cpp:38:6: error: invalid preprocessing directive #Deprecated
 #    Deprecated variables:
      ^
0_0_24900464_13135.cpp:39:8: error: invalid preprocessing directive #-
 #      - OpenCV_VERSION_TWEAK            : Always "0"
        ^
0_0_24900464_13135.cpp:41:3: error: invalid preprocessing directive #==
 # ===================================================================================
   ^
0_0_24900464_13135.cpp:43:3: error: invalid preprocessing directive #Search
 # Search packages for host system instead of packages for target system.
   ^
0_0_24900464_13135.cpp:44:3: error: invalid preprocessing directive #in
 # in case of cross compilation thess macro should be defined by toolchain file
   ^
0_0_24900464_13135.cpp:66:28: error: stray '#' in program
 if("TRUE" STREQUAL "TRUE") # value is defined by package builder (use STREQUAL to comply new CMake policy CMP0012)
                            ^
0_0_24900464_13135.cpp:79:5: error: invalid preprocessing directive #Extract
   # Extract directory name from full path of the file currently being processed.
     ^
0_0_24900464_13135.cpp:80:5: error: invalid preprocessing directive #Note
   # Note that CMake 2.8.3 introduced CMAKE_CURRENT_LIST_DIR. We reimplement it
     ^
0_0_24900464_13135.cpp:81:5: error: invalid preprocessing directive #for
   # for older versions of CMake to support these as well.
     ^
0_0_24900464_13135.cpp:89:3: error: invalid preprocessing directive #TODO
 # TODO All things below should be reviewed. What is about of moving this code into related modules (special vars/hooks/files)
   ^
0_0_24900464_13135.cpp:91:3: error: invalid preprocessing directive #Version
 # Version Compute Capability from which OpenCV has been compiled is remembered
   ^
0_0_24900464_13135.cpp:99:3: error: invalid preprocessing directive #Android
 # Android API level from which OpenCV has been compiled is remembered
   ^
0_0_24900464_13135.cpp:106:3: error: invalid preprocessing directive #Some
 # Some additional settings are required if OpenCV is built as static libs
   ^
0_0_24900464_13135.cpp:109:3: error: invalid preprocessing directive #Enables
 # Enables mangled install paths, that help with side by side installs
   ^
0_0_24900464_13135.cpp:112:3: error: invalid preprocessing directive #Extract
 # Extract the directory where *this* file has been installed (determined at cmake run-time)
   ^
0_0_24900464_13135.cpp:121:5: error: invalid preprocessing directive #Get
   # Get the absolute path with no ../.. relative marks, to eliminate implicit linker warnings
     ^
0_0_24900464_13135.cpp:129:3: error: invalid preprocessing directive #==
 # ======================================================
   ^
0_0_24900464_13135.cpp:130:3: error: invalid preprocessing directive #Include
 # Include directories to add to the user project:
   ^
0_0_24900464_13135.cpp:131:3: error: invalid preprocessing directive #==
 # ======================================================
   ^
0_0_24900464_13135.cpp:133:3: error: invalid preprocessing directive #Provide
 # Provide the include directories to the caller
   ^
0_0_24900464_13135.cpp:136:3: error: invalid preprocessing directive #==
 # ======================================================
   ^
0_0_24900464_13135.cpp:137:3: error: invalid preprocessing directive #Link
 # Link directories to add to the user project:
   ^
0_0_24900464_13135.cpp:138:3: error: invalid preprocessing directive #==
 # ======================================================
   ^
0_0_24900464_13135.cpp:140:3: error: invalid preprocessing directive #Provide
 # Provide the libs directories to the caller
   ^
0_0_24900464_13135.cpp:147:3: error: invalid preprocessing directive #==
 # ======================================================
   ^
0_0_24900464_13135.cpp:148:4: error: invalid preprocessing directive #Version
 #  Version variables:
    ^
0_0_24900464_13135.cpp:149:3: error: invalid preprocessing directive #==
 # ======================================================
   ^
0_0_24900464_13135.cpp:150:20: error: too many decimal points in number
 SET(OpenCV_VERSION 3.1.0)
                    ^
0_0_24900464_13135.cpp:157:3: error: invalid preprocessing directive #==
 # ====================================================================
   ^
0_0_24900464_13135.cpp:158:3: error: invalid preprocessing directive #Link
 # Link libraries: e.g. opencv_core;opencv_imgproc; etc...
   ^
0_0_24900464_13135.cpp:159:3: error: invalid preprocessing directive #==
 # ====================================================================
   ^
0_0_24900464_13135.cpp:165:3: error: invalid preprocessing directive #==
 # ==============================================================
   ^
0_0_24900464_13135.cpp:166:4: error: invalid preprocessing directive #Extra
 #  Extra include directories, needed by OpenCV 2 new structure
    ^
0_0_24900464_13135.cpp:167:3: error: invalid preprocessing directive #==
 # ==============================================================
   ^
0_0_24900464_13135.cpp:182:5: error: invalid preprocessing directive #Target
   # Target property INTERFACE_INCLUDE_DIRECTORIES available since 2.8.11:
     ^
0_0_24900464_13135.cpp:183:5: error: invalid preprocessing directive #*
   # * http://www.cmake.org/cmake/help/v2.8


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 05:24:49, Gzip enabled