Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICSim executable file is missing in repo. #21

Open
iserveradmin opened this issue Jun 21, 2020 · 7 comments
Open

ICSim executable file is missing in repo. #21

iserveradmin opened this issue Jun 21, 2020 · 7 comments

Comments

@iserveradmin
Copy link

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

@iserveradmin
Copy link
Author

missing icsim executable file

@zombieCraig
Copy link
Owner

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

@SajawalTeachMax

This comment has been minimized.

@inkyguy
Copy link

inkyguy commented Sep 28, 2020

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

@JEdwards87
Copy link

JEdwards87 commented Oct 1, 2020

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.

@SAIREDDY54
Copy link

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

@nuresrasoylu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants