IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Code::Blocks Discussion :

CppUnit sous CodeBlocks


Sujet :

Code::Blocks

  1. #1
    Membre à l'essai
    Homme Profil pro
    Inscrit en
    Mars 2012
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Mars 2012
    Messages : 21
    Points : 15
    Points
    15
    Par défaut CppUnit sous CodeBlocks
    bonjour,
    je souhaiterais utiliser la bibliothèque de tests unitaire CppUnit avec codeblocks sous Win7,
    j'ai changé le compilateur par défaut en mettant Visual 2005/2008 (j'ai cru comprendre que c'est ce qu'il faut faire), mais j'ai toujours une erreur(ou plutot des warning) quand je veux compiler les projets issus du fichier CppUnitLibraries.dsw j'ai ça

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    "DSPlugIn - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "DllPlugInTester - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "TestPlugInRunner - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "TestRunner - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "cppunit - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "cppunit_dll - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "DSPlugIn - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "DllPlugInTester - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "TestPlugInRunner - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "TestRunner - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "cppunit - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    "cppunit_dll - Win32 Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
    Nothing to be done.

    est ce que je dois m'orienter sur un autre EDI (visual) ou bien il est possible de le faire sous CB merci beaucoup d'avance

  2. #2
    Membre expert

    Avatar de germinolegrand
    Homme Profil pro
    Développeur de jeux vidéo
    Inscrit en
    Octobre 2010
    Messages
    738
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Puy de Dôme (Auvergne)

    Informations professionnelles :
    Activité : Développeur de jeux vidéo
    Secteur : Tourisme - Loisirs

    Informations forums :
    Inscription : Octobre 2010
    Messages : 738
    Points : 3 892
    Points
    3 892
    Par défaut
    Si tu changes de compilateur pour ton projet, encore faut-il que celui-ci soit installé...

  3. #3
    Membre à l'essai
    Homme Profil pro
    Inscrit en
    Mars 2012
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Mars 2012
    Messages : 21
    Points : 15
    Points
    15
    Par défaut
    merci mais maintenant même avec VC installé j'ai ça a la compilation CppUnitLibraries.dsw

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    Execution of 'cl.exe /nologo  /MD /W3 /GX /O2 /DWIN32 /DNDEBUG /D_WINDOWS /D_WINDLL /D_AFXDLL /FD /D_MBCS /D_USRDLL /YX    /I..\..\..\include /I"C:\Program Files\Microsoft Visual Studio 8\VC\include"  /c DSPlugIn.cpp /FoRelease\DSPlugIn.obj' in 'F:\3 MOI\C++\CppUnit\cppunit-1.12.1\cppunit-1.12.1\src\msvc6\DSPlugIn' failed.
    Nothing to be done.
     
    j'ai essayer de compiler avec visual studio et pas avec CB j'ai ça quand je veux compiler  le CppUnitTestApp
    3>------ Build started: Project: CppUnitTestApp, Configuration: Debug Win32 ------
    3>  .\Debug\testrunnerd.dll
    3>  Le fichier sp?cifi? est introuvable.
    3>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1.
    ========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

Discussions similaires

  1. [Tutoriel] [Ogre] Installation sous CodeBlocks (windows)
    Par LeFlou dans le forum Contribuez
    Réponses: 6
    Dernier message: 06/08/2009, 22h26
  2. Problème de compilation de projets Ogre sous CodeBlocks - Vista
    Par Verbalinsurection dans le forum Développement 2D, 3D et Jeux
    Réponses: 3
    Dernier message: 08/10/2007, 22h17
  3. Qt 4.3.0 sous codeblocks
    Par Fahmi06 dans le forum Code::Blocks
    Réponses: 1
    Dernier message: 09/09/2007, 11h47
  4. Comment installer SDL_gfx sous codeblocks?
    Par Xanto dans le forum SDL
    Réponses: 4
    Dernier message: 24/08/2007, 15h09
  5. comment installer GTK+ sous CodeBlock
    Par tangara oumar dans le forum GTK+ avec C & C++
    Réponses: 1
    Dernier message: 30/07/2007, 20h03

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo