Troubleshooting Guide
July 8, 2026 ยท View on GitHub
Common Issues & Solutions
๐ด Build Issues
Error: "Could NOT find ZLIB"
Symptoms: CMake fails with ZLIB not found
Solution:
- Follow DEPENDENCIES.md
- Install ZLIB using one of 4 methods
- Clear build:
Remove-Item build -Recurse -Force - Reconfigure:
Ctrl+Shift+Bโ CMake: Configure Debug
Time: 5-20 minutes
Error: "CMAKE_CXX_COMPILER not set"
Symptoms: CMake fails with compiler error
Solution:
- Check MinGW is installed:
c++.exe --version - Verify path in
.vscode/settings.json - Clear build and reconfigure
- Reload VS Code
Time: 5 minutes
Build takes very long
Solution (increase parallel jobs):
- Edit
.vscode/tasks.json - Find build tasks, change
-j4to-j8or higher - Save and rebuild
Note: Increase based on CPU cores (2x cores is typical)
Time: 2 minutes
๐ด VS Code Issues
Task dropdown is empty
Symptoms: Ctrl+Shift+B doesn't show tasks
Solution:
- Reload VS Code:
Ctrl+Shift+Pโ "Developer: Reload Window" - Wait 5 seconds for tasks.json to load
- Check
.vscode/tasks.jsonfor syntax errors - Restart VS Code completely
Time: 1 minute
No IntelliSense or code completion
Symptoms: No autocomplete, no error highlighting
Solution:
- Ensure C++ extension is installed
- Wait for IntelliSense indexing (can take a minute)
- Check
compile_commands.jsonexists inbuild/ - Rebuild:
Ctrl+Shift+Bโ Build Debug
Time: 2-5 minutes
Debug won't start (F5)
Symptoms: Pressing F5 does nothing or shows error
Solution:
- Build first:
Ctrl+Shift+Bโ Build Debug - Check executable exists:
build/src/LibMan.exe - Verify
.vscode/launch.jsonpaths - Check GDB path:
C:/Qt/Tools/mingw810_32/bin/gdb.exeexists - Reload VS Code
Time: 5 minutes
๐ด Compilation Errors
Error: "undefined reference to ZLIB..."
Symptoms: Linker error mentioning ZLIB
Solution:
- ZLIB wasn't found during CMake
- Follow DEPENDENCIES.md
- Clear build and reconfigure
- Rebuild
Time: 10-20 minutes
Error: "mingw810_32 not found"
Symptoms: Compiler path error
Solution:
- Verify MinGW installation:
ls C:/Qt/Tools/mingw810_32/ - Update path in
.vscode/settings.json - Use actual installed compiler path
- Reload VS Code
Time: 5 minutes
Error: "Qt5 not found"
Symptoms: CMake can't find Qt5
Solution:
- Verify Qt installation:
ls C:/Qt/5.15.2/mingw81_64/ - Check CMakeLists.txt line ~24 for Qt5_DIR path
- Update if path is different
- Clear build and reconfigure
Time: 5 minutes
๐ด Execution Issues
Executable not found when running
Symptoms: "File not found" error on Run task
Solution:
- Build first:
Ctrl+Shift+Bโ Build Debug - Verify build succeeds (no errors)
- Check executable exists:
build/src/LibMan.exe - Update
.vscode/tasks.jsonrun task if path is wrong
Time: 5 minutes
App crashes immediately
Symptoms: Window appears then closes
Solution:
- Debug instead: Press
F5 - Check console output for error
- Verify Qt libraries are found
- Check all dependencies installed
Time: 10 minutes
๐ด Test Issues
Tests won't configure
Symptoms: "Tests: Configure Tests" fails
Solution:
- Main project must build first
- Build:
Ctrl+Shift+Bโ Build Debug - Then:
Ctrl+Shift+Bโ Tests: Configure Tests - Clear
tests/buildif issues persist
Time: 5 minutes
Tests won't compile
Symptoms: "Tests: Build Tests" fails
Solution:
- Configure first:
Ctrl+Shift+Bโ Tests: Configure Tests - Check test source files in
tests/ - Verify CMakeLists.txt exists in
tests/ - Check for missing test includes
Time: 5-10 minutes
Tests won't run
Symptoms: "Tests: Run All Tests" shows no tests
Solution:
- Build first:
Ctrl+Shift+Bโ Tests: Build Tests - Check test executable exists
- Try running manually:
tests/build/tst_*.exe - Verify test discovery works
Time: 5 minutes
๐ด Terminal Issues
Terminal not opening
Symptoms: Can't open terminal with Ctrl+``
Solution:
- Use menu: Terminal โ New Terminal
- Or press
Ctrl+Jto toggle - Try
Ctrl+Shift+Pโ "Terminal: Create New Terminal"
Time: 1 minute
Commands not found in terminal
Symptoms: "cmake: command not found"
Solution:
- Add to PATH environment variable
- Restart VS Code after PATH change
- Or use full path:
C:\path\to\cmake.exe
Time: 5 minutes
๐ด File/Config Issues
Files still showing in explorer
Symptoms: Excluded files still visible (build/, coverage.*)
Solution:
- Reload VS Code:
Ctrl+Shift+Pโ "Developer: Reload Window" - Check
.vscode/settings.jsonfor exclusions - Verify syntax is correct
- Clear VSCode cache if needed
Time: 1 minute
Can't find documentation
Symptoms: Files like DEPENDENCIES.md not visible
Solution:
- They're now in
docs/folder - Start with
docs/INDEX.md - Navigate to
docs/getting-started/ - Use
Ctrl+Pto search for files
Time: 1 minute
๐ก Performance Issues
Build is slow
Solution:
- Increase parallel jobs (see "Build takes very long" above)
- Use Release mode for faster execution
- Check disk space
- Disable antivirus scanning of build folder
Time: 5-10 minutes
VS Code is sluggish
Solution:
- Exclude more folders from search (see
.vscode/settings.json) - Close unnecessary files/tabs
- Disable heavy extensions
- Increase VS Code memory limit
Time: 5 minutes
๐ก LibMan runtime issues
View still shown after deleting it in Project Editor
Cause (fixed): Old LIBRARY_* property keys were not cleared on project reload.
If it happens on an old build: Upgrade LibMan, save again from Project Editor, or File โ Open the project file to force a full reload.
New view from Browse does not appear in LibMan
Symptoms: Row added in Project Editor but View tree has no lstr / new view.
Check:
- Library column is filled (Browse copies the name from the row above if empty).
- Path points to an existing file.
- You clicked File โ Save in Project Editor (or main File โ Save).
Browse inserted a short relative path; view missing
Cause (fixed): Relative paths in the editor table were hard to read; missing library name caused the row to be skipped on Save.
Current behaviour: Browse inserts an absolute path; Save writes relative paths into .projects. Both resolve on load.
Documentation list empty after Project Editor Save
Cause (fixed): Project reload cleared the Documentation panel but did not call loadDocuments() when the library was re-selected programmatically.
Workaround on old builds: Click the Project library name again in the left tree.
Layout double-click expands tree instead of opening KLayout
Expected: Double-click on the layout view root opens KLayout and does not toggle expand. Use the tree arrow to browse hierarchy.
See KLayout integration.
Wrong or missing cell in KLayout after opening layout root
LibMan picks a root cell by: group name (if present in file) โ single top cell โ first top cell alphabetically. See Root cell selection.
Xschem does not start from LibMan (Windows)
Symptoms: Double-click schematic does nothing or WSL error.
Check:
- Tool Manager โ schematic tool โ path to
...\XSchem-coredb\integrations\open-xschem-wsl.bat - Name(s) =
schematic(notschematic.core) - WSL:
xschem --versionworks;build-core-tcl.shwas run - CommonDB is a sibling of XSchem-coredb, or set
COMMONDB_ROOTin WSL (see Xschem integration)
Xschem window is only a small title bar (WSL)
Corrupted ~/.xschem/geometry with 1x1+ entries. See Xschem integration โ Troubleshooting.
๐ด Build errors
core_paths.h: No such file / can't find file core_paths.h
Symptoms: qmake build fails in core/corecellreader.cpp because CommonDB headers are missing.
Cause: LibMan was configured for full CORE linkage but CommonDB is not checked out (private repo).
Solution (public build, no CORE): plain qmake auto-disables CORE when GitHub probe fails (no LIBMAN_CORE_GIT_TOKEN):
cd build
qmake ../libman.pro
make -j1 capnp_install
make -j1 lstream_schemas
make -j"$(nproc)"
Or force stubs: qmake CONFIG+=no_core ../libman.pro.
Solution (full CORE): set LIBMAN_CORE_GIT_TOKEN (or clone .deps/CommonDB), re-run qmake, then make -j1 core_fetch. See CORE integration.
๐ก Qt/GUI Issues
GUI doesn't appear correctly
Solution:
- Check Qt5 installation
- Verify platform plugin is available
- Set environment:
set QT_QPA_PLATFORM=windows - Try Debug mode instead of Release
Time: 10 minutes
Import: converter not found
Symptoms: Log shows Converter 'xschem_to_core' was not found next to LibMan.
Solution:
- Rebuild with CORE enabled (not
CONFIG+=no_core). - Confirm converter
.exefiles sit next tolibman.exe(CMake POST_BUILD or qmakecore_converter_deploy.pri). - Or set
LIBMAN_CONVERTER_DIRto the tools directory.
See IMPORT.md.
Import: project file not updated
Symptoms: Views appear in LibMan but .projects has no new define() lines.
Solution: Open the project first (File โ Open...). Import auto-saves only when a project is loaded; otherwise File โ Save after import.
โ Getting Help
- Quick answers: See Quick Reference
- Setup help: See VS Code Setup
- Project Editor: See PROJECT_EDITOR.md
- Import: See IMPORT.md
- Xschem / WSL: See XSCHEM_INTEGRATION.md
- Dependencies: See DEPENDENCIES.md
- All docs: See Documentation Index
๐ง Debug Checklist
When something fails:
- โ Check error message carefully
- โ See if it matches one above
- โ Follow solution steps
- โ Check if issue is resolved
- โ Try solutions in order of time (quickest first)
๐ Still Not Working?
- Verify setup: See SETUP_VERIFICATION.md
- Check dependencies: See DEPENDENCIES.md
- Review VS Code setup: See VSCODE_SETUP.md
- Look in error output: Check terminal for detailed errors
Back to: Documentation Index