ICSim icon indicating copy to clipboard operation
ICSim copied to clipboard

ICSim executable file is missing in repo.

Open rajan-sharma-in opened this issue 5 years ago • 7 comments

here is the list of files.

drwxrwxr-x 5 rajan rajan 4096 Jun 21 20:54 . drwxr-xr-x 25 rajan rajan 4096 Jun 21 20:54 .. drwxrwxr-x 2 rajan rajan 4096 Jun 21 20:48 art -rw-rw-r-- 1 rajan rajan 20553 Jun 21 20:48 controls.c drwxrwxr-x 2 rajan rajan 4096 Jun 21 20:48 data drwxrwxr-x 8 rajan rajan 4096 Jun 21 20:48 .git -rwxrwxr-x 1 rajan rajan 13598 Jun 21 20:48 icsim.c -rw-rw-r-- 1 rajan rajan 14111 Jun 21 20:48 lib.c -rw-rw-r-- 1 rajan rajan 8338 Jun 21 20:48 lib.h -rw-rw-r-- 1 rajan rajan 13168 Jun 21 20:48 lib.o -rw-rw-r-- 1 rajan rajan 35149 Jun 21 20:48 LICENSE -rw-rw-r-- 1 rajan rajan 300 Jun 21 20:48 Makefile -rw-rw-r-- 1 rajan rajan 3378 Jun 21 20:48 README.md -rwxrwxr-x 1 rajan rajan 100 Jun 21 20:48 setup_vcan.sh

but it don't have icsim executable file. please fix it.
Capture

rajan-sharma-in avatar Jun 21 '20 15:06 rajan-sharma-in

missing icsim executable file

rajan-sharma-in avatar Jun 21 '20 15:06 rajan-sharma-in

The binaries were removed as they were causing problems in newer Linux distros where they had moved the SDL2 libraries. Please try to compile using make You can also look at issue #20 if you have problems

zombieCraig avatar Jun 22 '20 15:06 zombieCraig

i can`t open ./icsim
it show file not available how can i open icsim file plz teach me

SajawalTeachMax avatar Sep 13 '20 14:09 SajawalTeachMax

i can`t open ./icsim it show file not available how can i open icsim file plz teach me

after cloning into this repo go to ICSim directory and enter "make icsim" command, it should resolve your issue

inkyguy avatar Sep 28 '20 12:09 inkyguy

i can`t open ./icsim it show file not available how can i open icsim file plz teach me

You might need gcc

sudo apt install gcc

cd into the folder ICSim and type

make

Notes: On a fresh install of Ubuntu I needed to install net-tools to run ifconfig

sudo apt-get install -y net-tools

I also changed the second line of the Makefile to

CFLAGS=-I/usr/include/x86_64-linux-gnu/SDL2

this may not be necessary depending on where SDL2 is located.

JEdwards87 avatar Oct 01 '20 08:10 JEdwards87

i can`t open ./icsim it show file not available how can i open icsim file plz teach me

after cloning into this repo go to ICSim directory and enter "make icsim" command, it should resolve your issue

it solved my problem of running ICSim . Thanks

SAIREDDY54 avatar Dec 01 '20 04:12 SAIREDDY54

When I do these commands in order, my problem has just been solved.

git clone https://github.com/libsdl-org/SDL
cd SDL
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --parallel
cd ICSim
gcc -c -o lib.o lib.c -I/home/naoumine/SDL/include
make

nuresrasoylu avatar Jul 31 '23 15:07 nuresrasoylu