Hi,
I am using the master branch with an updated version of 3rdPart « concurrentqueue » (compilation failed else)
with examples given into examples/c/, I am able to execute it after an export LD_LIBRARY_PATH=/home/root/Test_CAN/libicsneo-master (else appli could not find the library)
I plug a ValueCan4-2 on the USB port and then execute the example program, result is
_root@IMX6TST:~/Test_CAN/libicsneo-master/examples/c/interactive# ./libicsneoc-interactive-example
ICS icsneoc.dll version 0.2.0
Press the letter next to the function you want to use:
A - List all devices
B - Scan for new devices
C - Open/close
D - Go online/offline
E - Enable/disable message polling
F - Get messages
G - Send message
H - Get events
I - Set HS CAN to 250K
J - Set HS CAN to 500K
L - Set Digital IO
M - Set HS CAN termination
X - Exit
b
0 new devices found!
No devices found! Please scan for new devices._
Any idea why ?
Compilation output was
cmake .
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Include paths
Loaded extensions:
-- Build type: RelWithDebInfo
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.22
-- Found LIBUSB: /lib/libusb-1.0.so
-- Found Boost: /usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Not generating API documentation
-- Detected git snapshot version: unknown
-- Not building libftdi1++
-- Not building python bindings
-- ftdi_eeprom build is disabled
-- libConfuse not found, won't build ftdi_eeprom
-- NOT building unit test
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PCAP: /usr/lib/libpcap.so
-- Performing Test PCAP_LINKS_SOLO
-- Performing Test PCAP_LINKS_SOLO - Success
-- Looking for pcap_get_pfring_id
-- Looking for pcap_get_pfring_id - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/root/Test_CAN/libicsneo-master
make -j2
[ 17%] Built target libicsneoc-interactive-example
[ 19%] Built target ftdi1
[ 23%] Built target ftdi1-static
[ 23%] Built target fatfs
[ 96%] Built target icsneocpp
[100%] Built target icsneoc
Hi, I am using the master branch with an updated version of 3rdPart « concurrentqueue » (compilation failed else)
with examples given into examples/c/, I am able to execute it after an export LD_LIBRARY_PATH=/home/root/Test_CAN/libicsneo-master (else appli could not find the library)
I plug a ValueCan4-2 on the USB port and then execute the example program, result is
Any idea why ?
Compilation output was
The ValueCan device is blinking orange (usb tail).
Thanks NP