User forums > Using Code::Blocks

Problem compiling C::B w/ wxGTK 2.8.0

<< < (2/3) > >>

Pecan:
Use this codesnippets-unix.cbp to recompiler.


--- Code: ---<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="CodeSnippets-unix" />
<Option pch_mode="2" />
<Option default_target="Debug-App" />
<Option compiler="gcc" />
<Build>
<Target title="Plugin-unix">
<Option output="../../../devel/share/codeblocks/plugins/libcodesnippets.so" prefix_auto="0" extension_auto="0" />
<Option object_output=".obj/plugin/" />
<Option type="3" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DNO_LOGGING" />
</Compiler>
<Linker>
<Add library="codeblocks" />
</Linker>
</Target>
<Target title="App-unix">
<Option output="../../../devel/share/codeblocks/plugins/codesnippets" prefix_auto="0" extension_auto="0" />
<Option object_output=".obj/app" />
<Option type="0" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
<Add option="-DNO_LOGGING" />
<Add option="-DWX_PRECOMP" />
</Compiler>
</Target>
</Build>
<VirtualTargets>
<Add alias="All" targets="Plugin-unix;App-unix;" />
</VirtualTargets>
<Compiler>
<Add option="-Wall" />
<Add option="-Ulinux" />
<Add option="-Uunix" />
<Add option="`wx-config --cflags`" />
<Add option="-fexceptions" />
<Add option="-Winvalid-pch" />
<Add option="-fPIC" />
<Add option="`pkg-config --cflags gtk+-2.0`" />
<Add option="-DWXUSINGDLL" />
<Add option="-DcbDEBUG" />
<Add option="-DCB_PRECOMP" />
<Add option="-DwxUSE_UNICODE" />
<Add directory="$(#cb)/include" />
<Add directory="$(#cb)/include/wxscintilla/include" />
<Add directory="$(#cb)/include/wxFlatNotebook/include" />
</Compiler>
<Linker>
<Add option="`wx-config --libs`" />
<Add library="txml" />
<Add library="wxscintilla" />
<Add directory="../../../devel" />
<Add directory="../../../base/tinyxml" />
</Linker>
<ExtraCommands>
<Add after="./update" />
</ExtraCommands>
<Unit filename="Makefile.am" />
<Unit filename="codesnippets.cpp">
<Option target="Plugin-unix" />
</Unit>
<Unit filename="codesnippets.h" />
<Unit filename="codesnippetsapp.cpp">
<Option target="App-unix" />
</Unit>
<Unit filename="codesnippetsapp.h">
<Option target="App-unix" />
</Unit>
<Unit filename="codesnippetstreectrl.cpp" />
<Unit filename="codesnippetstreectrl.h" />
<Unit filename="codesnippetswindow.cpp" />
<Unit filename="codesnippetswindow.h" />
<Unit filename="defsext.h" />
<Unit filename="edit.cpp" />
<Unit filename="edit.h" />
<Unit filename="editsnippetframe.cpp" />
<Unit filename="editsnippetframe.h" />
<Unit filename="finddialogs.cpp" />
<Unit filename="finddialogs.h" />
<Unit filename="menuidentifiers.h" />
<Unit filename="messageBoxForm.cpp" />
<Unit filename="messageBoxForm.h" />
<Unit filename="messagebox.cpp" />
<Unit filename="messagebox.h" />
<Unit filename="prefs.cpp" />
<Unit filename="prefs.h" />
<Unit filename="settingsdlg.cpp" />
<Unit filename="settingsdlg.h" />
<Unit filename="settingsdlgform.cpp" />
<Unit filename="settingsdlgform.h" />
<Unit filename="snippetitemdata.cpp" />
<Unit filename="snippetitemdata.h" />
<Unit filename="snippetproperty.cpp" />
<Unit filename="snippetproperty.h" />
<Unit filename="snippetpropertyform.cpp" />
<Unit filename="snippetpropertyform.h" />
<Unit filename="snippetsconfig.cpp" />
<Unit filename="snippetsconfig.h" />
<Unit filename="snippetsimages.cpp" />
<Unit filename="snippetsimages.h" />
<Unit filename="update" />
<Unit filename="update.bat" />
<Unit filename="version.cpp" />
<Unit filename="version.h" />
<Extensions>
<code_completion />
</Extensions>
</Project>
</CodeBlocks_project_file>


--- End code ---

diilbert:
Is there any chance of finding out what you changed, since I am using make & not C::B to build C::B ;)

Thanks.

stahta01:
Pecan's modified cbp mainly just removed editsnippetdlg.cpp and editsnippetdlg.h, I have no idea why.
Tim S



--- Code: ---Index: src/plugins/contrib/codesnippets/Makefile.am
===================================================================
--- src/plugins/contrib/codesnippets/Makefile.am (revision 3879)
+++ src/plugins/contrib/codesnippets/Makefile.am (working copy)
@@ -19,7 +19,6 @@
  codesnippetstreectrl.cpp \
  codesnippetswindow.cpp \
  edit.cpp \
- editsnippetdlg.cpp \
  editsnippetframe.cpp \
  messagebox.cpp \
  messageBoxForm.cpp \
@@ -40,7 +39,6 @@
  codesnippetswindow.h \
  defsext.h \
  edit.h \
- editsnippetdlg.h \
  editsnippetframe.h \
  menuidentifiers.h \
  messagebox.h \

--- End code ---

Pecan:

--- Quote from: stahta01 on April 22, 2007, 06:52:03 pm ---Pecan's modified cbp mainly just removed editsnippetdlg.cpp and editsnippetdlg.h, I have no idea why.
Tim S



--- Code: ---Index: src/plugins/contrib/codesnippets/Makefile.am
===================================================================
--- src/plugins/contrib/codesnippets/Makefile.am (revision 3879)
+++ src/plugins/contrib/codesnippets/Makefile.am (working copy)
@@ -19,7 +19,6 @@
  codesnippetstreectrl.cpp \
  codesnippetswindow.cpp \
  edit.cpp \
- editsnippetdlg.cpp \
  editsnippetframe.cpp \
  messagebox.cpp \
  messageBoxForm.cpp \
@@ -40,7 +39,6 @@
  codesnippetswindow.h \
  defsext.h \
  edit.h \
- editsnippetdlg.h \
  editsnippetframe.h \
  menuidentifiers.h \
  messagebox.h \

--- End code ---

--- End quote ---

It also added pkg-config to the compile options(at some point), but I cannot tell weither it got into berliOS or not. I cannot access berliOS since Friday afternoon.

I can't tell if the "pkg-config" statement is missing, or Killer's make just missed it.

Yes, I took out editSnippetDlg.cpp/h . Don't need 'em anymore.




diilbert:
I am still getting these errors even building with wxGTK 2.6.3 and --enable contrib. 

Any ideas would be appreciated.  I have tried checking out a fresh copy from the SVN, recompiling wxGTK (with unicode, shared & as a monolith) without any success.

Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version