[Bug 430] New: Could not detect target OS!

For more information about this bug, visit
A new bug was added:
Summary: Could not detect target OS!
Product: OCL
Version: 0.4.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...

When i try to compile ocl-0.4.1 with rtt-1.2.1 i get the following error:

Orocos Components version 0.4.1
Build type set to 'OCL' by user.
Doxygen not found -- unable to build documentation
Searching RTT in /home/fclaessens/work/rootfs/usr:
-- Looking for orocos-rtt >= 1.1.0 -- found
-- Looking for orocos-rtt >= 1.0.0 -- found
Includes in: /home/fclaessens/work/rootfs/usr/xenomai/include/xenomai
Libraries in: /home/fclaessens/work/rootfs/usr/xenomai/lib
Libraries: orocos-rtt;native;pthread
Defines:
CMake Error: Could not detect target OS!

according to the config/FindOrocosRTT.cmake:
he is looking for xenomai.h and fosi.h in the orocos_rtt_include dir, which is
not a directory where he can find those files:

SET( CMAKE_REQUIRED_INCLUDES ${OROCOS_RTT_INCLUDE_DIRS})
FIND_FILE( OS_XENOMAI rtt/os/xenomai.h ${OROCOS_RTT_INCLUDE_DIRS} )
FIND_FILE( OS_XENOMAI rtt/os/xenomai/fosi.h ${OROCOS_RTT_INCLUDE_DIRS}
)
IF(OS_XENOMAI)
MESSAGE( "Detected Xenomai installation: ${OS_XENOMAI}" )
ENDIF(OS_XENOMAI)

Shouldn't he be looking in ${OROCOS_INSTALL)/include instead??

Ruben

--
(this mail is best viewed with a fixed font)
Configure bugmail: https://www.fmtc.be/orocos-bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

[Bug 430] Could not detect target OS!

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Resolution| |INVALID
Status|REOPENED |RESOLVED

------- Comment #5 from peter [dot] soetens [..] ... 2007-07-18 15:24

(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > No, the ${OROCOS_INSTALL}/include dir should be a part of the
> > > orocos_include_dirs, that is the problem i think. We were crosscompiling RTT
> > > and used make install ${DEST_DIR}, so the CMAKE_INSTALL_DIR is just /usr (a
> > > standard include) but the DEST_DIR is not added in the orocos-rtt.pc file.
> > >
> > > Maybe that is the problem, or are we doing stuff completely the wrong way?
> >
> > When using DEST_DIR, read this post:
> >

Ruben Smits's picture

[Bug 430] Could not detect target OS!

For more information about this bug, visit

ruben [dot] smits [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Resolution|INVALID |
Status|RESOLVED |REOPENED

------- Comment #4 from ruben [dot] smits [..] ... 2007-07-18 14:28

(In reply to comment #3)
> (In reply to comment #2)
> > No, the ${OROCOS_INSTALL}/include dir should be a part of the
> > orocos_include_dirs, that is the problem i think. We were crosscompiling RTT
> > and used make install ${DEST_DIR}, so the CMAKE_INSTALL_DIR is just /usr (a
> > standard include) but the DEST_DIR is not added in the orocos-rtt.pc file.
> >
> > Maybe that is the problem, or are we doing stuff completely the wrong way?

[Bug 430] Could not detect target OS!

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Resolution| |INVALID
Status|NEW |RESOLVED

------- Comment #3 from peter [dot] soetens [..] ... 2007-07-18 12:45

(In reply to comment #2)
> No, the ${OROCOS_INSTALL}/include dir should be a part of the
> orocos_include_dirs, that is the problem i think. We were crosscompiling RTT
> and used make install ${DEST_DIR}, so the CMAKE_INSTALL_DIR is just /usr (a
> standard include) but the DEST_DIR is not added in the orocos-rtt.pc file.

Ruben Smits's picture

[Bug 430] Could not detect target OS!

For more information about this bug, visit
A comment was added:
------- Comment #2 from ruben [dot] smits [..] ... 2007-07-18 12:30

(In reply to comment #1)
> (In reply to comment #0)
> > When i try to compile ocl-0.4.1 with rtt-1.2.1 i get the following error:
> >
> > Orocos Components version 0.4.1
> > Build type set to 'OCL' by user.
> > Doxygen not found -- unable to build documentation
> > Searching RTT in /home/fclaessens/work/rootfs/usr:
> > -- Looking for orocos-rtt >= 1.1.0 -- found
> > -- Looking for orocos-rtt >= 1.0.0 -- found
> > Includes in: /home/fclaessens/work/rootfs/usr/xenomai/include/xenomai
> > Libraries in: /home/fclaessens/work/rootfs/usr/xenomai/lib

[Bug 430] Could not detect target OS!

For more information about this bug, visit
A comment was added:
------- Comment #1 from peter [dot] soetens [..] ... 2007-07-18 10:24

(In reply to comment #0)
> When i try to compile ocl-0.4.1 with rtt-1.2.1 i get the following error: