wxWidgets-2.9.4\include and \lib\gcc_lib\mswu No such file or directory error on CodeBlocks

前端 未结 2 836
天命终不由人
天命终不由人 2020-12-20 00:55

I\'m trying to learn C++ programming with wxWidgets and CodeBlocks (with MinGW) and earlier today I succeeded in installing the software (after some trouble) to my Windows 7

相关标签:
2条回答
  • 2020-12-20 01:56

    I am having the same problem as this and I somehow solved my problem. I transfer my wxWidget folder to another location path that don't have white space name on it's path. For example above, "C:\Users\Jonne*Omat ohjelmat*\wxWidgets-2.9.4\include" the path has white space between Omat ohjelmat. Try transfering it where the path contains no white spaces. For me, I put it on C:\wxWidgets-3.1.2

    0 讨论(0)
  • 2020-12-20 01:58

    When you create a wxWidgets project.Have you did this?

    File->New->Project->wxWidgets Project->Click Go->Click on Next->click on the suitable wxWidgets 2...version->click Next->Give project Name->Click on Next->Click on Next

    After that the Following below Screen comes in the Wizard. Give the wxWidgets Location(Path where You installed the wxWidgets 2.9.4)

    Specifying the Location of wxWidgets in CodeBlocks in wxWidgets Project

    Compiler configuration

    library Settings

    Mode of application

    After that click on Finish.

    • For Environment Variable Path Setting

    • Follow the Below Steps:

      Right click on MyComputer->Click on Advanced Systems settings->click on Environment Variables->click on New->Give variable name=Path and variable value="C:\Program Files (x86)\CodeBlocks\MinGW\bin" -> click ok

    Environment Settings

    `

    • Try The Following Steps.It will work.

    Updates about Build settings:

    COMPILER RESOURCE COMPILER LINKER

    0 讨论(0)
提交回复
热议问题