| RSA CPP |
nostrora

Grade : Nouveau venu
Inscrit le: 23 Jan 2012, 15:55
|
| Ecrit le: 23 Jan 2012, 15:58 Message non corrigé | |
|
Hello, je voudrais tester la lib RSA avec Qt Creator (mingw 4.4) Windows 7 X64
Voici mon fichier main.cpp
| #include <iostream> #include <rsa.h>
using namespace std;
int main() { Rsa rsa; return 0; } |
Mais il me dis..
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x78a): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x7a9): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x8b8): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x8e7): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x96a): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x989): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xa9a): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xac7): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xb4f): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xb73): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xcea): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xd3b): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xebf): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0xee3): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x105d): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x10ab): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x122b): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1241): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1367): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x13fe): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x147a): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x14ab): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x15f9): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1647): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x17ba): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x17eb): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x193a): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1987): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1afb): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1b11): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1c07): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1cfb): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1d78): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1db8): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1f71): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x1fcf): undefined reference to `_Unwind_SjLj_Resume'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x21e8): undefined reference to `__gxx_personality_sj0'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x2228): undefined reference to `_Unwind_SjLj_Register'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x23e2): undefined reference to `_Unwind_SjLj_Unregister'
c:\Qt\4.8.0\lib/librsa.a(rsa.o):rsa.cpp:(.text+0x243f): undefined reference to `_Unwind_SjLj_Resume'
|
|
| |
|
|
David

Grade : Expert
Inscrit le: 11 Mai 2005, 20:30
|
| Ecrit le: 23 Jan 2012, 19:05 Message non corrigé | |
|
C'est probablement dû à un problème lors de la construction de la bibliothèque : la bibliothèque GMP qu'utilise la bibliothèque RSA n'est pas très bien intégrée.
Je t'ai envoyé le nécessaire pour que tu puisses l'utiliser. Merci de nous tenir au courant.
________ Apprenez à créer votre propre FPS en C++ avec OpenGL. C'est pas dur ! :-)
|
|
| |
|
|
Arnaud.g83

Grade : Nouveau venu
Inscrit le: 08 Fev 2012, 01:35
|
| Ecrit le: 08 Fev 2012, 01:49 Message non corrigé | |
|
Bonsoir Bonsoir, (comme promis, me voila)
J'ai même pas besoin de creer un nouveau topic, j'ai exactement le même probleme, a ceci près que j'utilise Eclipse sous Windows 7 64...
Cela vient aussi des constructions de bibliothèque??
[code]
Description Resource Path Location Type
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `__gxx_personality_sj0' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Register' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Resume' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
undefined reference to `_Unwind_SjLj_Unregister' RSA2 line 0 C/C++ Problem
[/code]
|
|
| |
|
| |