{"id":23065743,"url":"https://github.com/ullaskunder3/sfml-vscode-soultion","last_synced_at":"2026-04-17T05:03:34.497Z","repository":{"id":216264846,"uuid":"740874810","full_name":"ullaskunder3/sfml-vscode-soultion","owner":"ullaskunder3","description":"SFML C++ project with Visual Studio Code setup for cross-platform development on Linux and Windows.","archived":false,"fork":false,"pushed_at":"2024-01-09T09:15:14.000Z","size":1397,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T08:48:54.373Z","etag":null,"topics":["cross-platform","linux","mingw-w64","setup","sfml","tutorial","windows"],"latest_commit_sha":null,"homepage":"https://github.com/ullaskunder3/sfml-vscode-soultion","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ullaskunder3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-09T08:46:50.000Z","updated_at":"2024-01-10T03:30:26.000Z","dependencies_parsed_at":"2024-01-24T12:07:14.468Z","dependency_job_id":null,"html_url":"https://github.com/ullaskunder3/sfml-vscode-soultion","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"7b1d5e570b91eaad1f412076513d1acf236327d6"},"previous_names":["ullaskunder3/sfml-vscode-soultion"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ullaskunder3/sfml-vscode-soultion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fsfml-vscode-soultion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fsfml-vscode-soultion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fsfml-vscode-soultion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fsfml-vscode-soultion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ullaskunder3","download_url":"https://codeload.github.com/ullaskunder3/sfml-vscode-soultion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fsfml-vscode-soultion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259582805,"owners_count":22880093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","linux","mingw-w64","setup","sfml","tutorial","windows"],"created_at":"2024-12-16T05:09:53.521Z","updated_at":"2026-04-17T05:03:29.476Z","avatar_url":"https://github.com/ullaskunder3.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VSCode SFML C++ Project Setup\n\nThis is a simple SFML C++ project running with vs code that can be built and run on both Linux and Windows using Visual Studio Code.\n\n![demo gif](./ezgif-7-2872167a45.gif)\n\n## Prerequisites\n\n- Visual Studio Code: [Download and install Visual Studio Code](https://code.visualstudio.com/download)\n- SFML Library:\n  - Linux: Install SFML using your package manager. Example for Debian-based systems:\n    ```\n    sudo apt-get install libsfml-dev\n    ```\n    or (depends on which linux)\n\n    ```\n    sudo dnf -y install SFML\n    ```\n    - might need few tweaking\n  - Windows: Download and install SFML from [the official SFML website](https://www.sfml-dev.org/download.php)\n    - GCC 13.1.0 MinGW (DW2) - `32-bit`\n   or\n    - GCC 13.1.0 MinGW (SEH) - `64-bit`\n    \n    \u003e dont messup check (64 or 32) bit properly\n\n  - Extract the downloaded file and place it where ever you want remember the path\n\n## Setting up MinGW on Windows\n\n1. Install MinGW w64 (for Windows) using [mingw-w64.org](https://www.mingw-w64.org/downloads/#mingw-builds).\n   - **Tarballs** for the mingw-w64 sources are hosted on SourceForge.\n   - https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/\n\n3. Add the MinGW w64 bin directory to your system's PATH variable.\n   - Example PATH addition: `C:\\mingw-w64\\mingw64\\bin` (adjust the path based on your installation).\n   - want's to know the difference between [ming's 😄 link to repo](https://github.com/ullaskunder3/cpp-setup-vsCode#setup)\n\n## Setting up C++ on linux\n\n  - Linux: Ensure you have GCC (GNU Compiler Collection) installed. Run the following commands to check the version and path:\n    ```\n    g++ --version\n    which g++\n    ```\n\n    ```bash\n    [dxlord.🐼] master (main)$ g++ --version\n\n    g++ (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)\n    Copyright (C) 2023 Free Software Foundation, Inc.\n    This is free software; see the source for copying conditions.  There is NO\n    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n    [dxlord.🐼] master (main)$ which g++\n    \n    /usr/bin/g++\n     \n    ```\n\n\u003esee it's too much that's why I use linux\n\n## Getting Started\n\n1. Clone the repository:\n\n```\ngit clone https://github.com/ullaskunder3/sfml-vscode-soultion.git\ncd \u003csfml-vscode-soultion\u003e\n```\n\n\n2. Open the project in Visual Studio Code.\n\n3. Install the required extensions: C/C++\n\n4. Configure IntelliSense:\n- Open `.vscode/c_cpp_properties.json` and update the paths for Windows/Linux users.\n- After checking path properly update it \n\n## Building and Running\n\nPressing `Ctrl+Shift+B` or running **Tasks: Run Task** from the global Terminal menu show the following picker pick **Run C++ program with SFML**\n\nwatch the program execute and run at the same time automatically\n\n|![Screenshot from 2024-01-09 14-12-31](https://github.com/ullaskunder3/sfml-vscode-soultion/assets/66258652/12f8ed30-11f9-4cec-a898-1f5dcf39a695)|![Screenshot from 2024-01-09 14-13-06](https://github.com/ullaskunder3/sfml-vscode-soultion/assets/66258652/6c7e9679-5d00-45d7-a5f0-8063da2c6c3d)|\n|--|--|\n\n|![Screenshot from 2024-01-09 14-13-44](https://github.com/ullaskunder3/sfml-vscode-soultion/assets/66258652/86248de5-3874-4551-a00f-d5a3d9feaad0)|\n|--|\n\n## Troubleshooting\n\n- If you encounter any issues, ensure that you have the required dependencies installed and that the paths in `.vscode/c_cpp_properties.json` are correct.\n\n- For Windows users, make sure to update the paths in `.vscode/c_cpp_properties.json` with the correct MinGW or Visual Studio installation paths.\n\n- let me know if still need help\n\n## Contributing\n\nFeel free to contribute to this project by opening issues or pull requests.\n\nHappy coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fsfml-vscode-soultion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fullaskunder3%2Fsfml-vscode-soultion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fsfml-vscode-soultion/lists"}