simple-task make error

……/rtt-examples-1.10.0/simple-task$ make

g++ -c -Wall -g `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config orocos-ocl-gnulinux orocos-rtt-gnulinux --cflags` SimpleTask.cxx -o simpletask.o g++: no input files make: *** [simpletask.o] Error 1

About this, I have no idea.Could someone help me?

simple-task make error

……/rtt-examples-1.10.0/simple-task$ make
g++ -c -Wall -g `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config orocos-ocl-gnulinux orocos-rtt-gnulinux --cflags` SimpleTask.cxx -o simpletask.o
g++: no input files
make: *** [simpletask.o] Error 1

About this, I have no idea.Could someone help me?
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

simple-task make error

……/rtt-examples-1.10.0/simple-task$ make

g++ -c -Wall -g `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config orocos-ocl-gnulinux orocos-rtt-gnulinux --cflags` SimpleTask.cxx -o simpletask.o
g++: no input files
make: *** [simpletask.o] Error 1

About this, I have no idea.Could someone help me?
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

make error

Hi All,

I want to use the Orocos RTT and therefor the Orocos OCL should be installed. However I am not succeeding in installing it.

I have downloaded and untarred orocos-ocl-1.10.2. Initially using "cmake ." did not succeed as several dependencies were missing. I searched for most of them on the internet and installed them. However the following are still missing:
- Qt4 >= 4.1
- canlib
- orocos-kdltk-gnulinux >= 0.99
Although it is missing these dependencies it is still capable of completing the cmake. If i now want to "make" it the following error occurs after 50% completion:

...
...
[ 43%] Building CXX object reporting/CMakeFiles/orocos-reporting-gnulinux.dir/socketmarshaller.o
[ 46%] Building CXX object reporting/CMakeFiles/orocos-reporting-gnulinux.dir/TcpReporting.o
Linking CXX shared library liborocos-reporting-gnulinux.so
[ 46%] Built target orocos-reporting-gnulinux
[ 50%] Building CXX object reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/NetcdfReporting.o
/usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp: In member function ‘virtual void OCL::NetcdfReporting::stopHook()’:
/usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp:75: warning: ‘retval’ may be used uninitialized in this function
Linking CXX shared library liborocos-reporting-netcdf-gnulinux.so
/usr/bin/ld: cannot find -lnetcdf
collect2: ld returned 1 exit status
make[2]: *** [reporting/liborocos-reporting-netcdf-gnulinux.so.1.10.2] Error 1
make[1]: *** [reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/all] Error 2
make: *** [all] Error 2

It seems to be referring to an error in netCDF (dependency installed by myself). I tried reinstalling the netCDF but it did not give any improvement. Perhaps I installed the wrong one? What should i do?

Thanks for your help and time,

Regards,

Bas Willems
Eindhoven University of Technology

Ruben Smits's picture

make error

On Thursday 24 June 2010 10:17:29 Willems, B. wrote:
> Hi All,
>
> I want to use the Orocos RTT and therefor the Orocos OCL should be
> installed. However I am not succeeding in installing it.
>
> I have downloaded and untarred orocos-ocl-1.10.2. Initially using "cmake ."
> did not succeed as several dependencies were missing. I searched for most
> of them on the internet and installed them. However the following are
> still missing: - Qt4 >= 4.1
> - canlib
> - orocos-kdltk-gnulinux >= 0.99
> Although it is missing these dependencies it is still capable of completing
> the cmake. If i now want to "make" it the following error occurs after 50%
> completion:
>
> ...
> ...
> [ 43%] Building CXX object
> reporting/CMakeFiles/orocos-reporting-gnulinux.dir/socketmarshaller.o [
> 46%] Building CXX object
> reporting/CMakeFiles/orocos-reporting-gnulinux.dir/TcpReporting.o Linking
> CXX shared library liborocos-reporting-gnulinux.so
> [ 46%] Built target orocos-reporting-gnulinux
> [ 50%] Building CXX object
> reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/NetcdfReporting.
> o /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp: In member
> function ‘virtual void OCL::NetcdfReporting::stopHook()’:
> /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp:75: warning:
> ‘retval’ may be used uninitialized in this function Linking CXX shared
> library liborocos-reporting-netcdf-gnulinux.so
> /usr/bin/ld: cannot find -lnetcdf
> collect2: ld returned 1 exit status
> make[2]: *** [reporting/liborocos-reporting-netcdf-gnulinux.so.1.10.2]
> Error 1 make[1]: ***
> [reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/all] Error 2
> make: *** [all] Error 2
>
> It seems to be referring to an error in netCDF (dependency installed by
> myself). I tried reinstalling the netCDF but it did not give any
> improvement. Perhaps I installed the wrong one? What should i do?

can you remove the CMakeCache.txt file and try again?

Ruben

> Thanks for your help and time,
>
> Regards,
>
> Bas Willems
> Eindhoven University of Technology
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

make error

I removed the CMakeCache.txt and did cmake . again but make still stops at 50% with the same error.

Regards

Bas Willems
________________________________________
Van: Ruben Smits [ruben [dot] smits [..] ...]
Verzonden: donderdag 24 juni 2010 10:22
Aan: orocos-users [..] ...
CC: Willems, B.
Onderwerp: Re: [Orocos-users] make error

On Thursday 24 June 2010 10:17:29 Willems, B. wrote:
> Hi All,
>
> I want to use the Orocos RTT and therefor the Orocos OCL should be
> installed. However I am not succeeding in installing it.
>
> I have downloaded and untarred orocos-ocl-1.10.2. Initially using "cmake ."
> did not succeed as several dependencies were missing. I searched for most
> of them on the internet and installed them. However the following are
> still missing: - Qt4 >= 4.1
> - canlib
> - orocos-kdltk-gnulinux >= 0.99
> Although it is missing these dependencies it is still capable of completing
> the cmake. If i now want to "make" it the following error occurs after 50%
> completion:
>
> ...
> ...
> [ 43%] Building CXX object
> reporting/CMakeFiles/orocos-reporting-gnulinux.dir/socketmarshaller.o [
> 46%] Building CXX object
> reporting/CMakeFiles/orocos-reporting-gnulinux.dir/TcpReporting.o Linking
> CXX shared library liborocos-reporting-gnulinux.so
> [ 46%] Built target orocos-reporting-gnulinux
> [ 50%] Building CXX object
> reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/NetcdfReporting.
> o /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp: In member
> function ‘virtual void OCL::NetcdfReporting::stopHook()’:
> /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp:75: warning:
> ‘retval’ may be used uninitialized in this function Linking CXX shared
> library liborocos-reporting-netcdf-gnulinux.so
> /usr/bin/ld: cannot find -lnetcdf
> collect2: ld returned 1 exit status
> make[2]: *** [reporting/liborocos-reporting-netcdf-gnulinux.so.1.10.2]
> Error 1 make[1]: ***
> [reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/all] Error 2
> make: *** [all] Error 2
>
> It seems to be referring to an error in netCDF (dependency installed by
> myself). I tried reinstalling the netCDF but it did not give any
> improvement. Perhaps I installed the wrong one? What should i do?

can you remove the CMakeCache.txt file and try again?

Ruben

> Thanks for your help and time,
>
> Regards,
>
> Bas Willems
> Eindhoven University of Technology

Ruben Smits's picture

make error

On Thursday 24 June 2010 10:25:43 Willems, B. wrote:
> I removed the CMakeCache.txt and did cmake . again but make still stops at
> 50% with the same error.

Do you need the netcdf reporting functionality? Otherwise I would suggest to
switch it off.

Ruben

> Regards
>
> Bas Willems
> ________________________________________
> Van: Ruben Smits [ruben [dot] smits [..] ...]
> Verzonden: donderdag 24 juni 2010 10:22
> Aan: orocos-users [..] ...
> CC: Willems, B.
> Onderwerp: Re: [Orocos-users] make error
>
> On Thursday 24 June 2010 10:17:29 Willems, B. wrote:
> > Hi All,
> >
> > I want to use the Orocos RTT and therefor the Orocos OCL should be
> > installed. However I am not succeeding in installing it.
> >
> > I have downloaded and untarred orocos-ocl-1.10.2. Initially using "cmake
> > ." did not succeed as several dependencies were missing. I searched for
> > most of them on the internet and installed them. However the following
> > are still missing: - Qt4 >= 4.1
> > - canlib
> > - orocos-kdltk-gnulinux >= 0.99
> > Although it is missing these dependencies it is still capable of
> > completing the cmake. If i now want to "make" it the following error
> > occurs after 50% completion:
> >
> > ...
> > ...
> > [ 43%] Building CXX object
> > reporting/CMakeFiles/orocos-reporting-gnulinux.dir/socketmarshaller.o [
> > 46%] Building CXX object
> > reporting/CMakeFiles/orocos-reporting-gnulinux.dir/TcpReporting.o Linking
> > CXX shared library liborocos-reporting-gnulinux.so
> > [ 46%] Built target orocos-reporting-gnulinux
> > [ 50%] Building CXX object
> > reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/NetcdfReporting
> > . o /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp: In member
> > function ‘virtual void OCL::NetcdfReporting::stopHook()’:
> > /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp:75: warning:
> > ‘retval’ may be used uninitialized in this function Linking CXX shared
> > library liborocos-reporting-netcdf-gnulinux.so
> > /usr/bin/ld: cannot find -lnetcdf
> > collect2: ld returned 1 exit status
> > make[2]: *** [reporting/liborocos-reporting-netcdf-gnulinux.so.1.10.2]
> > Error 1 make[1]: ***
> > [reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > It seems to be referring to an error in netCDF (dependency installed by
> > myself). I tried reinstalling the netCDF but it did not give any
> > improvement. Perhaps I installed the wrong one? What should i do?
>
> can you remove the CMakeCache.txt file and try again?
>
> Ruben
>
> > Thanks for your help and time,
> >
> > Regards,
> >
> > Bas Willems
> > Eindhoven University of Technology
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

make error

As i am new to the Orocos and most of its dependencies I do not know if i need it. For now, let's assume i do not need it. In that case, how can i switch it off?

Regards,

Bas
________________________________________
Van: Ruben Smits [ruben [dot] smits [..] ...]
Verzonden: donderdag 24 juni 2010 10:34
Aan: Willems, B.
CC: orocos-users [..] ...
Onderwerp: Re: [Orocos-users] make error

On Thursday 24 June 2010 10:25:43 Willems, B. wrote:
> I removed the CMakeCache.txt and did cmake . again but make still stops at
> 50% with the same error.

Do you need the netcdf reporting functionality? Otherwise I would suggest to
switch it off.

Ruben

> Regards
>
> Bas Willems
> ________________________________________
> Van: Ruben Smits [ruben [dot] smits [..] ...]
> Verzonden: donderdag 24 juni 2010 10:22
> Aan: orocos-users [..] ...
> CC: Willems, B.
> Onderwerp: Re: [Orocos-users] make error
>
> On Thursday 24 June 2010 10:17:29 Willems, B. wrote:
> > Hi All,
> >
> > I want to use the Orocos RTT and therefor the Orocos OCL should be
> > installed. However I am not succeeding in installing it.
> >
> > I have downloaded and untarred orocos-ocl-1.10.2. Initially using "cmake
> > ." did not succeed as several dependencies were missing. I searched for
> > most of them on the internet and installed them. However the following
> > are still missing: - Qt4 >= 4.1
> > - canlib
> > - orocos-kdltk-gnulinux >= 0.99
> > Although it is missing these dependencies it is still capable of
> > completing the cmake. If i now want to "make" it the following error
> > occurs after 50% completion:
> >
> > ...
> > ...
> > [ 43%] Building CXX object
> > reporting/CMakeFiles/orocos-reporting-gnulinux.dir/socketmarshaller.o [
> > 46%] Building CXX object
> > reporting/CMakeFiles/orocos-reporting-gnulinux.dir/TcpReporting.o Linking
> > CXX shared library liborocos-reporting-gnulinux.so
> > [ 46%] Built target orocos-reporting-gnulinux
> > [ 50%] Building CXX object
> > reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/NetcdfReporting
> > . o /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp: In member
> > function ‘virtual void OCL::NetcdfReporting::stopHook()’:
> > /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp:75: warning:
> > ‘retval’ may be used uninitialized in this function Linking CXX shared
> > library liborocos-reporting-netcdf-gnulinux.so
> > /usr/bin/ld: cannot find -lnetcdf
> > collect2: ld returned 1 exit status
> > make[2]: *** [reporting/liborocos-reporting-netcdf-gnulinux.so.1.10.2]
> > Error 1 make[1]: ***
> > [reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > It seems to be referring to an error in netCDF (dependency installed by
> > myself). I tried reinstalling the netCDF but it did not give any
> > improvement. Perhaps I installed the wrong one? What should i do?
>
> can you remove the CMakeCache.txt file and try again?
>
> Ruben
>
> > Thanks for your help and time,
> >
> > Regards,
> >
> > Bas Willems
> > Eindhoven University of Technology

make error

Please don't top post

On Jun 24, 2010, at 04:41 , Willems, B. wrote:

> As i am new to the Orocos and most of its dependencies I do not know if i need it. For now, let's assume i do not need it. In that case, how can i switch it off?
>
> Regards,
>
> Bas
> ________________________________________
> Van: Ruben Smits [ruben [dot] smits [..] ...]
> Verzonden: donderdag 24 juni 2010 10:34
> Aan: Willems, B.
> CC: orocos-users [..] ...
> Onderwerp: Re: [Orocos-users] make error
>
> On Thursday 24 June 2010 10:25:43 Willems, B. wrote:
>> I removed the CMakeCache.txt and did cmake . again but make still stops at
>> 50% with the same error.
>
> Do you need the netcdf reporting functionality? Otherwise I would suggest to
> switch it off.
>
> Ruben
>
>> Regards
>>
>> Bas Willems
>> ________________________________________
>> Van: Ruben Smits [ruben [dot] smits [..] ...]
>> Verzonden: donderdag 24 juni 2010 10:22
>> Aan: orocos-users [..] ...
>> CC: Willems, B.
>> Onderwerp: Re: [Orocos-users] make error
>>
>> On Thursday 24 June 2010 10:17:29 Willems, B. wrote:
>>> Hi All,
>>>
>>> I want to use the Orocos RTT and therefor the Orocos OCL should be
>>> installed. However I am not succeeding in installing it.
>>>
>>> I have downloaded and untarred orocos-ocl-1.10.2. Initially using "cmake
>>> ." did not succeed as several dependencies were missing. I searched for
>>> most of them on the internet and installed them. However the following
>>> are still missing: - Qt4 >= 4.1
>>> - canlib
>>> - orocos-kdltk-gnulinux >= 0.99
>>> Although it is missing these dependencies it is still capable of
>>> completing the cmake. If i now want to "make" it the following error
>>> occurs after 50% completion:
>>>
>>> ...
>>> ...
>>> [ 43%] Building CXX object
>>> reporting/CMakeFiles/orocos-reporting-gnulinux.dir/socketmarshaller.o [
>>> 46%] Building CXX object
>>> reporting/CMakeFiles/orocos-reporting-gnulinux.dir/TcpReporting.o Linking
>>> CXX shared library liborocos-reporting-gnulinux.so
>>> [ 46%] Built target orocos-reporting-gnulinux
>>> [ 50%] Building CXX object
>>> reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/NetcdfReporting
>>> . o /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp: In member
>>> function ‘virtual void OCL::NetcdfReporting::stopHook()’:
>>> /usr/local/orocos-ocl-1.10.2/reporting/NetcdfReporting.cpp:75: warning:
>>> ‘retval’ may be used uninitialized in this function Linking CXX shared
>>> library liborocos-reporting-netcdf-gnulinux.so
>>> /usr/bin/ld: cannot find -lnetcdf
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [reporting/liborocos-reporting-netcdf-gnulinux.so.1.10.2]
>>> Error 1 make[1]: ***
>>> [reporting/CMakeFiles/orocos-reporting-netcdf-gnulinux.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> It seems to be referring to an error in netCDF (dependency installed by
>>> myself). I tried reinstalling the netCDF but it did not give any
>>> improvement. Perhaps I installed the wrong one? What should i do?
>>
>> can you remove the CMakeCache.txt file and try again?
>>
>> Ruben
>>
>>> Thanks for your help and time,
>>>
>>> Regards,
>>>
>>> Bas Willems
>>> Eindhoven University of Technology