Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
87cfcc8e
Commit
87cfcc8e
authored
Jul 14, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Android build
parent
562914e3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
android.toolchain.cmake
android/android.toolchain.cmake
+2
-2
datamatrix.cpp
modules/objdetect/src/datamatrix.cpp
+1
-1
No files found.
android/android.toolchain.cmake
View file @
87cfcc8e
...
...
@@ -318,8 +318,8 @@ else()
endif
()
if
(
BUILD_WITH_ANDROID_NDK
)
set
(
CMAKE_CXX_FLAGS
"--sysroot=
'
${
ANDROID_NDK_SYSROOT
}
'
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_C_FLAGS
"--sysroot=
'
${
ANDROID_NDK_SYSROOT
}
'
${
CMAKE_C_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"--sysroot=
\"
${
ANDROID_NDK_SYSROOT
}
\"
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_C_FLAGS
"--sysroot=
\"
${
ANDROID_NDK_SYSROOT
}
\"
${
CMAKE_C_FLAGS
}
"
)
if
(
ANDROID_NDK_SYSROOT MATCHES
"[ ]"
)
# workaround for ugly cmake bug - compiler identification replaces all spaces in compiler flags with ; symbol
# as result identification fails if ANDROID_NDK_SYSROOT contain spaces
...
...
modules/objdetect/src/datamatrix.cpp
View file @
87cfcc8e
...
...
@@ -502,7 +502,7 @@ namespace
DataMatrixCode
operator
()(
CvDataMatrixCode
&
cvdm
)
{
DataMatrixCode
dm
;
std
::
memcpy
(
dm
.
msg
,
cvdm
.
msg
,
sizeof
(
cvdm
.
msg
));
memcpy
(
dm
.
msg
,
cvdm
.
msg
,
sizeof
(
cvdm
.
msg
));
dm
.
original
=
cv
::
Mat
(
cvdm
.
original
,
true
);
cvReleaseMat
(
&
cvdm
.
original
);
cv
::
Mat
c
(
cvdm
.
corners
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment