Mark Henderson
Mark Henderson
Thanks for the suggestion.
There appears to be somewhat of a target list in the standard library [todo issue #33](https://github.com/seq-lang/seq/issues/33)
Hi @rutlang. For strings, the tutorial has an [example ](https://docs.seq-lang.org/tutorial/primer.html#foreign-function-interface-ffi).
Is this the recommended way to handle the case where the variable is an int in C and i32 in Seq? ``` # int sum_of_elements(int *arr , int n) from...
Hi @rutlang. Where is the from_ptr() function? Does this [FFI info ](https://docs.seq-lang.org/tutorial/primer.html?highlight=library#foreign-function-interface-ffi) help?
Hi @samhorsfield96. Try changing the `/path/to/seq/lib` to the specific path where the Seq shared libs are installed on your system. e.g. For me it is `/home/mhenders/.seq/lib/seq`. You could also consider...
@samhorsfield96 I have been running the examples again and seeing the same issues as you - lots of 'multiple definition of' errors. I'm using Ubuntu (WSL) as well. Let us...
@samhorsfield96, I haven't determined root cause yet. I got a little closer. Perhaps this might help you. ``` $ seqc build -o foo.o foo.seq --relocation-model=pic $ gcc -shared -L/home/mhenders/.seq/lib/seq -o...
I've had good luck running on Ubuntu in WSL2 on Windows 10. [https://docs.microsoft.com/en-us/windows/wsl/install-win10](https://docs.microsoft.com/en-us/windows/wsl/install-win10) Once WSL2 is up and running: `/bin/bash -c "$(curl -fsSL https://seq-lang.org/install.sh)"` I would recommend trying this option...
Hi @mauriceling, Thanks for pointing this out. Are there specific name clashes you've experienced? I was trying to think through a scenario where the Seq language bio module may conflict...