General Issues
Warnings and WDeprecated messages
Warnings and WDeprecated messages
Symptom: Output containing
WARNING or (WDeprecated)Solution: These will not disrupt compilation and can be safely ignored.hxcpp version prompt
hxcpp version prompt
Symptom:
This version of hxcpp … Would you like to do this now [y/n]Solution: Type y into the console and press Enter.Weird macro error with tall call stack
Weird macro error with tall call stack
Symptom: Macro error with a very long stack traceSolution: Restart Visual Studio Code.
This is caused by Polymod somewhere, and seems to only occur when there’s another compile error in the program. There is a bounty up for fixing this.
Get Thread Context Failed
Get Thread Context Failed
Symptom: Build fails with
Get Thread Context FailedSolution: Turn off other expensive applications while building.Type not found: T1
Type not found: T1
Symptom: Error thrown by
json2object: Type not found: T1Solution: Make sure the data type of @:default is correct.flixel.util.typeLimit.OneOfTwo isn’t supported by json2object.Class lists not properly generated
Class lists not properly generated
Symptom:
Class lists not properly generated. Try cleaning out your export folder, restarting your IDE, and rebuilding your project.Solution: This is a bug specific to HTML5. Follow the steps listed:- Delete the
exportfolder - Restart your IDE
- Rebuild the project
PDB file error (LNK1201)
PDB file error (LNK1201)
Symptom:
LINK : fatal error LNK1201: error writing to program database ''; check for insufficient disk space, invalid path, or insufficient privilegeSolution: The PDB file in your export folder is in use or exceeds 4 GB. Delete the export folder and build again.Git and Repository Issues
RPC failed during cloning
RPC failed during cloning
Symptom: Then try cloning again.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)Solution: This error happens due to poor network connectivity. Run this in your terminal:Missing or empty assets folder
Missing or empty assets folder
Symptom: Repository is missing an Then run:
assets folder, or assets folder is emptySolution: You did not clone the repository correctly! The assets are in a Git submodule.Navigate to your funkin folder:General library issues
General library issues
Symptom: Various compilation issues caused by library conflictsSolution: Delete the
.haxelib folder and reinstall libraries:Lime-Specific Issues
Segmentation fault after time changes mapping
Segmentation fault after time changes mapping
Symptom: Segmentation fault or crash after
Done mapping time changes: [SongTimeChange(0ms,102bpm)]Solution: Caused by using official Lime instead of Funkin’s fork. Reinstall Lime via hmm:Make sure you reinstall via
hmm to guarantee you get Funkin’s version of Lime.Could not find lime.ndll
Could not find lime.ndll
Symptom:
Uncaught exception - Could not find lime.ndll. … Advanced users may run "lime rebuild cpp" instead.Solution varies by platform:Linux
The binaries’ GLibC version might be more recent than your system supports. Run:The package names and install command may differ on non-Debian distros.
All Platforms
If binaries are missing, download pre-built binaries from Funkin’s Lime.Copy them to.haxelib/lime/git/ndll/<PLATFORM>64/, where <PLATFORM> is:WindowsLinuxMac
Platform-Specific Issues
Windows
Visual Studio Build Tools not found
Visual Studio Build Tools not found
Symptom: Compiler can’t find MSVC toolsSolution: Download and install Visual Studio Build Tools.Select Individual Components and install:
- MSVC v143 VS 2022 C++ x64/x86 build tools
- Windows 10/11 SDK
Linux
Missing libVLC dependencies
Missing libVLC dependencies
Symptom: Compilation fails due to missing VLC librariesSolution: Install libVLC development packages:Ubuntu/Debian:Other distros: See hxvlc documentation
Mac
Xcode Command Line Tools missing
Xcode Command Line Tools missing
Symptom: Compiler can’t find development toolsSolution: Install Xcode Command Line Tools:
Mobile (Android/iOS)
See the Mobile Compilation Guide for platform-specific troubleshooting.Runtime Issues
Game crashes on startup
Game crashes on startup
Possible causes:
- Missing or corrupted assets
- Incorrect build flags
- Platform incompatibility
- Verify assets were downloaded correctly (check
git submodule) - Try a clean build: Delete
exportfolder and rebuild - Check you’re using the correct platform flags
Assets not loading
Assets not loading
Symptom: Missing textures, sounds, or other assets during gameplaySolution:If using
-DREDIRECT_ASSETS_FOLDER:- This flag makes the game load assets from
assets/instead ofexport/ - Make sure assets exist in the source
assets/folder
- Assets should be in
export/[debug|release]/[platform]/bin/assets/ - Check that the build completed successfully
- Try a clean build
Performance issues
Performance issues
Symptom: Game runs slowly or stuttersSolutions:
- Build in release mode (without
-debugflag) - Disable logging:
-DNO_FEATURE_LOG_TRACE - Enable optimizations (automatic in release mode)
- Close other applications
- Update graphics drivers
Still Having Issues?
Search existing issues
Check if someone else has reported the same problem:Search GitHub Issues →
Check discussions
Look for similar questions in Discussions:Browse Discussions →
Open a new issue
If you’ve tried everything and still can’t compile, open a Compiling Help issue:Open Issue →Make sure to include:
- Your operating system and version
- The complete error message
- The command you ran
- What you’ve already tried
Quick Reference
Clean Build
When in doubt, try a clean build:Reinstall Libraries
If libraries are causing issues:Next Steps
Compilation Guide
Return to the main compilation guide
Contributing
Learn how to contribute code
Style Guide
Follow code conventions
GitHub Issues
Search or report issues
