<div dir="ltr"><div>HI ALl,</div><div> </div><div>I want help from you guys .....I am doing the cross compilaition for mysql in linux x86_64 platform for all other platfoms includes arm, x86_64, i686 etc.... But I am doing it for past 3 weeks no progress during the compllation I am getting the error like mysqld error 127 like that after that I am trying to include the native targets during the compilation processs but I am getiting error like export given target "</home/stanly/MYSQL/bin/mysql>" which is not built by this project. I am doing an export of the binary files in like this EXPORT(TARGETS </home/stanly/MYSQL/bin/mysql> FILE </home/stanly/my_sql/mysql-5.6.12/native_exe>.cmake) in the extra/CMakeFiles.txt ..Please helsolving this</div>
<div> </div><div>Regards </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 10, 2013 at 10:10 AM, <span dir="ltr"><<a href="mailto:cmake-request@cmake.org" target="_blank">cmake-request@cmake.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send CMake mailing list submissions to<br>
<a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:cmake-request@cmake.org">cmake-request@cmake.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:cmake-owner@cmake.org">cmake-owner@cmake.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of CMake digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: How to embed Qt resources using CMake (Matthew Woehlke)<br>
2. Re: How to embed Qt resources using CMake (J?lio Hoffimann)<br>
3. Re: How to embed Qt resources using CMake (J?lio Hoffimann)<br>
4. Re: How to embed Qt resources using CMake (Pau Garcia i Quiles)<br>
5. Re: How to embed Qt resources using CMake (Matthew Woehlke)<br>
6. Re: (no subject) (Mark Stijnman)<br>
7. [off topic] [research] Interview for contributors over 50<br>
years old for Oregon State University Research (Jen D)<br>
8. Re: [off topic] [research] Interview for contributors over 50<br>
years old for Oregon State University Research (Jen D)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 09 Jul 2013 14:24:05 -0400<br>
From: Matthew Woehlke <<a href="mailto:matthew.woehlke@kitware.com">matthew.woehlke@kitware.com</a>><br>
Subject: Re: [CMake] How to embed Qt resources using CMake<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID: <krhkfu$q0t$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
On 2013-07-08 12:59, J?lio Hoffimann wrote:<br>
> My CMakeLists.txt resides at the same directory as icons.qrc, but my main<br>
> application is linked in a completely separate folder:<br>
><br>
> main/<br>
> -- resources/<br>
> -- -- pixmaps/<br>
> -- CMakeLists1.txt<br>
> -- icons.qrc<br>
> exe/<br>
> -- CMakeLists2.txt<br>
> -- main.cpp<br>
><br>
> Is it okay? What should be the CMakeLists(1|2).txt in this case?<br>
<br>
Our project tree looks roughly like this, but we don't have a<br>
CMakeLists.txt in what corresponds to your 'main'; we just do<br>
(exe/CMakeLists.txt):<br>
<br>
qt4_add_resources(resSources ../main/icons.qrc)<br>
add_executable(... ${resSources})<br>
<br>
If you also have sources in 'main' that you are trying to compile into a<br>
static library (containing the resources), then you probably need<br>
Q_INIT_RESOURCE, as you discovered.<br>
<br>
--<br>
Matthew<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 9 Jul 2013 15:43:52 -0300<br>
From: J?lio Hoffimann <<a href="mailto:julio.hoffimann@gmail.com">julio.hoffimann@gmail.com</a>><br>
Subject: Re: [CMake] How to embed Qt resources using CMake<br>
To: Matthew Woehlke <<a href="mailto:matthew.woehlke@kitware.com">matthew.woehlke@kitware.com</a>><br>
Cc: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<<a href="mailto:CAFRVdT9qXDZ%2B%2B0HR4CUmYQrFaPdbUbQLDsHDq0whzgAsvFHJzQ@mail.gmail.com">CAFRVdT9qXDZ++0HR4CUmYQrFaPdbUbQLDsHDq0whzgAsvFHJzQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
> Our project tree looks roughly like this, but we don't have a<br>
> CMakeLists.txt in what corresponds to your 'main'; we just do<br>
> (exe/CMakeLists.txt):<br>
><br>
> qt4_add_resources(resSources ../main/icons.qrc)<br>
> add_executable(... ${resSources})<br>
><br>
> If you also have sources in 'main' that you are trying to compile into a<br>
> static library (containing the resources), then you probably need<br>
> Q_INIT_RESOURCE, as you discovered.<br>
><br>
> --<br>
> Matthew<br>
<br>
<br>
Perfect! That worked, the resources are linked statically to the final<br>
executable.<br>
<br>
Thanks,<br>
J?lio.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.cmake.org/pipermail/cmake/attachments/20130709/e6912c5b/attachment-0001.htm" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20130709/e6912c5b/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 9 Jul 2013 15:46:49 -0300<br>
From: J?lio Hoffimann <<a href="mailto:julio.hoffimann@gmail.com">julio.hoffimann@gmail.com</a>><br>
Subject: Re: [CMake] How to embed Qt resources using CMake<br>
To: Matthew Woehlke <<a href="mailto:matthew.woehlke@kitware.com">matthew.woehlke@kitware.com</a>><br>
Cc: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<<a href="mailto:CAFRVdT8FuPgvR0OTVjWUnGAn-o66fThzGTSqodAcyYxvEkHMAQ@mail.gmail.com">CAFRVdT8FuPgvR0OTVjWUnGAn-o66fThzGTSqodAcyYxvEkHMAQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Matthew,<br>
<br>
One last question, is it portable to use ../ links in CMake? Or you just<br>
typed it for fast illustration?<br>
<br>
Best,<br>
J?lio.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.cmake.org/pipermail/cmake/attachments/20130709/9559267e/attachment-0001.htm" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20130709/9559267e/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 9 Jul 2013 21:38:56 +0200<br>
From: Pau Garcia i Quiles <<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>><br>
Subject: Re: [CMake] How to embed Qt resources using CMake<br>
To: J?lio Hoffimann <<a href="mailto:julio.hoffimann@gmail.com">julio.hoffimann@gmail.com</a>><br>
Cc: Matthew Woehlke <<a href="mailto:matthew.woehlke@kitware.com">matthew.woehlke@kitware.com</a>>, <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<<a href="mailto:CAKcBoksOThySg-AZ02vQwPGYBXv_qNqY0fxxRskyzqEY_AgWiQ@mail.gmail.com">CAKcBoksOThySg-AZ02vQwPGYBXv_qNqY0fxxRskyzqEY_AgWiQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello,<br>
<br>
It is portable, as long as ".." still does lead you to the right directory.<br>
That's why I prefer variables and fully-identified paths: I can move stuff<br>
around and don't have to worry about "..", "../..", "../../resources", etc<br>
still being true.<br>
<br>
<br>
On Tue, Jul 9, 2013 at 8:46 PM, J?lio Hoffimann<br>
<<a href="mailto:julio.hoffimann@gmail.com">julio.hoffimann@gmail.com</a>>wrote:<br>
<br>
> Matthew,<br>
><br>
> One last question, is it portable to use ../ links in CMake? Or you just<br>
> typed it for fast illustration?<br>
><br>
> Best,<br>
> J?lio.<br>
><br>
> --<br>
><br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at:<br>
> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
<br>
<br>
<br>
--<br>
Pau Garcia i Quiles<br>
<a href="http://www.elpauer.org" target="_blank">http://www.elpauer.org</a><br>
(Due to my workload, I may need 10 days to answer)<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.cmake.org/pipermail/cmake/attachments/20130709/17a1fac0/attachment-0001.htm" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20130709/17a1fac0/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 09 Jul 2013 15:41:06 -0400<br>
From: Matthew Woehlke <<a href="mailto:matthew.woehlke@kitware.com">matthew.woehlke@kitware.com</a>><br>
Subject: Re: [CMake] How to embed Qt resources using CMake<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID: <krhp0c$j9m$<a href="mailto:1@ger.gmane.org">1@ger.gmane.org</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
On 2013-07-09 14:46, J?lio Hoffimann wrote:<br>
> One last question, is it portable to use ../ links in CMake? Or you just<br>
> typed it for fast illustration?<br>
<br>
I use "../" all over the place... all that is required is a correct<br>
absolute or relative path to the .qrc (or whatever other source file).<br>
<br>
(Relative paths are AFAIK always interpreted relative to either<br>
CMAKE_CURRENT_SOURCE_DIR or CMAKE_CURRENT_LIST_DIR (I'd guess the<br>
latter, but they'll be the same in almost all cases for a<br>
CMakeLists.txt). So as long as your relative path is correct it is safe<br>
across platforms, etc., if that's what you were asking?)<br>
<br>
--<br>
Matthew<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 10 Jul 2013 00:18:39 +0200<br>
From: Mark Stijnman <<a href="mailto:mark.stijnman@gmail.com">mark.stijnman@gmail.com</a>><br>
Subject: Re: [CMake] (no subject)<br>
To: <a href="mailto:mattator@gmail.com">mattator@gmail.com</a><br>
Cc: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<CAOzitB+GiB6pHSdrggs+sE1mE3BZ_hdj=8vmF0DtFqK=<a href="mailto:Z_8qLQ@mail.gmail.com">Z_8qLQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Tue, Jul 9, 2013 at 5:59 PM, Teto <<a href="mailto:mattator@gmail.com">mattator@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am trying to pass several arguments of add_custom_target via a<br>
> custom proxy function that takes 1 argument only. I find it hard to<br>
> explain but this piece of code should be clearer:<br>
><br>
> === custom function ===<br>
> function(myfunc PROGRAM command_line)<br>
> .... // some code here<br>
> add_custom_target(<br>
> ${PROGRAM}<br>
> COMMAND ${PROGRAM_BINARY}<br>
> ${command_line}<br>
> )<br>
> endfunction()<br>
><br>
> == how I call it ==<br>
> myfunc( gengetopt "-i menudescriptor.ggo WORKING_DIRECTORY<br>
> ${CMAKE_CURRENT_LIST_DIR}")<br>
><br>
[snip]<br>
> Is there any "eval" function I could use ?<br>
><br>
> Best regards<br>
><br>
> Matt<br>
<br>
What I would do is more something like this:<br>
<br>
include(CMakeParseArguments)<br>
function(myfunc PROGRAM command_line)<br>
CMAKE_PARSE_ARGUMENTS(myfunc "" "WORKING_DIRECTORY" "" ${ARGN})<br>
if(NOT myfunc_WORKING_DIRECTORY)<br>
set(myfunc_WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) # or<br>
some other suitable default<br>
endif()<br>
add_custom_target(${PROGRAM}<br>
COMMAND ${PROGRAM_BINARY} ${command_line}<br>
WORKING_DIRECTORY ${myfunc_WORKING_DIRECTORY})<br>
endfunction()<br>
<br>
Now your function has a "WORKING_DIRECTORY" keyword with a single<br>
parameter, which it will read from any arguments beyond the<br>
fixed-position arguments (available in ${ARGN}). Check the<br>
documentation for CMAKE_PARSE_ARGUMENTS for more info. Call your new<br>
function like<br>
myfunc( gengetopt "-i menudescriptor.ggo" WORKING_DIRECTORY<br>
"${CMAKE_CURRENT_LIST_DIR}")<br>
<br>
Good luck,<br>
<br>
regards Mark<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Tue, 9 Jul 2013 16:50:57 -0700<br>
From: Jen D <<a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a>><br>
Subject: [CMake] [off topic] [research] Interview for contributors<br>
over 50 years old for Oregon State University Research<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<CAPycgPZ=SbURZWLsUnyQNtV4vt=n4JB5X60Wo27rbi9agUDf=<a href="mailto:g@mail.gmail.com">g@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hello,<br>
<br>
Researchers at Oregon State University are striving to conduct research to<br>
learn more about the free/open source software community landscape as it<br>
relates to older adults. We have identified you as a leader for a free/open<br>
source software community. If you?re interested, we will either do an<br>
in-person interview (if you are local to the Corvallis or Portland area),<br>
or an interview over the phone (if you are not local). The interview is<br>
expected to last no longer than an hour. You will not be compensated for<br>
participating in this study.<br>
<br>
The study title is Involving Older Adults in the Design and Development of<br>
Free/Open Source Software ? Part 2. The principal investigator is Dr.<br>
Carlos Jensen.<br>
<br>
If you would like to participate in the study, please read through the<br>
consent document [1]. Please email us at <a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a> to set up a<br>
time/location to do an interview.<br>
<br>
Thank you,<br>
<br>
Jennifer Davidson Carlos Jensen<br>
<br>
<a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a> <a href="mailto:cjensen@eecs.oregonstate.edu">cjensen@eecs.oregonstate.edu</a><br>
<br>
[1] <a href="http://people.oregonstate.edu/~davidsje/researchForms/groupA/" target="_blank">people.oregonstate.edu/~davidsje/researchForms/groupA/</a><br>
<br>
<br>
--<br>
Jennifer Davidson<br>
Human-Computer Interaction PhD Student<br>
IGERT in Aging Sciences Program<br>
Center for Healthy Aging Research<br>
Department of Electrical Engineering and Computer Science<br>
Oregon State University<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.cmake.org/pipermail/cmake/attachments/20130709/c38cb185/attachment-0001.htm" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20130709/c38cb185/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Tue, 9 Jul 2013 21:40:18 -0700<br>
From: Jen D <<a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a>><br>
Subject: Re: [CMake] [off topic] [research] Interview for contributors<br>
over 50 years old for Oregon State University Research<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
<<a href="mailto:CAPycgPZWo6os0_OoSKWTzRHm8XRJs7WDTJ_iPcj3K9Rq06pLhA@mail.gmail.com">CAPycgPZWo6os0_OoSKWTzRHm8XRJs7WDTJ_iPcj3K9Rq06pLhA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=windows-1252<br>
<br>
Hello,<br>
<br>
I apologize, but I sent out the incorrect recruitment email. Here is<br>
the correct one:<br>
"Hello,<br>
<br>
Researchers at Oregon State University are striving to conduct<br>
research to learn more about the free/open source software community<br>
landscape as it relates to older adults. We?re looking for older<br>
adults who are older than 50 and are currently involved with a<br>
free/open source software project. You will be excluded from the study<br>
if you are younger than 50, have not contributed to a free/open source<br>
software project, or are not fluent in English. If you?re interested,<br>
we will either do an in-person interview (if you are local to the<br>
Corvallis or Portland area), or an interview over the phone (if you<br>
are not local). The interview is expected to last no longer than an<br>
hour. You will not be compensated for participating in this study.<br>
<br>
The study title is Involving Older Adults in the Design and<br>
Development of Free/Open Source Software ? Part 2. The principal<br>
investigator is Dr. Carlos Jensen.<br>
<br>
If you would like to participate in the study, please read through the<br>
eligibility document and consent document [1]. Please email us at<br>
<a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a> to set up a time to determine your eligibility<br>
and to set up a time/location to do an interview.<br>
<br>
Thank you,<br>
<br>
Jennifer Davidson Carlos Jensen<br>
<br>
<a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a> <a href="mailto:cjensen@eecs.oregonstate.edu">cjensen@eecs.oregonstate.edu</a><br>
<br>
[1] <a href="http://people.oregonstate.edu/~davidsje/researchForms/groupB/" target="_blank">people.oregonstate.edu/~davidsje/researchForms/groupB/</a>"<br>
<br>
<br>
Please let me know if you're still interested. Thanks!<br>
<br>
On Tue, Jul 9, 2013 at 4:50 PM, Jen D <<a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a>> wrote:<br>
> Hello,<br>
><br>
> Researchers at Oregon State University are striving to conduct research to<br>
> learn more about the free/open source software community landscape as it<br>
> relates to older adults. We have identified you as a leader for a free/open<br>
> source software community. If you?re interested, we will either do an<br>
> in-person interview (if you are local to the Corvallis or Portland area), or<br>
> an interview over the phone (if you are not local). The interview is<br>
> expected to last no longer than an hour. You will not be compensated for<br>
> participating in this study.<br>
><br>
> The study title is Involving Older Adults in the Design and Development of<br>
> Free/Open Source Software ? Part 2. The principal investigator is Dr. Carlos<br>
> Jensen.<br>
><br>
> If you would like to participate in the study, please read through the<br>
> consent document [1]. Please email us at <a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a> to set up a<br>
> time/location to do an interview.<br>
><br>
> Thank you,<br>
><br>
> Jennifer Davidson Carlos Jensen<br>
><br>
> <a href="mailto:davidsje@onid.orst.edu">davidsje@onid.orst.edu</a> <a href="mailto:cjensen@eecs.oregonstate.edu">cjensen@eecs.oregonstate.edu</a><br>
><br>
> [1] <a href="http://people.oregonstate.edu/~davidsje/researchForms/groupA/" target="_blank">people.oregonstate.edu/~davidsje/researchForms/groupA/</a><br>
><br>
><br>
><br>
> --<br>
> Jennifer Davidson<br>
> Human-Computer Interaction PhD Student<br>
> IGERT in Aging Sciences Program<br>
> Center for Healthy Aging Research<br>
> Department of Electrical Engineering and Computer Science<br>
> Oregon State University<br>
<br>
<br>
<br>
--<br>
Jennifer Davidson<br>
Human-Computer Interaction PhD Student<br>
IGERT in Aging Sciences Program<br>
Center for Healthy Aging Research<br>
Department of Electrical Engineering and Computer Science<br>
Oregon State University<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
End of CMake Digest, Vol 111, Issue 15<br>
**************************************<br>
</blockquote></div><br></div>