il fraudait regarder la taille et la date de la lib avant et après compile,
si il a bougé
Systematiquement après un nettoyage et une compile ?
cdt
"Sylvie M" <Syl...@discussions.microsoft.com> a écrit dans le message de
news:4FA8BFC0-0193-4C5E...@microsoft.com...
> Bonjour,
>
> J'ai installé visual studio 2005 sur un serveur ayant une base Oracle
> 10.2.
> J'ai récupéré un projet avec un programme *.pc, *.c et la librairie oracle
> ORASQL10.LIB. Projet avec lequel à la toute première compilation, pas de
> souci. Lorsque je re-compile ce projet, j'ai l'erreur
> e:\apps\oracle\102\db_1\precomp\lib\orasql10.lib(1) : error C2059: syntax
> error : '<'
> 1>e:\apps\oracle\102\db_1\precomp\lib\orasql10.lib(2) : error C2018:
> unknown
> character '0x60'
>
> Plus moyen de compiler alors que je n'ai rien changer dans mon programme.
>
> J'ai essayé de complètement dé-installer Visual Studio, puis
> re-installation, la 1ere compilation OK, la 2ème même erreur.
>
> Quelqu'un a t-il déjà eu ce problème ?
>
> --
> Thanks
1. List down the contents of the library abc.lib using the /LIST option of
LIB.exe
"lib.exe /LIST malibrairieToto.lib "
partie C/C++ , ligne de commande
partie Editeur de lien, ligne de commande
Si la bibliotheque est bonne, c'est comme si le projet essayait de compiler
une lib, c'est n'est pas faisable,ca doit se faire au niveau de l'edition de
lien.
il faudrait faire un essai, faire un nettoyage, puis faire separement
"generer uniquement" (compilation), puis "lier uniquement" (edition de
lien)
dans menu generer/projet uniquement.
"Sylvie M" <Syl...@discussions.microsoft.com> a écrit dans le message de
news:0A0B6307-F9FC-4202...@microsoft.com...
> La commande Lib.exe/list orasql10.lib me donne une 40 de ligne avec la
> même
> DLL à savoir orasql10.dll qui date du 29/08/05 donc non modifié par ma
> compilation.
>
> Une autre idée ?
> --
> Thanks
Ligne de commande Linker = /OUT:"./Cj_gx02.exe" /INCREMENTAL /NOLOGO
/MANIFEST /MANIFESTFILE:".\Cj_gx02.exe.intermediate.manifest" /DEBUG
/PDB:"./Cj_gx02.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 /ERRORREPORT:PROMPT
odbc32.lib odbccp32.lib orasql10.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib odbc32.lib odbccp32.lib
J'ai fait un "clean" sur mon projet, puis un "Build only" voici l'erreur que
j'ai
1>------ Build started: Project: Cj_gx02, Configuration: Debug Win32 ------
1>Performing Pre-Build Event...
1>Pro*C/C++: Release 10.2.0.1.0 - Production on Mon Mar 30 17:03:54 2009
1>Copyright (c) 1982, 2005, Oracle. All rights reserved.
1>System default option values taken from:
E:\APPS\ORACLE\102\db_1\precomp\admin\pcscfg.cfg
1>Compiling...
1>cl : Command line warning D9028 : minimal rebuild failure, reverting to
normal build
1>orasql10.lib
1>e:\apps\oracle\102\db_1\precomp\lib\orasql10.lib : fatal error C1902:
Program database manager mismatch; please check your installation
1>Build log was saved at "file://e:\APPS\ALMA\Visual Studio pgms\BuildLog.htm"
1>Cj_gx02 - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
--
Thanks
http://msdn.microsoft.com/fr-fr/library/8y7hea02(VS.80).aspx
"Sylvie M" <Syl...@discussions.microsoft.com> a écrit dans le message de
news:F4A25F09-237B-46B7...@microsoft.com...
ca sent le melange de version
10. I get the error “fatal error C1902: Program database manager mismatch;
please check your installation”
Reinstalling Visual Studio 2005 (after uninstalling it and deleting all
folders from Program Files) may help.
You may have a corrupt install. You could try renaming mspdb80.dll in the
vc/bin directory. Dumpbin and the compiler may be looking for the dll in two
different places, resulting in mismatched versions.