Questions
Running on windows, there is either a problem with the installation of mingw64, or the header file cannot be found. Anyway, it is to verify whether the simulator can be used. What is the trouble? Just switch to Linux. The following are the results of running on Ubuntu.
Process
To run the square studio export project, follow the readme
of the exported project,
- 1. install gcc
sudo apt-get install gcc g++ gdb build-essential
- 2. install sdl
sudo apt-get install libsdl2-dev
3. Install eclipse c/c++
4. Select the parent folder of the exported project as “Workspace”
5. Select File->Import->General->Exisiting project into Workspace click “Next” and browse the project
6. Build the project with Project->Build
7. Run the project with Run->Run.
Then report an error: could not found lpng
Solution:
- 1Install lpng
sudo apt-get install libpng-dev
2. install CDT
help-> Check for updates
check CDT and install
3. Modify the compiler
4. Just follow steps 6 and 7 above. The effect drawing is as follows
Read More:
- [Solved] kali Execute history -c Error: fc: event not found: – C
- Sublime text 3 compiles and executes C/C++ programs directly
- MAC: Clion configure C compiler Error: The C compiler identification is unknown
- [Solved] Linux C++ warning: ISO C++ forbids converting a string constant to ‘char*‘ [-Wwrite-strings]
- [Solved] configure: error: no acceptable C compiler found in $PATH
- [Solved] configure:error:no acceptable C compiler found in $PATH
- Ubuntu18.04 Compile A40i SDK Error: misc/create_inode.c:395:18: error: conflicting types for ‘copy_file_range‘
- [Solved] Execute ./configure Error: [error]configure: error: You need a C++ compiler for C++ support.
- [Solved] ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
- [Solved] Centos7 Error: gcc: configure: error: in build‘: configure: error: no acceptable C compiler found in $PATH
- Ubuntu found an error during apt operation [How to Solve]
- [Solved] Ubuntu20.04 Error: “Failed to install the following Android SDK packages as some licences have not..“error
- linux Ubuntu Error: No command ‘setenv‘ found
- error: C compiler cannot create executables [How to Solve]
- [Solved] Ubuntu Update source error: Certificate verification failed: The certificate is NOT trusted.
- linux C called object ‘maze’ is not a function or function pointer printf(“%d\t“, maze(i, j))
- C# WinForm gets the storage path of the selected file
- [Solved] C++: fatal error: Killed signal terminated program cc1plus
- C#: How to get the value or text value of the select drop-down list
- C# WPF Framework: How to Build Caliburn.Micro Quickly