Вверх ↑
Ответов: 875
Рейтинг: 101
#1: 2010-11-26 09:10:40 ЛС | профиль | цитата
Dilma помоги разобраться теперь даже не компилиться.

С начало была такая ошибка

Pack.cpp:10:19: dlfcn.h: No such file or directory
Pack.cpp: In member function `void PackProject::make(const Glib::ustring&, void*)':
Pack.cpp:31: error: `RTLD_LAZY' undeclared (first use this function)
Pack.cpp:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
Pack.cpp:31: error: `dlopen' undeclared (first use this function)
Pack.cpp:32: error: `dlsym' undeclared (first use this function)
Pack.cpp:44: error: `dlclose' undeclared (first use this function)
mingw32-make: *** [Pack.o] Error 1

скачал dlfcn.h от сюда http://code.google.com/p/dlfcn-win32/downloads/list
вроде все скомпилировал но линковать не стал

g++   ArrayEditor.o CodeGen.o CommandManager.o commands.o Data.o DebugPanel.o Element.o ElementConfig.o ElementGrips.o ElementPoint.o ElementProperty.o Elements.o FormEditor.o hico
.o LayerObjects.o main_gui.o MainDataBase.o Pack.o Palette.o ProjectBuilder.o ProjectManager.o PropEditor.o RecentFileManager.o SDK.o SDK_Editor.o SelectManager.o SettingsManager.o
SHADialogs.o share.o SplashScreen.o StringList.o WindowManager.o -mwindows -LC:/gtkmm/lib -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-win32-2.0 -lglibmm-2.
4 -lcairomm-1.0 -lsigc-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-
2.0 -lglib-2.0 -lintl -lsqlite3 -o hiasm5.exe
Pack.o:Pack.cpp:(.text+0x93e): undefined reference to `dlopen(char const*, int)'
Pack.o:Pack.cpp:(.text+0x955): undefined reference to `dlsym(void*, char const*)'
Pack.o:Pack.cpp:(.text+0xa80): undefined reference to `dlclose(void*)'
ProjectBuilder.o:ProjectBuilder.cpp:(.text+0xaa): undefined reference to `dlopen(char const*, int)'
ProjectBuilder.o:ProjectBuilder.cpp:(.text+0xeb): undefined reference to `dlsym(void*, char const*)'
ProjectBuilder.o:ProjectBuilder.cpp:(.text+0x186): undefined reference to `dlsym(void*, char const*)'
ProjectBuilder.o:ProjectBuilder.cpp:(.text+0x321): undefined reference to `dlclose(void*)'
collect2: ld returned 1 exit status
mingw32-make: *** [hiasm5.exe] Error 1



карма: 1

0