Closed 0x0015 closed 4 years ago
@0x0015 Thanks your reports, I feel it's a bit mistake indicated line '.H' extension :) Could you fix with extension '.h' and try to build?
Okay, replacing i2lc_private.H to .h it builds now. So I have the IL2C folder in the bin of my c# project(just the getting started sample), so how do I want to build it? The getting started only explains v++, with visual studio.
Thanks your suggestion, I applied it.
And yes, the getting started contains only VC++, and I feel it's very bad situation too...
(I'm switching linux on mainly my development environment from windows between few days. I was an old unix man in lives Sun OS generation :)
Would you try to build manually directly uses with gcc?
The runtime builder made libil2c-gcc-linux-x86_64-Debug.a
in IL2C.Runtime/lib
, so we have to do:
IL2C.Runtime/include
IL2C.Runtime/lib/libil2c-gcc-linux-x86_64-Debug.a
If it can do, we can use cmake scripts at IL2C.Runtime/cmake
next, but it's not tested well on linux environment.
@0x0015 I fixed cmake scripts for Calculator sample code inside samples directory. Could you try to it?
(execute build.sh
and you can find Calculator
executable into build/Debug
directory.)
I cloned pulled the devel branch, ran bulid-runtime.sh and build.sh in the calculator demo, and it worked! Thanks for the help.
OS: Manjaro Linux x86_64
NOTE: For some reason I don't have the command 'arch' installed so I replaced it with 'uname -m' in build-runtime.sh. Doesn't seem to be related to the error, but I thought I should mention it anyway.