Giter Site home page Giter Site logo

sgdk_wine's People

Contributors

franticware avatar sgadrat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cybersys sgadrat

sgdk_wine's Issues

bad interpreter: Permission denied

I'm having trouble to comple a sample here at ~/pCloudDrive/MegaDrive/SGDK/sample/joy-test

make GDK=$HOME/pCloudDrive/MegaDrive/SGDK -f $HOME/pCloudDrive/MegaDrive/SGDK/makefile_wine.gen
mkdir -p src/boot
mkdir -p out
/home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc  -DSGDK_GCC -m68000 -Wall -Wextra -Wno-shift-negative-value -Wno-main -Wno-unused-parameter -fno-builtin -fms-extensions -Iinc -Isrc -Ires -I/home/drummond/pCloudDrive/MegaDrive/SGDK/inc -I/home/drummond/pCloudDrive/MegaDrive/SGDK/res -B/home/drummond/pCloudDrive/MegaDrive/SGDK/bin -c src/boot/rom_head.c -o out/rom_head.o
sh: /home/drummond/pCloudDrive/MegaDrive/SGDK/bin/gcc: /bin/bash: bad interpreter: Permission denied
make: *** [/home/drummond/pCloudDrive/MegaDrive/SGDK/makefile_wine.gen:171: out/rom_head.o] Error 126

What should I do in this case?

Same issue as https://github.com/Franticware/SGDK_wine/issues/1#issue-797766868

#1 I have the same issue as this person.

Additional info is needed.

  1. What is your SGDK version?

  2. What linux distro are you using? I have tested it only on Manjaro.

  3. What is the output of:

cd /home/gustavo/apps/sgdk/bin
sh generate_wine.sh

?

  1. Have you tried building an existing sample, e.g.:
cd /home/gustavo/apps/sgdk/bin/sample/sprite
make GDK=/home/gustavo/apps/sgdk -f /home/gustavo/apps/sgdk/makefile_wine.gen

?

Originally posted by @Franticware in #1 (comment)

Hi, I'm having the exact same issue.
I'm on Linux Mint 20.2, with SGDK-1.62.

sh generate_wine.sh spits out:

ar as bintos cc1 cp cpp gcc gdb ld lto1 lto-wrapper mac68k make mkdir nm2wch nm objcopy objdump pcmtoraw rm sh sizebnd size sjasm xgmtool

And I can't find bin/sample/sprite.
Any ideas?

Can't compile

Hi,
I got this error when trying to compile :

gcc.exe: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found
compilation terminated.

Is it related to Wine ? Is there any ways to solve this ?

Thanks.

Unable to compile

Hi,

First thanks for your dev, I could compile at first thanks to it. Today I tried again after following a tutorial, and despite not having any error or just try to compile a basic template, it'll return this :

make GDK=~/Téléchargements/SGDK-1.80 -f ~/Téléchargements/SGDK-1.80/makefile_wine.gen
mkdir -p src/boot
mkdir -p out
/home/nicolas/Téléchargements/SGDK-1.80/bin/gcc -B/home/nicolas/Téléchargements/SGDK-1.80/bin -n -T /home/nicolas/Téléchargements/SGDK-1.80/md.ld -nostdlib out/sega.o @out/cmd_ /home/nicolas/Téléchargements/SGDK-1.80/lib/libmd.a /home/nicolas/Téléchargements/SGDK-1.80/lib/libgcc.a -o out/rom.out -Wl,--gc-sections
C:\users\nicolas\Temp\ccSorTYf.ltrans2.ltrans.o: In function _reset_entry': <artificial>:(.text+0xb0e): undefined reference to main'
C:\users\nicolas\Temp\ccSorTYf.ltrans2.ltrans.o: In function _start_entry': <artificial>:(.text+0xbf8): undefined reference to main'
:(.text+0xcce): undefined reference to `main'
make: *** [/home/nicolas/Téléchargements/SGDK-1.80/makefile_wine.gen:156 : out/rom.out] Erreur 1

I didn't do anything special since yesterday and the 'main' function is referenced correctly. Here's my gist if you have time to take a look :
https://gist.github.com/nicoco59/ed239c3921ae9e9cc6ccd290936bb026

Thanks in advance for your help.

It's not working for me

make GDK=/home/gustavo/apps/sgdk -f /home/gustavo/apps/sgdk/makefile_wine.gen
mkdir -p src/boot
mkdir -p out
/home/gustavo/apps/sgdk/bin/gcc -B/home/gustavo/apps/sgdk/bin -n -T /home/gustavo/apps/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /home/gustavo/apps/sgdk/lib/libmd.a /home/gustavo/apps/sgdk/lib/libgcc.a -o out/rom.out -Wl,--gc-sections
C:\users\gustavo\Temp\ccQoK8II.ltrans1.ltrans.o: In function `_reset_entry':
<artificial>:(.text+0x1b2): undefined reference to `main'
C:\users\gustavo\Temp\ccQoK8II.ltrans1.ltrans.o: In function `_start_entry':
<artificial>:(.text+0x177e): undefined reference to `main'
<artificial>:(.text+0x18cc): undefined reference to `main'
make: *** [/home/gustavo/apps/sgdk/makefile_wine.gen:146: out/rom.out] Erro 1

am I doing everything correctly?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.