logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Eclipse - Bląd 126, programy nie chcą się kompilować

Initial 29 Kwi 2013 12:11 2031 4
REKLAMA
  • #1 12251218
    Initial
    Poziom 9  
    Witam

    Posiadam system Windows8, zainstalowalem Win-Avr, Eclipse w wersji eclipse-SDK-4.2.1-win32 oraz plugin avreclipse.2.4.0.final.p2repository. Niestety przy próbkie kompilacji dowolnego, nawet najprostszego programu w konsoli pojawia mi się:
    12:09:02 **** Incremental Build of configuration Release for project pol ****
    make all 
    Building file: ../pol.c
    Invoking: AVR Compiler
    avr-gcc -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega16 -DF_CPU=1000000UL -MMD -MP -MF"pol.d" -MT"pol.d" -c -o "pol.o" "../pol.c"
    /usr/bin/sh: /c/WinAVR-20100110/bin/avr-gcc: Invalid argument
    make: *** [pol.o] Error 126
    
    12:09:02 Build Finished (took 680ms)

    Szukałem w internecie jednak nie mogę znaleźć rozwiązania tego problemu, czy mógłby ktoś coś poradzić? :)
  • REKLAMA
  • #2 12251353
    tmf
    VIP Zasłużony dla elektroda
    Nie masz tam jakiś polskich liter lub spacji w ścieżce dostępu do projektu?
    Poza tym WinAVR to już staruszek, ściągnij nowy toolchain ze strony Atmela. Albo ściągnij po prostu całe Atmel Studio, gdzie masz IDE + toolchain gotowe do użycia.
  • REKLAMA
  • #3 12254182
    Initial
    Poziom 9  
    Nie mam zadnych polskich liter. Niestety Atmel Studio nie chce się w ogóle zainstalować, ponieważ podczas instalacji VS 2010 shell (wymaganego przez Atmel studio) pojawia się taki błąd:
    
    [04/29/13,10:50:21] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.TextManager.Interop.9.0,version="9.0.0.0",publicKeyToken="b03f5f7f11d50a3a",fileVersion="9.0.30729.1",culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8007045D. 
    [04/29/13,10:50:27] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 10:50:27: InstallExecute. Return value 3.See MSI log for details.
    [04/29/13,10:52:01] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
    [04/29/13,10:52:02] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 10:52:02: INSTALL. Return value 3.See MSI log for details.
    [04/29/13,10:52:35] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
    [04/29/13,10:52:36] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU is not installed.
    [04/29/13,10:52:36] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
    [04/29/13,10:52:37] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
    [04/29/13,13:06:01] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.TextManager.Interop.9.0,version="9.0.0.0",publicKeyToken="b03f5f7f11d50a3a",fileVersion="9.0.30729.1",culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8007045D. 
    [04/29/13,13:06:04] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 13:06:03: InstallExecute. Return value 3.See MSI log for details.
    [04/29/13,13:07:21] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
    [04/29/13,13:07:21] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 13:07:21: INSTALL. Return value 3.See MSI log for details.
    [04/29/13,13:08:02] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
    [04/29/13,13:08:04] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU is not installed.
    [04/29/13,13:08:04] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
    [04/29/13,13:08:04] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
    [04/29/13,17:20:25] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.TextManager.Interop.9.0,version="9.0.0.0",publicKeyToken="b03f5f7f11d50a3a",fileVersion="9.0.30729.1",culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8007045D. 
    [04/29/13,17:20:29] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 17:20:28: InstallExecute. Return value 3.See MSI log for details.
    [04/29/13,17:21:38] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
    [04/29/13,17:21:38] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 17:21:38: INSTALL. Return value 3.See MSI log for details.
    [04/29/13,17:22:35] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
    [04/29/13,17:22:36] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU is not installed.
    [04/29/13,17:22:36] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
    [04/29/13,17:22:37] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
    [04/29/13,17:43:24] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.TextManager.Interop.9.0,version="9.0.0.0",publicKeyToken="b03f5f7f11d50a3a",fileVersion="9.0.30729.1",culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8007045D. 
    [04/29/13,17:43:28] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 17:43:28: InstallExecute. Return value 3.See MSI log for details.
    [04/29/13,17:44:21] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
    [04/29/13,17:44:22] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 17:44:22: INSTALL. Return value 3.See MSI log for details.
    [04/29/13,17:44:57] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
    [04/29/13,17:44:58] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU is not installed.
    [04/29/13,17:44:58] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
    [04/29/13,17:44:58] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
    [04/29/13,23:42:01] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.TextManager.Interop.9.0,version="9.0.0.0",publicKeyToken="b03f5f7f11d50a3a",fileVersion="9.0.30729.1",culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8007045D. 
    [04/29/13,23:42:05] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 23:42:05: InstallExecute. Return value 3.See MSI log for details.
    [04/29/13,23:43:30] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
    [04/29/13,23:43:31] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 23:43:31: INSTALL. Return value 3.See MSI log for details.
    [04/29/13,23:43:39] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
    [04/29/13,23:43:40] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU is not installed.
    [04/29/13,23:43:41] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
    [04/29/13,23:43:41] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
    [04/30/13,00:40:21] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.TextManager.Interop.9.0,version="9.0.0.0",publicKeyToken="b03f5f7f11d50a3a",fileVersion="9.0.30729.1",culture="neutral"'. Please refer to Help and Support for more information. HRESULT: 0x8007045D. 
    [04/30/13,00:40:27] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 00:40:27: InstallExecute. Return value 3.See MSI log for details.
    [04/30/13,00:41:13] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ERROR:Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
    [04/30/13,00:41:14] Microsoft Visual Studio 2010 Shell (Isolated) - ENU: [2] ACTION FAILURE:Action ended 00:41:14: INSTALL. Return value 3.See MSI log for details.
    [04/30/13,00:41:55] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
    [04/30/13,00:41:56] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU is not installed.
    [04/30/13,00:41:56] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
    [04/30/13,00:41:57] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
    
  • REKLAMA
  • #4 12254397
    tmf
    VIP Zasłużony dla elektroda
    Ściągnąłeś wersję z załączonym .NET? Jeśli nie to spróbuj tej. A BTW, to może antywirus ci blokuje? Bo jeśli Microsoftowe programy nie chcą się instalować to znaczy, że coś mocno jest nie tak z systemem.
  • #5 12259685
    Initial
    Poziom 9  
    Nie mam siły walczyć z tym systemem, jednak to prawda, że co drugi Windows jest do .. niczego ;) Zainstalowałem Windowsa 7, Atmel Studio ruszyło, jeszcze zintegruje je z programatorem USBAsp i do pracy ;)
REKLAMA