From: <lx...@fr...> - 2003-09-10 11:45:46
|
Dear All, I try to compile DateReel library to use it under Windows2k. I compiled it and I got a libgxcode.a file under winslib directory. Thats ok. After that I thought, I try to compile examples. Here I failed. Nowhere mingw.mak or similar makefile. Under msys, I failed. In fact, I would like to use it under Dev-cpp. What I did: I copied the library and include files to related directories. After that, I tried to compile gsxcomm1 with dev-cpp. I got the following e= rror messages: Ford=EDt=F3: Default compiler Building Makefile: "C:\Dev-Cpp\Makefile.win" Finding dependencies for file: C:\Dev-Cpp\main.cpp make... ind=EDt=E1sa. make.exe -f "C:\Dev-Cpp\Makefile.win" all g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/inc= lude/c++/mingw32" -I"C:/Dev-Cpp/include/c++/backward" -I"C:/Dev-Cpp/inclu= de" -I"./include" -I"C:/Dev-Cpp/include/dreel" -lgxcode -lstdc++ -lsupc= ++ -lbgi In file included from C:/Dev-Cpp/include/c++/backward/iostream.h:31, from main.cpp:40: C:/Dev-Cpp/include/c++/backward/backward_warning.h:32:2: warning: #warning = This file includes at least one deprecated or antiquated header. Please con= sider using one of the 32 headers found in section 17.4.1.2 of the C++ stan= dard. Examples include substituting the <X> header for the <X.h> header for= C++ includes, or <sstream> instead of the deprecated header <strstream.h>.= To disable this warning use -Wno-deprecated. g++.exe: -lgxcode: linker input file unused because linking not done g++.exe: -lstdc++: linker input file unused because linking not done g++.exe: -lsupc++: linker input file unused because linking not done g++.exe: -lbgi: linker input file unused because linking not done g++.exe main.o -o "Projekt1.exe" -L"C:/Dev-Cpp/lib" -lstdc++ -lsupc++ -lbg= i -lgxcode=20 C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x198e):dfileb.cpp: undefined re= ference to `__gxx_personality_sj0' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x19bd):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Register' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x1cbc):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Resume' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x1ccb):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Unregister' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2068):dfileb.cpp: undefined re= ference to `__gxx_personality_sj0' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2097):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Register' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2246):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Resume' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x233b):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Unregister' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2366):dfileb.cpp: undefined re= ference to `__gxx_personality_sj0' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2395):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Register' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2544):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Resume' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2639):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Unregister' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x2660):dfileb.cpp: undefined re= ference to `__gxx_personality_sj0' C:/Dev-Cpp/lib/libgxcode.a(dfileb.o)(.text+0x268f):dfileb.cpp: undefined re= ference to `_Unwind_SjLj_Register' and so on......... Can anybody help with solution or advices or tips? Thank you! Istv=E1n |