Undefine OpenCV in c source files to avoid compilation failure using new OpenCV.

This commit is contained in:
szykk1993 2018-11-26 16:14:25 -05:00
parent 44aee6fa9b
commit 96481c395d
42 changed files with 84 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "activation_layer.h"
#include "utils.h"
#include "cuda.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "activations.h"
#include <math.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "avgpool_layer.h"
#include "cuda.h"
#include <stdio.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "convolutional_layer.h"
#include "batchnorm_layer.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "blas.h"
#include <math.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "box.h"
#include <stdio.h>
#include <math.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "connected_layer.h"
#include "convolutional_layer.h"
#include "batchnorm_layer.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "convolutional_layer.h"
#include "utils.h"
#include "batchnorm_layer.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "cost_layer.h"
#include "utils.h"
#include "cuda.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "crnn_layer.h"
#include "convolutional_layer.h"
#include "utils.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "crop_layer.h"
#include "cuda.h"
#include <stdio.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "data.h"
#include "utils.h"
#include "image.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "deconvolutional_layer.h"
#include "convolutional_layer.h"
#include "batchnorm_layer.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "network.h"
#include "detection_layer.h"
#include "region_layer.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "detection_layer.h"
#include "activations.h"
#include "softmax_layer.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "dropout_layer.h"
#include "utils.h"
#include "cuda.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "gemm.h"
#include "utils.h"
#include "cuda.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "gru_layer.h"
#include "connected_layer.h"
#include "utils.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "image.h"
#include "utils.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "iseg_layer.h"
#include "activations.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "l2norm_layer.h"
#include "activations.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "layer.h"
#include "cuda.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include <stdlib.h>
#include <string.h>
#include "list.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "local_layer.h"
#include "utils.h"
#include "im2col.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "logistic_layer.h"
#include "activations.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "lstm_layer.h"
#include "connected_layer.h"
#include "utils.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "matrix.h"
#include "utils.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "maxpool_layer.h"
#include "cuda.h"
#include <stdio.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include <stdio.h>
#include <time.h>
#include <assert.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "normalization_layer.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "region_layer.h"
#include "activations.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "reorg_layer.h"
#include "cuda.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "rnn_layer.h"
#include "connected_layer.h"
#include "utils.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "route_layer.h"
#include "cuda.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "shortcut_layer.h"
#include "cuda.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "softmax_layer.h"
#include "blas.h"
#include "cuda.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include <stdio.h>
#include <stdlib.h>
#include "tree.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "upsample_layer.h"
#include "cuda.h"
#include "blas.h"

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,3 +1,5 @@
#undef OPENCV
#include "yolo_layer.h"
#include "activations.h"
#include "blas.h"