Git Product home page Git Product logo

miniaudio-for-freebasic's People

Contributors

mudhairless avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

miniaudio-for-freebasic's Issues

Undefined reference to WinMain

Building the project encounters an error when building the example:

fbc -v -p bin -i include -s console examples/engine_hello_world.bas -o examples/engine_hello_world.exe
FreeBASIC Compiler - Version 1.09.0 (2021-12-31), built for win64 (64bit)
Copyright (C) 2004-2021 The FreeBASIC development team.
standalone
target:       win64, x86-64, 64bit
backend:      gcc
compiling:    examples/engine_hello_world.bas -o examples/engine_hello_world.c (main module)
compiling C:  C:\FreeBASIC\bin\win64\gcc.exe -m64 -march=x86-64 -S -nostdlib -nostdinc -Wall -Wno-unused -Wno-main -Werror-implicit-function-declaration -O0 -fno-strict-aliasing -frounding-math -fno-math-errno -fwrapv -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-format -masm=intel "examples/engine_hello_world.c" -o "examples/engine_hello_world.asm"
assembling:   C:\FreeBASIC\bin\win64\as.exe --64 --strip-local-absolute "examples/engine_hello_world.asm" -o "examples/engine_hello_world.exe"
linking:      C:\FreeBASIC\bin\win64\ld.exe -m i386pep -o "examples/engine_hello_world.exe" -subsystem console -T "C:\FreeBASIC\lib\win64\fbextra.x" --stack 2097152,2097152 -s -L "bin" -L "C:\FreeBASIC\lib\win64" -L "." "C:\FreeBASIC\lib\win64\crt2.o" "C:\FreeBASIC\lib\win64\crtbegin.o" "C:\FreeBASIC\lib\win64\fbrt0.o" "examples/engine_hello_world.exe" "-(" -lmingw32 -lmingwex -lgcc -lfb -lmsvcrt -lkernel32 -luser32 -lmoldname -lgcc_eh -lminiaudio64 "-)" "C:\FreeBASIC\lib\win64\crtend.o"
C:\FreeBASIC\bin\win64\ld.exe: C:\FreeBASIC\lib\win64/libmingw32.a(lib64_libmingw32_a-crt0_c.o): in function `main':
R:\winlibs64-sjlj-9.3.0\mingw-w64-v7.0.0\mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
linking failed: 'C:\FreeBASIC\bin\win64\ld.exe' terminated with exit code 1
make: *** [Makefile:37: examples/engine_hello_world.exe] Error 1

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.