File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,20 @@ maxThreads=$(grep -c ^processor /proc/cpuinfo)
27
27
echo Enter the number of CPU threads you want to use. FYI: You have $maxThreads CPU Threads.
28
28
read nThreads
29
29
30
+ # Try 1:
30
31
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D CUDA_GENERATION=Kepler ..
31
32
# or try for cuda support:
32
33
make -j$nThreads
33
- # if there is an error: cmake again with the following lines and then do make again:
34
+ # ---------------------------------------------------------- #
35
+
36
+ # Try 2:
37
+ # if there is an error: delete the build folder, create a new one and try to cmake again with the following lines and then do make again:
34
38
# cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_TIFF=ON -D BUILD_EXAMPLES=ON -D CUDA_GENERATION=Auto -D BUILD_NEW_PYTHON_SUPPORT=ON ..
35
39
# and then do make -j$nThreads
40
+ # ---------------------------------------------------------- #
41
+
42
+ # Try 3:
43
+ # Alternatively, if that doesn't work
36
44
# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=OFF -D WITH_OPENGL=ON ..
45
+ # and then do make -j$nThreads
37
46
# ---------------------------------------------------------- #
You can’t perform that action at this time.
0 commit comments