freej2me icon indicating copy to clipboard operation
freej2me copied to clipboard

make and make install not working

Open dananothername opened this issue 3 years ago • 21 comments

hey i really need this ti work for TAS it show this error compilation terminated. make: *** [Makefile:6: all] Error 1 dan@dan-Satellite-L650:~/freej2me/freej2me/src/sdl2$ make install Installing interface to /usr/local/bin/ cp: cannot stat './sdl_interface': No such file or directory make: *** [Makefile:10: install] Error 1 dan@dan-Satellite-L650:~/freej2me/freej2me/src/sdl2$

dananothername avatar May 19 '22 13:05 dananothername

@hex007 This seems to be related to Anbu / SDL interface.

If you're not familiar with the term, TAS is short for "tool assisted speedrun". I'm assuming that your frontend offers some advantages over the retroarch and awt frontends for that particular community.

recompileorg avatar May 19 '22 14:05 recompileorg

@dananothername can you share output of both make and then sudo make install commands run from freej2me/src/sdl2 directory ?

I built and installed successfully

➜  sdl2 git:(master) ls
anbu.cpp  Makefile  sdl_interface

You will need g++, SDL2, and FreeImage with their devel packages as dependencies as indicated when you run make command

hex007 avatar May 19 '22 14:05 hex007

ill show you the output later now i have some questions 1 why don't you upload the installed j2me i thing it work on every linux

2 what do you mean about freeimage and the rest of the paragraph show me an example ,link

dananothername avatar May 21 '22 07:05 dananothername

ill show you the output later
now i have some questions
1 why don't you upload the installed j2me 
i thing it work on every linux

This is a binary compiled on a system. Can you share what OS and architecture you are using?

2  what do you mean about freeimage and the rest of the paragraph show me an example ,link 

FreeImage and SDL2 are dependencies. Based on your os I can share packages that you would need to install

hex007 avatar May 21 '22 07:05 hex007

1- my os is bodhi linux (ubuntu 20.4) its native 2-ok shear also see this shot-2022-05-21_16-30-58 here j2me folder doesn't include cmake files

dananothername avatar May 21 '22 21:05 dananothername

You need to cd into 'src/sdl2' before running make and make install

hex007 avatar May 22 '22 04:05 hex007

shot-2022-05-22_05-24-56 an error after the command make is this the right way of installing FreeImage

dananothername avatar May 22 '22 09:05 dananothername

Did you install development packages of sdl2?

hex007 avatar May 22 '22 12:05 hex007

i can't find how to install sdl2 development packages in google do you have instraction

dananothername avatar May 22 '22 13:05 dananothername

You are looking for libsdl2-dev package.

sudo apt-get install libsdl2-dev

Running this should work hopefully

hex007 avatar May 22 '22 14:05 hex007

shot-2022-05-22_11-27-20 its already there maybe need an update what next also can we continue in discord

dananothername avatar May 22 '22 15:05 dananothername

shot-2022-05-23_04-40-38 its not working yet

dananothername avatar May 23 '22 21:05 dananothername

Find me here Hex 5853

hex007 avatar Jun 06 '22 23:06 hex007

link for that social media i don't know what is Hex neither google know

dananothername avatar Jun 07 '22 10:06 dananothername

As requested you can find me on discord Hex#5853 is my profile

hex007 avatar Jun 07 '22 11:06 hex007

I'm having the same issue. Is this designed to be run on 32 bit or 64 bit linux. I have a feeling the issue might be because its designed for 32 bit, and, Ubuntu at least, don't support 32 bit libraries for the most part, meaning the only available options are 64 bit, however not compatible?

Yamboy1 avatar Jun 08 '22 01:06 Yamboy1

It runs fine on 64 bit as well

hex007 avatar Jun 08 '22 04:06 hex007

@hex007 What do you think about adding something like a BUILD.md file with instructions for getting the appropriate libraries and compiling Anbu and the libretro core?

recompileorg avatar Jun 08 '22 04:06 recompileorg

Sure I will do that.

hex007 avatar Jun 08 '22 05:06 hex007

hey I sent the friend request also i have the freej2me.jar but as i said make fail say after the compile done will it be an excutble file to run in libTAS? if so id like you to send that file or compile it for me i have ubuntu 64bit maybe it will work

dananothername avatar Jun 08 '22 20:06 dananothername

make[2]: * [/usr/src/linux-headers-5.18.0-kali5-common/scripts/Makefile.build:489: /home/ziad/Desktop/rtl8188eus/8188eu.o] Error 1 make[1]: * [/usr/src/linux-headers-5.18.0-kali5-common/Makefile:1858: /home/ziad/Desktop/rtl8188eus] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-kali5-amd64' make: * [Makefile:2058: modules] Error 2 i have this

Ziad507 avatar Jul 16 '22 07:07 Ziad507