Hi all,
I've compiled and installed wxWidgets into /usr/local. Now I'd like
to compile another program that is dependent upon wxWidgets. My
computing platform is Sun Solaris 10, both sparc and x86. I'm just
having trouble getting it to compile/link with the wxWidgets. Every
thing thing seems to work correctly. If I "wx-config --prefix" I get
/usr/local. Does any body have any suggestions for sucessful linking?
Thanks,
Paul
Below is some of the output from my linker/compiler:
make -k -f makefile.gtk
make[1]: Entering directory `/Download_Files/Kicad/kicad-dev/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/Download_Files/Kicad/kicad-dev/common'
make[1]: Entering directory `/Download_Files/Kicad/kicad-dev/3d-viewer'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/Download_Files/Kicad/kicad-dev/3d-viewer'
make[1]: Entering directory `/Download_Files/Kicad/kicad-dev/eeschema'
gcc eeschema.o schedit.o libedit_undo_redo.o libedit_onrightclick.o
libedit_onleftclick.o dangling_ends.o setpage.o cmpclass.o
component_class.o libclass.o options.o tool_lib.o tool_sch.o
tool_viewlib.o drawframe.o schframe.o viewlib_frame.o selcolor.o
drawpanel.o wxprint.o lib_export.o busentry.o bus-wire-junction.o
eelibs1.o eelibs2.o eeload.o block.o block_libedit.o eeredraw.o
eestatus.o eestring.o eelayer.o priorque.o eeconfig.o affiche.o zoom.o
getpart.o netlist.o netlist_control.o editexte.o gr_basic.o editpart.o
locate.o save_schemas.o sheet.o viewlibs.o libedit.o libframe.o
symbedit.o pinedit.o libfield.o libedpart.o menubar.o savelib.o
symbtext.o symbdraw.o hierarch.o files-io.o annotate.o plothpgl.o
worksheet.o plot.o libalias.o plotps.o netform.o delsheet.o infospgm.o
delete.o genliste.o erc.o selpart.o libarch.o cleanup.o sheetlab.o
eeclass.o database.o divers.o onrightclick.o onleftclick.o find.o
controle.o hotkeys.o -s -lX11
-I/usr/local/lib/wx/include/gtk2-ansi-release-static-2.6
-I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -L/usr/local/lib
-L/usr/X11R6/lib ../common/common.a `wx-config --libs` `wx-config
--prefix`/lib/libwxpng-`wx-config --release`.a `wx-config
--prefix`/lib/libwxjpeg-`wx-config --release`.a `wx-config
--prefix`/lib/libwxzlib-`wx-config --release`.a -lstdc++ -o eeschema
Undefined first referenced
symbol in file
wxWindow::DoGetClientSize(int*, int*) constsetpage.o
wxToolBar::DoInsertTool(unsigned int,
wxToolBarToolBase*)../common/common.a(toolbars.o)
wxToolBarBase::RemoveTool(int) ../common/common.a(toolbars.o)
wxSetWorkingDirectory(wxString const&)eeschema.o
__1cG__CrunKpure_error6F_v_
/usr/local/lib/libwx_gtk2-2.6.a(monolib_module.o)
wxString::StartsWith(char const*, wxString*)
const../common/common.a(gestfich.o)
wxIsAbsolutePath(wxString const&) netform.o
wxWindowBase::MakeModal(bool) setpage.o
..........Numerous same type errors removed..........
ld: fatal: Symbol referencing errors. No output written to eeschema
collect2: ld returned 1 exit status
make[1]: *** [eeschema] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/Download_Files/Kicad/kicad-dev/eeschema'