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