Hi,
I am trying to run the code on several machines but it gives same error for Mint14, Mint17,Ubuntu 12.04 all x64 system. I get some Cg errors and code stops and waits to be terminated.You can see the screen image and the error log below. I would be happy if you can help solving this.
Bests,
Soner
![screenshot](https://cloud.githubusercontent.com/assets/6531722/7805610/bc10e9d0-03a7-11e5-8310-45963b456e6a.png)
%%%%%%%%%%%%%%%%Error Log Begins%%%%%%%%%%%%%%%%%%%%%%
coslam@coslam-XPS-12-9Q23 ~/coslam_codes/CoSLAM-master/CoSlam-build $ ./CoSLAM ./input.txt
nViews:2
Skipped frames:0
Init frames:0
Video input:/home/coslam/coslam_codes/CoSLAM-master/rob_01_2015-05-21-17-45-04.avi
Camera parameters:/home/coslam/coslam_codes/CoSLAM-master/rob_01_rgb_A00364A05539053A.txt
Skipped frames:0
Init frames:0
Video input:/home/coslam/coslam_codes/CoSLAM-master/rob_02_2015-05-21-17-45-01.avi
Camera parameters:/home/coslam/coslam_codes/CoSLAM-master/rob_02_rgb_A00364A06192053A.txt
Loading video sequences.. OK!
Cg error: The compile returned an error.
Program: PyramidWithDerivativesCreator::buildPyramidForGrayscaleImage_impl::pass1HorizShader
Cg compiler report:
(73) : warning C7011: implicit cast from "float4" to "float"
(74) : warning C7011: implicit cast from "float4" to "float"
(75) : warning C7011: implicit cast from "float4" to "float"
(76) : warning C7011: implicit cast from "float4" to "float"
(77) : warning C7011: implicit cast from "float4" to "float"
(73) : warning C7011: implicit cast from "float4" to "float"
(74) : warning C7011: implicit cast from "float4" to "float"
(75) : warning C7011: implicit cast from "float4" to "float"
(76) : warning C7011: implicit cast from "float4" to "float"
(77) : warning C7011: implicit cast from "float4" to "float"
(124) : error C3004: function "half2 unpack_2half(float);" not supported in this profile
(125) : error C3004: function "half2 unpack_2half(float);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: PyramidWithDerivativesCreator::buildPyramidForGrayscaleImage_impl::pass1VertShader
Cg compiler report:
(115) : error C3004: function "float pack_2half(half2);" not supported in this profile
(116) : error C3004: function "float pack_2half(half2);" not supported in this profile
(117) : error C3004: function "float pack_2half(half2);" not supported in this profile
(118) : error C3004: function "float pack_2half(half2);" not supported in this profile
(119) : error C3004: function "float pack_2half(half2);" not supported in this profile
(120) : error C3004: function "float pack_2half(half2);" not supported in this profile
(121) : error C3004: function "float pack_2half(half2);" not supported in this profile
(122) : error C3004: function "float pack_2half(half2);" not supported in this profile
(123) : error C3004: function "float pack_2half(half2);" not supported in this profile
(124) : error C3004: function "float pack_2half(half2);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: PyramidWithDerivativesCreator::buildPyramidForGrayscaleImage_impl::pass1HorizShader
Cg compiler report:
(73) : warning C7011: implicit cast from "float4" to "float"
(74) : warning C7011: implicit cast from "float4" to "float"
(75) : warning C7011: implicit cast from "float4" to "float"
(76) : warning C7011: implicit cast from "float4" to "float"
(77) : warning C7011: implicit cast from "float4" to "float"
(73) : warning C7011: implicit cast from "float4" to "float"
(74) : warning C7011: implicit cast from "float4" to "float"
(75) : warning C7011: implicit cast from "float4" to "float"
(76) : warning C7011: implicit cast from "float4" to "float"
(77) : warning C7011: implicit cast from "float4" to "float"
(124) : error C3004: function "half2 unpack_2half(float);" not supported in this profile
(125) : error C3004: function "half2 unpack_2half(float);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: PyramidWithDerivativesCreator::buildPyramidForGrayscaleImage_impl::pass1VertShader
Cg compiler report:
(115) : error C3004: function "float pack_2half(half2);" not supported in this profile
(116) : error C3004: function "float pack_2half(half2);" not supported in this profile
(117) : error C3004: function "float pack_2half(half2);" not supported in this profile
(118) : error C3004: function "float pack_2half(half2);" not supported in this profile
(119) : error C3004: function "float pack_2half(half2);" not supported in this profile
(120) : error C3004: function "float pack_2half(half2);" not supported in this profile
(121) : error C3004: function "float pack_2half(half2);" not supported in this profile
(122) : error C3004: function "float pack_2half(half2);" not supported in this profile
(123) : error C3004: function "float pack_2half(half2);" not supported in this profile
(124) : error C3004: function "float pack_2half(half2);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: KLT_Detector::_cornernessShader2
Cg compiler report:
(28) : warning C7011: implicit cast from "float4" to "float"
(28) : warning C7011: implicit cast from "float4" to "float"
(33) : error C3004: function "half4 unpack_4ubyte(float);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: KLT_Detector::_nonmaxShader
Cg compiler report:
(12) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
(16) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
(22) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
(26) : error C3004: function "half4 unpack_4ubyte(float);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: KLT_Detector::_traverseShader
Cg compiler report:
(27) : error C3004: function "float4 tex2Dlod(sampler2D, float4);" not supported in this profile
(87) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: KLT_Detector::detectCorners()::discrimiatorShader
Cg compiler report:
(13) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
(14) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
(15) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
(16) : error C3004: function "float pack_4ubyte(float4);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: The compile returned an error.
Program: KLT_Detector::detectCorners()::presentFeaturesShader
Cg compiler report:
(3) : error C3004: function "half4 unpack_4ubyte(float);" not supported in this profile
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid parameter handle.
Cg error: Invalid program handle.
Cg error: Invalid program handle.
No feature points has been detected!
No feature points has been detected!
slam stopped!
%%%%%%%%%%%%%%%%Error Log Ends%%%%%%%%%%%%%%%%%%%%%%