-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't compile with mingw64 #1150
Comments
I'm curious: did you provide opencv or any other dependency? Using any
package manager or installer, or building from sources? It's been ages
since I last tried mingw64 :-)
I'll look at the build error, I can imagine the reason of this one.
If in the meanwhile you or someone else finds a patch to fix it, feel free
of opening a pull request !
El vie., 12 mar. 2021 12:43, Dharmesh946 ***@***.***>
escribió:
… Hi
I tried to compile MRPT on windows with mingw64:
I have created a build directory next to the CMakeLists.txt file
cd build
cmake-gui ..
configure
generate
make
I have directly the following error:
Building CXX object
libs/core/CMakeFiles/core.dir/src/WorkerThreadsPool.cpp.obj
In function 'void mySetThreadName(const string&, std::thread&)':
error: 'SetThreadDescription' was not declared in this scope
SetThreadDescription(theThread.native_handle(), wName);
I can't find any reference to that issue anywhere.
Help would be appreciated. Regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1150>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ6HWV62EI7DT3NUBOREITTDH45TANCNFSM4ZCEEW3Q>
.
|
Hi, I compile OpenCV and wxWidgets from sources (with mingw64) and provided them to MRPT. Regards |
Hi! I fixed all mingw errors I could find. Could you give it a try now, please? (develop git branch) |
Hi, Sorry for the delay. |
Hmm... have you updated your git repository first? Did you check out the |
Sorry, but yes I did... D. |
FYI, cmake configuration: |
Perhaps an idea: I just happen to realize that my default mingw 64 installation (from https://sourceforge.net/projects/mingw-w64/) does not properly support std::thread. Regards |
Hi
I tried to compile MRPT on windows with mingw64:
I have created a build directory next to the CMakeLists.txt file
cd build cmake-gui .. configure generate make
I have directly the following error:
Building CXX object libs/core/CMakeFiles/core.dir/src/WorkerThreadsPool.cpp.obj
In function 'void mySetThreadName(const string&, std::thread&)':
error: 'SetThreadDescription' was not declared in this scope
SetThreadDescription(theThread.native_handle(), wName);
I can't find any reference to that issue anywhere.
Help would be appreciated. Regards
The text was updated successfully, but these errors were encountered: