Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Codesnippets cannot be linked with C::B under linux
PsYhLo:
--- Code: ---g++ -DHAVE_CONFIG_H -I. -I../../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I../../../../../src/include -I../../../../../src/include/wxscintilla/include -I../../../../../src/plugins/contrib/codesnippets -I../../../../../src/plugins/contrib/codesnippets/Search -I../../../../../src/plugins/contrib/codesnippets/editor -I../../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editproperties.o -MD -MP -MF .deps/editproperties.Tpo -c -o editproperties.o `test -f '../editor/editproperties.cpp' || echo './'`../editor/editproperties.cpp
mv -f .deps/editproperties.Tpo .deps/editproperties.Po
make[1]: *** No rule to make target `../prefs.cpp', needed by `prefs.o'. Stop.
make[1]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/contrib/codesnippets/resources'
make: *** [all-recursive] Error 1
--- End code ---
latest svn 5129
linux Ubuntu 8.04 gcc ver 4.2.3
Pecan:
--- Quote from: PsYhLo on July 16, 2008, 02:19:14 pm ---
--- Code: ---g++ -DHAVE_CONFIG_H -I. -I../../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I../../../../../src/include -I../../../../../src/include/wxscintilla/include -I../../../../../src/plugins/contrib/codesnippets -I../../../../../src/plugins/contrib/codesnippets/Search -I../../../../../src/plugins/contrib/codesnippets/editor -I../../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editproperties.o -MD -MP -MF .deps/editproperties.Tpo -c -o editproperties.o `test -f '../editor/editproperties.cpp' || echo './'`../editor/editproperties.cpp
mv -f .deps/editproperties.Tpo .deps/editproperties.Po
make[1]: *** No rule to make target `../prefs.cpp', needed by `prefs.o'. Stop.
make[1]: Leaving directory `/home/psyhlo/devel/cb-src/src/plugins/contrib/codesnippets/resources'
make: *** [all-recursive] Error 1
--- End code ---
latest svn 5129
linux Ubuntu 8.04 gcc ver 4.2.3
--- End quote ---
pref.h is now in the ..\editor directory. Make sure you do a clean.
killerbot:
haha, i have the same issue, make clean, even a new ./configure does NOT help
Seems like the only option might be do a fresh svn checkout and delete the existing stuff. Enjoy :-(
Pecan:
--- Quote from: killerbot on July 16, 2008, 05:10:22 pm ---haha, i have the same issue, make clean, even a new ./configure does NOT help
Seems like the only option might be do a fresh svn checkout and delete the existing stuff. Enjoy :-(
--- End quote ---
Would you clarify that for me?
When I did an svn update on Ubuntu 8.02 it automatically deleted the old editor files for me. Why didn't it do that for you?
I then did a make clean to get rid of old .o files, then ./bootstrap, ./configure ..., make. It worked.
What's different here?
What can I do to make the process smoother?
Jenna:
--- Quote from: killerbot on July 16, 2008, 05:10:22 pm ---... , even a new ./configure does NOT help
--- End quote ---
Did you also run "./bootstrap" ?
I'm not sure, but I guess the directory/file-structure might go into "Makefile.in" and therefore into "Makefile" when doing "./configure".
And if that's right you need to run "./bootstrap" to generate a new "Makefile.in" first.
I cannot test in the moment, because I only have my USB-Stick with very rudimentary build-tools at wok today.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version