Skip to content

collect2.exe: error: ld returned 5 exit status #1

@isamu2025

Description

@isamu2025

F:\HaxeFlixelProject\heaps\hlc-compiler-sample>run-hlc-compiler.bat
Compiling...
collect2.exe: error: ld returned 5 exit status
[ERROR] Caught exception:
Compilation command failed:
gcc -o F:\HaxeFlixelProject\heaps\hlc-compiler-sample\bin\main -I F:\HaxeFlixelProject\heaps\hlc-compiler-sample\out\c\ -I D:\HaxeToolkit\hl\include\ -L D:\HaxeToolkit\hl\ -w -mwindows -std=c11 F:\HaxeFlixelProject\heaps\hlc-compiler-sample\out\c\main.c C:\Windows\System32\dbghelp.dll D:\HaxeToolkit\hl\ssl.hdll D:\HaxeToolkit\hl\ui.hdll D:\HaxeToolkit\hl\uv.hdll D:\HaxeToolkit\hl\fmt.hdll D:\HaxeToolkit\hl\mysql.hdll D:\HaxeToolkit\hl\sdl.hdll -llibhl

For a list of options, see:
https://github.com/fal-works/hlc-compiler

haxe --version 4.3.4

HL/JIT 1.14.0 (c)2015-2023 Haxe Foundation
Usage : hl [--debug ] [--debug-wait]

gcc --version
gcc (tdm64-1) 10.3.0
Copyright (c) 2020 Free Software Foundation, Inc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions