Hi, After compiling wxstedit in shared ( as by default wxWidgets ). I now wanted to try static mode. It looks like there is a problem, even after removing and checking out wxstedit again completely. ( see last dump down here, )
Next i thought to try my other installed wxWidgest again, using this: ./configure --with-wx-config=gtk2-ansi-debug-2.8 Oops one more error. ( the real problem i am after has to do with wxLua, as soon as i am linking wxArt2D with wxLua, i get the linking error: for class wxProcess class definition registered twice. So i thought it might have to do with static/shared build. But i first need to be able to static build again) Klaas $ ./configure --with-wx-config=gtk2-ansi-debug-2.8 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for the --enable-debug option... will be automatically detected checking for the --enable-unicode option... will be automatically detected checking for the --enable-shared option... will be automatically detected checking for the --with-toolkit option... will be automatically detected checking for the --with-wxshared option... will be automatically detected checking for the --with-wxversion option... will be automatically detected checking for gtk2-ansi-debug-2.8... no ./configure: line 2096: test: -lt: unary operator expected ./configure: line 2111: --selected_config: command not found checking if wxWidgets was built with UNICODE enabled... no checking if wxWidgets was built in DEBUG mode... no checking if wxWidgets was built in STATIC mode... no checking which wxWidgets toolkit was selected... configure: error: Cannot detect the currently installed wxWidgets port ! Please check your 'wx-config --cxxflags'... [EMAIL PROTECTED] wxstedit]$ ============================================================================ Result of configure: ---------------------------------------------------------------- Configuration for wxstedit 1.2.4 successfully completed. Summary of main configuration settings for wxstedit: - DEBUG build - ANSI mode - STATIC mode The wxWidgets build which will be used by wxstedit 1.2.4 has the following settings: - DEBUG build - ANSI mode - STATIC mode - VERSION: 2.8.3 - PORT: gtk2 Now, just run make. ---------------------------------------------------------------- [EMAIL PROTECTED] wxstedit]$ make g++ -c -o stedit_lib_stedit.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stedit.cpp ./src/stedit.cpp: In member function ‘bool wxSTEditor::Create(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&)’: ./src/stedit.cpp:213: warning: ‘SetBestSize’ is deprecated (declared at /usr/local/include/wx-2.8/wx/window.h:1414) g++ -c -o stedit_lib_stedlgs.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stedlgs.cpp g++ -c -o stedit_lib_stedlgs_wdr.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stedlgs_wdr.cpp g++ -c -o stedit_lib_steexprt.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/steexprt.cpp g++ -c -o stedit_lib_stefindr.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stefindr.cpp g++ -c -o stedit_lib_steframe.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/steframe.cpp g++ -c -o stedit_lib_stelangs.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stelangs.cpp g++ -c -o stedit_lib_stemenum.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stemenum.cpp g++ -c -o stedit_lib_stenoteb.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stenoteb.cpp g++ -c -o stedit_lib_steopts.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/steopts.cpp g++ -c -o stedit_lib_steprefs.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/steprefs.cpp g++ -c -o stedit_lib_steprint.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/steprint.cpp g++ -c -o stedit_lib_steshell.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/steshell.cpp g++ -c -o stedit_lib_stesplit.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stesplit.cpp g++ -c -o stedit_lib_stestyls.o -I./include -I/contrib/include -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -pthread -g -O0 ./src/stestyls.cpp rm -f lib/libwxcode_gtk2d_stedit-2.8.a ar @AROPTIONS@ lib/libwxcode_gtk2d_stedit-2.8.a stedit_lib_stedit.o stedit_lib_stedlgs.o stedit_lib_stedlgs_wdr.o stedit_lib_steexprt.o stedit_lib_stefindr.o stedit_lib_steframe.o stedit_lib_stelangs.o stedit_lib_stemenum.o stedit_lib_stenoteb.o stedit_lib_steopts.o stedit_lib_steprefs.o stedit_lib_steprint.o stedit_lib_steshell.o stedit_lib_stesplit.o stedit_lib_stestyls.o ar: illegal option -- @ Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file... ar -M [<mri-script] commands: d - delete file(s) from the archive m[ab] - move file(s) in the archive p - print file(s) found in the archive q[f] - quick append file(s) to the archive r[ab][f][u] - replace existing or insert new file(s) into the archive t - display contents of archive x[o] - extract file(s) from the archive command specific modifiers: [a] - put file(s) after [member-name] [b] - put file(s) before [member-name] (same as [i]) [N] - use instance [count] of name [f] - truncate inserted file names [P] - use full path names when matching [o] - preserve original dates [u] - only replace files that are newer than current archive contents generic modifiers: [c] - do not warn if the library had to be created [s] - create an archive index (cf. ranlib) [S] - do not build a symbol table [v] - be verbose [V] - display the version number @<file> - read options from <file> emulation options: No emulation specific options ar: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core make: *** [lib/libwxcode_gtk2d_stedit-2.8.a] Error 1 [EMAIL PROTECTED] wxstedit]$ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users