FreeBSD compilation
FreeBSD compilation
Hi all! Please tell me why the graphics are lost when compiling in FreeBSD?
Re: FreeBSD compilation
Trying to compile the file http://truechess.org/chess.bas
And get an error:
Version of FreeBasic: 1.09.0.
Operating system: FreeBSD (GhostBSD).
And get an error:
At the same time, under DOS and Windows, it is compiled without problems. Please suggest what could be the reason?$ fbc -lang qb -gen gcc -O 2 chess.bas
/usr/local/bin/../bin/ld: /usr/local/bin/../lib/freebasic/freebsd-x86_64/libfb.a(hook_ports.o): in function ‛fb_Wait’:
hook_ports.c:(.text+0xbf): undefined reference to ‛fb_hIn’
/usr/local/bin/../bin/ld: /usr/local/bin/../lib/freebasic/freebsd-x86_64/libfb.a(hook_ports.o): in function ‛fb_In’:
hook_ports.c:(.text+0x39): undefined reference to ‛fb_hIn’
/usr/local/bin/../bin/ld: /usr/local/bin/../lib/freebasic/freebsd-x86_64/libfb.a(hook_ports.o): in function ‛fb_Out’:
hook_ports.c:(.text+0x7c): undefined reference to ‛fb_hOut’
Version of FreeBasic: 1.09.0.
Operating system: FreeBSD (GhostBSD).
Re: FreeBSD compilation
Thanks a lot! Help on the topic — viewtopic.php?p=296169#p296169
-
- Posts: 2
- Joined: Mar 30, 2023 12:08
Re: FreeBSD compilation
Hello,
Missing dependencies: If the graphics libraries or dependencies required by the software you are compiling are not installed or not installed correctly, it can cause issues with graphics. Make sure to check that all required dependencies are installed and up-to-date.
Configuration issues: If the software you are compiling has specific configuration options related to graphics, it's possible that they are not set correctly. Make sure to review the documentation for the software and ensure that you are using the correct configuration options for your system.
Compilation errors: If there are errors during the compilation process, it can cause issues with graphics. Make sure to review any error messages that are displayed during compilation and address them before attempting to run the software.
Compatibility issues: If the software you are compiling was not designed or tested for use on FreeBSD, it's possible that it may not work correctly with the graphics system on your system. Make sure to check the software documentation and forums to see if there are any known issues or workarounds for running the software on FreeBSD.
Without more specific information about the software you are compiling and the issues you are experiencing, it's difficult to provide a more detailed answer. I would recommend reviewing the software documentation and forums, as well as consulting with the FreeBSD community for additional support.
Missing dependencies: If the graphics libraries or dependencies required by the software you are compiling are not installed or not installed correctly, it can cause issues with graphics. Make sure to check that all required dependencies are installed and up-to-date.
Configuration issues: If the software you are compiling has specific configuration options related to graphics, it's possible that they are not set correctly. Make sure to review the documentation for the software and ensure that you are using the correct configuration options for your system.
Compilation errors: If there are errors during the compilation process, it can cause issues with graphics. Make sure to review any error messages that are displayed during compilation and address them before attempting to run the software.
Compatibility issues: If the software you are compiling was not designed or tested for use on FreeBSD, it's possible that it may not work correctly with the graphics system on your system. Make sure to check the software documentation and forums to see if there are any known issues or workarounds for running the software on FreeBSD.
Without more specific information about the software you are compiling and the issues you are experiencing, it's difficult to provide a more detailed answer. I would recommend reviewing the software documentation and forums, as well as consulting with the FreeBSD community for additional support.