News:

The forums are under a spambot siege. Registration has been disabled temporarily. Please contact me to register an account.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Wan-anong

#1
i did it but it still has the same result :'(
#2
We could not run our laser even though  we try to follow your instruction carefully

Compiling and Using the Lasershark Jack Host Application (for use with OpenLase):



this happen after we tryed to make it.....

iids@iids-X450CA:~/Desktop/lasershark_hostapp$ make
gcc -Wall -o lasershark_twostep lasershark_twostep.c lasersharklib/lasershark_uart_bridge_lib.c \
                        twosteplib/ls_ub_twostep_lib.c twosteplib/twostep_host_lib.c \
                        twosteplib/twostep_common_lib.c `pkg-config --libs --cflags libusb-1.0`
lasershark_twostep.c: In function ‘main’:
lasershark_twostep.c:301:5: warning: ‘memset’ used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
     memset(lasershark_serialnum, lasershark_serialnum_len, 0);
     ^
In file included from twosteplib/ls_ub_twostep_lib.h:27:0,
                 from lasershark_twostep.c:31:
lasershark_twostep.c: At top level:
twosteplib/twostep_common_lib.h:162:13: warning: inline function ‘twostep_verify_start_token’ declared but never defined
inline bool twostep_verify_start_token(uint8_t *buf);
             ^
twosteplib/twostep_common_lib.h:161:13: warning: inline function ‘twostep_insert_start_token’ declared but never defined
inline void twostep_insert_start_token(uint8_t *buf);
             ^
In file included from twosteplib/ls_ub_twostep_lib.h:27:0,
                 from twosteplib/ls_ub_twostep_lib.c:22:
twosteplib/twostep_common_lib.h:162:13: warning: inline function ‘twostep_verify_start_token’ declared but never defined
inline bool twostep_verify_start_token(uint8_t *buf);
             ^
twosteplib/twostep_common_lib.h:161:13: warning: inline function ‘twostep_insert_start_token’ declared but never defined
inline void twostep_insert_start_token(uint8_t *buf);
             ^
In file included from twosteplib/twostep_host_lib.h:27:0,
                 from twosteplib/twostep_host_lib.c:22:
twosteplib/twostep_common_lib.h:162:13: warning: inline function ‘twostep_verify_start_token’ declared but never defined
inline bool twostep_verify_start_token(uint8_t *buf);
             ^
twosteplib/twostep_common_lib.h:161:13: warning: inline function ‘twostep_insert_start_token’ declared but never defined
inline void twostep_insert_start_token(uint8_t *buf);
             ^
/tmp/ccmO9wSs.o: In function `twostep_cmd_set_steps':
twostep_host_lib.c:(.text+0x4d): undefined reference to `twostep_insert_start_token'
/tmp/ccmO9wSs.o: In function `twostep_cmd_set_safe_steps':
twostep_host_lib.c:(.text+0xd3): undefined reference to `twostep_insert_start_token'
/tmp/ccmO9wSs.o: In function `twostep_cmd_set_step_until_switch':
twostep_host_lib.c:(.text+0x156): undefined reference to `twostep_insert_start_token'
/tmp/ccmO9wSs.o: In function `twostep_cmd_start':
twostep_host_lib.c:(.text+0x1be): undefined reference to `twostep_insert_start_token'
/tmp/ccmO9wSs.o: In function `twostep_cmd_stop':
twostep_host_lib.c:(.text+0x226): undefined reference to `twostep_insert_start_token'
/tmp/ccmO9wSs.o:twostep_host_lib.c:(.text+0x28e): more undefined references to `twostep_insert_start_token' follow
/tmp/ccLUrsBM.o: In function `twostep_resp_valid':
twostep_common_lib.c:(.text+0x303): undefined reference to `twostep_verify_start_token'
collect2: error: ld returned 1 exit status
Makefile:41: recipe for target 'lasershark_tw
#3
i plan to use galvanometer mirror and  use lasershark  to control it . i read your article using openlase and when i compile lasershark jack host application to receives data from OpenLase-based and transmits data to the Lasershark over USB . i do the following that you give but it's not work for me and i have no idea what wrong. can you please help me with this.
#4
i can not run the  Jack application  . i have compiling and running the application as follows from this >>  http://macpod.net/electronics/lasershark/lasershark_usage_linux.php
but it don't work  can you please help me .