Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-15 Thread e...@cs.bgu.ac.il
On Wed 13 Oct 22:29 2010 Alexander Neundorf wrote: > On Tuesday 05 October 2010, e...@cs.bgu.ac.il wrote: > > the project's one? > > I've copied the hpp and cpp files into one of my src dirs. > > still not compiling > > Don't use file(GLOB ...) to col

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-07 Thread e...@cs.bgu.ac.il
tried that, no go On Tue 05 Oct 21:44 2010 John Drescher wrote: > On Tue, Oct 5, 2010 at 3:41 PM, e...@cs.bgu.ac.il wrote: > > nope, like I wrote in the first post, I need a string spinbox so I've > > extended qspinbox to support strings. > > that is the custom widget

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
the project's one? I've copied the hpp and cpp files into one of my src dirs. still not compiling On Tue 05 Oct 21:44 2010 John Drescher wrote: > On Tue, Oct 5, 2010 at 3:41 PM, e...@cs.bgu.ac.il wrote: > > nope, like I wrote in the first post, I need a string spinbox so

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
with c++0x support.") > > ENDIF(COMPILER_SUPPORTS_NEW_ISO_STD) > > > > FIND_PACKAGE(Boost 1.37.0 COMPONENTS thread-mt unit_test_framework-mt > > iostreams-mt filesystem-mt REQUIRED) > > FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtXml REQUIRED) > > FIND

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
A REQUIRED) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR} ${QT_INCLUDE_DIR} ${LIBLZMA_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR}/src src) SUBDIRS(src) On Tue 05 Oct 21:02 2010 John Drescher wrote: > On Tue, Oct 5, 2010 at 2:59 PM, e...@cs.bgu.ac.il wrote: > > > > hello. > > I have a cmake+

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
yes, there is a possibility I've posted it in the wrong one. On Tue 05 Oct 21:03 2010 norulez wrote: > Did you have SET(QT_USE_QTGUI TRUE) in your CMakeLists.txt file? > > Am 05.10.2010 um 20:59 schrieb "e...@cs.bgu.ac.il" : > > > > > hello. > > I

[CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
hello. I have a cmake+qt4 project, I needed to extend a certain gui item to suit my needs, I've been able to insert it into qtcreator and incorporate it into the project's gui, now when I run compilation, I get this: /home/dagg/workspace/OSSM/src/GUI/ui_TrainingActivityManager.h:29:28: error: q

[CMake] creation of cxx in QT4 gui

2010-09-14 Thread e...@cs.bgu.ac.il
hello. I have a question, I'm assuming that QT4_WRAP_CPP is creating the cxx files, on a project of mine, I have 3 classes, two of them have a ui file, all headers are in GUI_HPP list, when I print the content of the variable, I see the two headers that have a ui file, when I run it via QT4_WRA

[CMake] how to define the output location of QT4_WRAP_UI?

2010-01-26 Thread e...@cs.bgu.ac.il
hello. I've ran into a slight problem, I have a program that uses qt4 gui, I've created classes with ui, my cmakelist.txts looks like this: cmake_minimum_required(VERSION 2.6) PROJECT(Quad) SET(CMAKE_VERBOSE_MAKEFILE ON) SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/build) SET(LIBRARY_OUTPUT_P

Re: [CMake] fltk and cmake get undefined reference.

2010-01-02 Thread e...@cs.bgu.ac.il
solved it, it seems that the cmake file didn't contained the right paths to search at. On Thu 31 Dec 23:43 2009 e...@cs.bgu.ac.il wrote: > > hello, I have a program that uses fltk, I've defined the require part in > cmakelist.txt but I still get undefined reference error, w

[CMake] fltk and cmake get undefined reference.

2009-12-31 Thread e...@cs.bgu.ac.il
hello, I have a program that uses fltk, I've defined the require part in cmakelist.txt but I still get undefined reference error, where are the file's content: http://pastebin.com/m113e3c48 how can I solve it? ___ Powered by www.kitware.com Visit o

Re: [CMake] getting undefined error to my own libs.

2009-12-31 Thread e...@cs.bgu.ac.il
ok, solved, move array implementation into the header and found the missing module in boost. On Tue 29 Dec 19:18 2009 e...@cs.bgu.ac.il wrote: > > how much can this bloat my executable? > > On Tue 29 Dec 19:16 2009 aaron_wri...@selinc.com wrote: > > >> With templates

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread e...@cs.bgu.ac.il
nment I > don't see how executable size should even be a concern. > - > Aaron Wright > > > > > > > > > "e...@cs.bgu.ac.il" > > > 12/29/2009 09:11 AM > > > >

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread e...@cs.bgu.ac.il
> Aaron Wright > > > > > > > > > "e...@cs.bgu.ac.il" > > Sent by: cmake-boun...@cmake.org > > 12/29/2009 08:54 AM > > > > > > > > > > > To > > Eric Noulard

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread e...@cs.bgu.ac.il
if I've did what they say and I still get a undefined error, then I must have miss configured cmake. when I add extern to the deceleration in the header, I get this error: storage class specified for `Array` On Tue 29 Dec 17:16 2009 Eric Noulard wrote: > 2009/12/29 e...@cs.bgu.ac.il

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread e...@cs.bgu.ac.il
On Tue 29 Dec 17:16 2009 Eric Noulard wrote: > 2009/12/29 e...@cs.bgu.ac.il : > > hello Eric, thanks for the response. > > I'd like to solve the Array issue first, then the boost because I have a > > feeling it is a different one because when I disable the relevant code

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread e...@cs.bgu.ac.il
the array files content: http://codepad.org/klDWMowB beside a strange typo that I've done, I don't thing I've miss configured it somehow. On Tue 29 Dec 15:42 2009 Eric Noulard wrote: > 2009/12/29 e...@cs.bgu.ac.il : > > hello. > > I'm writing a c++ program

[CMake] getting undefined error to my own libs.

2009-12-29 Thread e...@cs.bgu.ac.il
hello. I'm writing a c++ program that uses three shared libs that I wrote, for some reason, when it gets to the main cpp file, it fails with undefined error. here is the error report: Linking CXX executable ../build/ossm cd /home/da

[CMake] running cppunit from within cmake

2009-09-27 Thread e...@cs.bgu.ac.il
hello. I'm using cppunit to test my project, how can I run these tests from within cmake? must I create a executable for each testunit file? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

[CMake] tutorial on testunits under cmake?

2009-06-13 Thread e...@cs.bgu.ac.il
where can I find one? ___ 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 Follo

Re: [CMake] linking main.cpp to class in the same folder.

2009-06-11 Thread e...@cs.bgu.ac.il
On Fri 12 Jun 1:14 2009 Hendrik Sattler wrote: > Am Donnerstag 11 Juni 2009 14:24:30 schrieb e...@cs.bgu.ac.il: > > On Thu 11 Jun 15:15 2009 Mike Jackson wrote: > > > ADD_EXECUTABLE(prog main.cpp class.cpp) > > > > actually, I've tried that but the program crash

Re: [CMake] linking main.cpp to class in the same folder.

2009-06-11 Thread e...@cs.bgu.ac.il
On Thu 11 Jun 15:15 2009 Mike Jackson wrote: > ADD_EXECUTABLE(prog main.cpp class.cpp) > > On Thu, Jun 11, 2009 at 7:52 AM, e...@cs.bgu.ac.il wrote: > > > > hello. > > I've got a class in a folder that I want to run from a main.cpp file, when > > I compile

[CMake] linking main.cpp to class in the same folder.

2009-06-11 Thread e...@cs.bgu.ac.il
hello. I've got a class in a folder that I want to run from a main.cpp file, when I compile it, I get a undefined reference to the class's methods. do I must create a lib from that single class in order to get the linking working? the CMakeList.txt looks like this: ADD_LIBRARY(lib1 STATIC ${lib

Re: [CMake] for loop won't locate libs

2009-06-04 Thread e...@cs.bgu.ac.il
Dayton, Ohio > > > > On Jun 4, 2009, at 1:22 PM, e...@cs.bgu.ac.il wrote: > > > SET(LIBS AR ARMulti ARvideo) > > FOREACH (LIB ${LIBS}) > > SET(FOUND_LIB) > > FIND_LIBRARY(LIB_FOUND ${LIB} /usr/lib /usr/local/lib) > > SET(ARTK_LIBRARY ${ARTK_LIBRARY}

Re: [CMake] for loop won't locate libs

2009-06-04 Thread e...@cs.bgu.ac.il
On Thu 04 Jun 21:15 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > On Thu 04 Jun 20:31 2009 Bill Hoffman wrote: > >> e...@cs.bgu.ac.il wrote: > >>> On Thu 04 Jun 20:16 2009 Tyler Roscoe wrote: > >>>> On Thu, Jun 04, 2009 at 07:50:08PM +0300,

Re: [CMake] for loop won't locate libs

2009-06-04 Thread e...@cs.bgu.ac.il
On Thu 04 Jun 20:31 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > On Thu 04 Jun 20:16 2009 Tyler Roscoe wrote: > >> On Thu, Jun 04, 2009 at 07:50:08PM +0300, e...@cs.bgu.ac.il wrote: > >>> SET(LIBS AR ARMulti ARvideo) > >>> FO

Re: [CMake] for loop won't locate libs

2009-06-04 Thread e...@cs.bgu.ac.il
On Thu 04 Jun 20:30 2009 Tyler Roscoe wrote: > On Thu, Jun 04, 2009 at 08:22:32PM +0300, e...@cs.bgu.ac.il wrote: > > > > On Thu 04 Jun 20:16 2009 Tyler Roscoe wrote: > > > On Thu, Jun 04, 2009 at 07:50:08PM +0300, e...@cs.bgu.ac.il wrote: > > > > SET(LIBS

Re: [CMake] for loop won't locate libs

2009-06-04 Thread e...@cs.bgu.ac.il
On Thu 04 Jun 20:16 2009 Tyler Roscoe wrote: > On Thu, Jun 04, 2009 at 07:50:08PM +0300, e...@cs.bgu.ac.il wrote: > > SET(LIBS AR ARMulti ARvideo) > > FOREACH (LIB ${LIBS}) > >SET(FOUND_LIB) > >FIND_LIBRARY(LIB_FOUND ${LIB} /usr/lib /usr/local/lib) > >

[CMake] for loop won't locate libs

2009-06-04 Thread e...@cs.bgu.ac.il
hello, I'm trying to write a for look that will iterate on a group of libs and find the path of the lib, here is my code: SET(LIBS AR ARMulti ARvideo) FOREACH (LIB ${LIBS}) SET(FOUND_LIB) FIND_LIBRARY(LIB_FOUND ${LIB} /usr/lib /usr/local/lib) SET(ARTK_LIBRARY ${ARTK_LIBRARY} ${LIB_FOUND

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Wed 03 Jun 22:46 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > > > > thanks for the tip though but my current problem is in regards to the > > linking of external libs, I've used to add them to the > > TARGET_LINK_LIBRARIES but it was suggested

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Wed 03 Jun 22:34 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > >> > >> Where are the symbols defined that you are not finding? > >> > >> Also, please try make VERBOSE=1 to see the link line being used. Also, > >> you will wa

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Wed 03 Jun 22:25 2009 Michael Jackson wrote: > > > On Jun 3, 2009, at 2:53 PM, e...@cs.bgu.ac.il wrote: > > > > > TARGET_LINK_LIBRARIES(AgathaHud libAgathaUtils libAgathaEngine > > libAgathaThreads) > > the error output is: /usr/lib/gcc/x86_64-pc-linu

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Wed 03 Jun 22:14 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > > I've just noticed the suggestion to remove the lib from the > > TARGET_LINK_LIBRARIES entry which I did, that solved the previous > > linking problem but now I get unknown reference to ea

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Wed 03 Jun 21:53 2009 e...@cs.bgu.ac.il wrote: > > On Wed 03 Jun 18:37 2009 Michael Wild wrote: > > > > On 3. Jun, 2009, at 15:15, e...@cs.bgu.ac.il wrote: > > > > > > > > On Tue 02 Jun 7:33 2009 e...@cs.bgu.ac.il wrote: > > >> > &g

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Wed 03 Jun 18:37 2009 Michael Wild wrote: > > On 3. Jun, 2009, at 15:15, e...@cs.bgu.ac.il wrote: > > > > > On Tue 02 Jun 7:33 2009 e...@cs.bgu.ac.il wrote: > >> > >> On Mon 01 Jun 20:56 2009 Bill Hoffman wrote: > >>> e...@cs.bgu.ac.il

Re: [CMake] need two compilation to achieve success

2009-06-03 Thread e...@cs.bgu.ac.il
On Tue 02 Jun 7:33 2009 e...@cs.bgu.ac.il wrote: > > On Mon 01 Jun 20:56 2009 Bill Hoffman wrote: > > e...@cs.bgu.ac.il wrote: > > > On Mon 01 Jun 15:28 2009 Bill Hoffman wrote: > > >> e...@cs.bgu.ac.il wrote: > > >>> On Mon 01 Jun 8:18 2009 Ty

Re: [CMake] need two compilation to achieve success

2009-06-01 Thread e...@cs.bgu.ac.il
On Mon 01 Jun 20:56 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > On Mon 01 Jun 15:28 2009 Bill Hoffman wrote: > >> e...@cs.bgu.ac.il wrote: > >>> On Mon 01 Jun 8:18 2009 Tyler Roscoe wrote: > >>> thanks for the tip, it solved the issue. >

Re: [CMake] need two compilation to achieve success

2009-06-01 Thread e...@cs.bgu.ac.il
On Mon 01 Jun 15:28 2009 Bill Hoffman wrote: > e...@cs.bgu.ac.il wrote: > > On Mon 01 Jun 8:18 2009 Tyler Roscoe wrote: > > > > > thanks for the tip, it solved the issue. > > > > > > I am glad that worked for you but something else is

Re: [CMake] need two compilation to achieve success

2009-06-01 Thread e...@cs.bgu.ac.il
ake). > > tyler > > On Mon, Jun 01, 2009 at 07:27:09AM +0300, e...@cs.bgu.ac.il wrote: > > > > On Mon 01 Jun 0:01 2009 Tyler Roscoe wrote: > > > On Sun, May 31, 2009 at 11:56:18PM +0300, e...@cs.bgu.ac.il wrote: > > > > I've got a strange problem, w

Re: [CMake] need two compilation to achieve success

2009-05-31 Thread e...@cs.bgu.ac.il
On Mon 01 Jun 0:01 2009 Tyler Roscoe wrote: > On Sun, May 31, 2009 at 11:56:18PM +0300, e...@cs.bgu.ac.il wrote: > > I've got a strange problem, when I try to compile a clean version of > > my program it fails without any explanation but if I try to compile > > aga

[CMake] need two compilation to achieve success

2009-05-31 Thread e...@cs.bgu.ac.il
hello. I've got a strange problem, when I try to compile a clean version of my program it fails without any explanation but if I try to compile again without running clean I compiles fine... can anyone think why it is happening? ___ Powered by www.ki

Re: [CMake] FIND_PATH finds two out of three?

2009-05-19 Thread e...@cs.bgu.ac.il
at don't exist. Your script seems fine from what I see. Maybe you can > post a bit more? Also please keep this on the cmake mailing list. > > e...@cs.bgu.ac.il wrote: > > On Tue 19 May 3:07 2009 Christopher Harvey wrote: > > > >> I don't know how the ART

[CMake] FIND_PATH finds two out of three?

2009-05-19 Thread e...@cs.bgu.ac.il
I'm writing a program which is based on 3 external libs, Poco, ARToolKit and opencv, now the locations in the include folder is has followd: opencv headers are in /usr/include/opencv folder, Poco headers are in /usr/include/Poco folder and ARToolKit headers are in /usr/include/AR folder. I'm try

Re: [CMake] include dependecy problem

2009-05-18 Thread e...@cs.bgu.ac.il
On Mon 18 May 12:48 2009 Michael Wild wrote: > > On 18. May, 2009, at 10:42, e...@cs.bgu.ac.il wrote: > > > > > hello. > > I'm writing a c++ program under linux and I use cmake 2.6.4 to > > manage compilation. > > in one of the files I need use e

[CMake] include dependecy problem

2009-05-18 Thread e...@cs.bgu.ac.il
hello. I'm writing a c++ program under linux and I use cmake 2.6.4 to manage compilation. in one of the files I need use external include files which resides in /usr/include/folder_name/, lets call them file1.h and file2.h now if I declare the includes in my file like this: #include #include