Sega Saturn Development > General Jo Engine Help

Can't compile demo1 on Windows 10

<< < (2/3) > >>

ponut64:
I think deevus is onto something. My first thought is check the makefile; if you can compile any other demo, copying over the makefile from that one into demo1 can change things...

deevus:

--- Quote from: ponut64 on July 15, 2018, 09:05:54 am ---I think deevus is onto something. My first thought is check the makefile; if you can compile any other demo, copying over the makefile from that one into demo1 can change things...

--- End quote ---

The issue is in the global Makefile Compiler/COMMON/jo_engine_makefile so it wouldn't be able to compile anything if there is case sensitivity.

20EnderDude20:
I now have this error:

--- Code: ---
~/jo engine/joengine-master/Samples/demo - sonic$ make
wine ./sh-coff-gcc.exe -m2 -L../../Compiler/SGL_302j/lib_coff -Xlinker --format=coff-sh -Xlinker -T../../Compiler/COMMON/sgl.linker -Xlinker -Map -Xlinker sl_coff.map -Xlinker -e -Xlinker ___Start -nostartfiles  ../../Compiler/SGL_302j/lib_coff/sglarea.o main.o sonic.o ../../jo_engine/tga.o ../../jo_engine/audio.o ../../jo_engine/fs.o ../../jo_engine/font.o ../../jo_engine/input.o ../../jo_engine/physics.o ../../jo_engine/core.o ../../jo_engine/math.o ../../jo_engine/malloc.o ../../jo_engine/tools.o ../../jo_engine/sprites.o ../../jo_engine/map.o ../../jo_engine/list.o ../../jo_engine/sprite_animator.o ../../jo_engine/image.o ../../jo_engine/background.o ../../jo_engine/time.o ../../jo_engine/vdp1_command_pipeline.o ../../Compiler/SGL_302j/lib_coff/SEGA_SYS.A ../../Compiler/SGL_302j/lib_coff/LIBCD.A ../../Compiler/SGL_302j/lib_coff/LIBSGL.A -o sl_coff.coff
002c:fixme:ntoskrnl:KeInitializeEvent stub: 0x112888 1 0
002c:fixme:ntoskrnl:KeInitializeEvent stub: 0x112898 1 1
002c:fixme:ntoskrnl:PoSetPowerState (0x1 4 1124440) stub
wine: Unhandled page fault on read access to 0x00001127 at address 0x11257c (thread 002c), starting debugger...
000f:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"vmm" failed to start: 1053
ld: cannot find -lgcc
../../Compiler/COMMON/jo_engine_makefile:231: recipe for target 'sl_coff.coff' failed
make: *** [sl_coff.coff] Error 1

--- End code ---

SaturnTeam:
Open the makefile in your coding program and make sure the end of it says the following:

--- Code: ---
SRCS=main.c
JO_ENGINE_SRC_DIR=../../jo_engine
COMPILER_DIR=../../Compiler
include $(COMPILER_DIR)/COMMON/jo_engine/makefile

--- End code ---
Also, replace the clean, clean.sh, compile, compile.sh, and all 6 run_with files with ones from the storyboard demo.

20EnderDude20:
That didn't do anything. Ld still complains that it can't find libgcc:


--- Code: ---
ld: cannot find -lgcc

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version