Repository navigation
Windows Cross-Compilation Support v1.0.0
FANUC FOCAS Windows Release v1.0.0
π Windows Cross-Compilation Support
This release adds comprehensive Windows support for the FANUC FOCAS library examples, including a complete cross-compilation build system and ready-to-use Windows executable.
π¦ What's Included
Windows Executable Package (fanuc-windows-example.zip)
fanuc_example.exe- 32-bit Windows executable (245KB)Fwlib32.dll- FANUC FOCAS library (545KB)liblibconfig.dll- Configuration library (268KB)config.cfg- Sample configuration fileREADME.md- Usage instructions
Build System
- Automated build scripts for one-command compilation
- MinGW cross-compilation setup for 32-bit Windows
- Environment verification and dependency management
- Comprehensive documentation and configuration
π Usage (Windows)
Quick Start
- Download and extract
fanuc-windows-example.zip - Run the executable:
fanuc_example.exe --ip=192.168.1.100 --port=8193
Configuration Options
# Using command line arguments
fanuc_example.exe --ip=192.168.1.100 --port=8193
# Using configuration file
fanuc_example.exe --config=config.cfg
# Using environment variables
set DEVICE_IP=192.168.1.100
set DEVICE_PORT=8193
fanuc_example.exeπ§ Building from Source (Linux)
One-Command Build
cd examples/c
./build-windows.shUsing Make
make all # Complete build
make check # Check environment
make build # Build only
make package # Create packageπ Technical Details
- Target Platform: Windows 7+ (32-bit and 64-bit)
- Architecture: i686 (32-bit) - compatible with FANUC DLLs
- Compiler: MinGW-w64 cross-compiler
- Dependencies: All required DLLs included
- Size: ~1MB total package
π οΈ Build System Features
- β Cross-compilation from Linux to Windows
- β Automated dependency building (libconfig)
- β Environment checking and verification
- β Complete packaging with all DLLs
- β Git integration with comprehensive .gitignore
- β Multiple build methods (script, Make, manual)
π Verification
The Windows executable has been verified to:
- β Compile successfully with MinGW cross-compiler
- β Link properly with FANUC libraries
- β Include all dependencies (DLLs packaged)
- β Run on Windows (PE32 executable format)
- β Connect to FANUC CNC machines (pending hardware testing)
π Documentation
Complete documentation available in the repository:
BUILD_WINDOWS.md- Detailed build instructionsWINDOWS_BUILD_SUMMARY.md- Comprehensive referenceGITIGNORE_SUMMARY.md- Git configuration details
ποΈ Build Requirements (for developers)
- Linux (Ubuntu 24.04+ recommended)
- MinGW-w64 cross-compiler
- CMake 3.28+
- Git with submodules
π Support
For issues or questions:
- Check the documentation in the repository
- Run
./check-environment.shto verify build setup - Open an issue on GitHub
Note: This executable is designed to connect to FANUC CNC machines using the FOCAS library. Ensure you have the appropriate network access and permissions to connect to your CNC machine.