News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 21 April 2007 build will NOT be out.

Started by killerbot, April 22, 2007, 09:17:49 AM

Previous topic - Next topic

killerbot


PsYhLo

i think this is the place
In file included from codesnippets.cpp:42:
/usr/include/wx-2.6/wx/gtk/win_gtk.h:18:21: error: gdk/gdk.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:19:22: error: gdk/gdkx.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:20:30: error: gtk/gtkcontainer.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:21:31: error: gtk/gtkadjustment.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:56: error: 'GtkContainer' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:57: error: ISO C++ forbids declaration of 'GList' with no type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:57: error: expected ';' before '*' token
/usr/include/wx-2.6/wx/gtk/win_gtk.h:68: error: 'GdkVisibilityState' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:73: error: 'gboolean' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:74: error: 'gboolean' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:75: error: 'gboolean' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:80: error: 'GtkContainerClass' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:88: error: 'GtkType' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:98: error: 'gboolean' has not been declared
/usr/include/wx-2.6/wx/gtk/win_gtk.h:102: error: 'gboolean' has not been declared
/usr/include/wx-2.6/wx/gtk/win_gtk.h:106: error: 'gboolean' has not been declared
codesnippets.cpp: In member function 'void CodeSnippets::OnTreeCtrlEvent(wxTreeEvent&)':
codesnippets.cpp:829: error: 'GDK_ROOT_PARENT' was not declared in this scope
codesnippets.cpp:829: error: 'GDK_WINDOW_XDISPLAY' was not declared in this scope
codesnippets.cpp:831: error: 'GDK_WINDOW_XID' was not declared in this scope
codesnippets.cpp:836: error: 'GdkDisplay' was not declared in this scope
codesnippets.cpp:836: error: 'display' was not declared in this scope
codesnippets.cpp:836: error: 'gdk_display_get_default' was not declared in this scope
codesnippets.cpp:838: error: 'gdk_display_get_window_at_pointer' was not declared in this scope
codesnippets.cpp:841: error: 'GdkEventButton' was not declared in this scope
codesnippets.cpp:841: error: expected `;' before 'evb'
codesnippets.cpp:842: error: 'evb' was not declared in this scope
codesnippets.cpp:843: error: 'GDK_BUTTON_RELEASE' was not declared in this scope
codesnippets.cpp:847: error: 'GDK_BUTTON1_MASK' was not declared in this scope
codesnippets.cpp:850: error: 'GdkEvent' was not declared in this scope
codesnippets.cpp:850: error: expected primary-expression before ')' token
codesnippets.cpp:850: error: 'gdk_display_put_event' was not declared in this scope


OS UBUNTU 7.04 wxgtk2.6.3
[url="http://img529.imageshack.us/img529/822/3664286vy.png"]http://img529.imageshack.us/img529/822/3664286vy.png[/url]

Pecan

Quote from: PsYhLo on April 22, 2007, 12:09:16 PM
i think this is the place
In file included from codesnippets.cpp:42:
/usr/include/wx-2.6/wx/gtk/win_gtk.h:18:21: error: gdk/gdk.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:19:22: error: gdk/gdkx.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:20:30: error: gtk/gtkcontainer.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:21:31: error: gtk/gtkadjustment.h: No such file or directory
/usr/include/wx-2.6/wx/gtk/win_gtk.h:56: error: 'GtkContainer' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:57: error: ISO C++ forbids declaration of 'GList' with no type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:57: error: expected ';' before '*' token
/usr/include/wx-2.6/wx/gtk/win_gtk.h:68: error: 'GdkVisibilityState' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:73: error: 'gboolean' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:74: error: 'gboolean' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:75: error: 'gboolean' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:80: error: 'GtkContainerClass' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:88: error: 'GtkType' does not name a type
/usr/include/wx-2.6/wx/gtk/win_gtk.h:98: error: 'gboolean' has not been declared
/usr/include/wx-2.6/wx/gtk/win_gtk.h:102: error: 'gboolean' has not been declared
/usr/include/wx-2.6/wx/gtk/win_gtk.h:106: error: 'gboolean' has not been declared
codesnippets.cpp: In member function 'void CodeSnippets::OnTreeCtrlEvent(wxTreeEvent&)':
codesnippets.cpp:829: error: 'GDK_ROOT_PARENT' was not declared in this scope
codesnippets.cpp:829: error: 'GDK_WINDOW_XDISPLAY' was not declared in this scope
codesnippets.cpp:831: error: 'GDK_WINDOW_XID' was not declared in this scope
codesnippets.cpp:836: error: 'GdkDisplay' was not declared in this scope
codesnippets.cpp:836: error: 'display' was not declared in this scope
codesnippets.cpp:836: error: 'gdk_display_get_default' was not declared in this scope
codesnippets.cpp:838: error: 'gdk_display_get_window_at_pointer' was not declared in this scope
codesnippets.cpp:841: error: 'GdkEventButton' was not declared in this scope
codesnippets.cpp:841: error: expected `;' before 'evb'
codesnippets.cpp:842: error: 'evb' was not declared in this scope
codesnippets.cpp:843: error: 'GDK_BUTTON_RELEASE' was not declared in this scope
codesnippets.cpp:847: error: 'GDK_BUTTON1_MASK' was not declared in this scope
codesnippets.cpp:850: error: 'GdkEvent' was not declared in this scope
codesnippets.cpp:850: error: expected primary-expression before ')' token
codesnippets.cpp:850: error: 'gdk_display_put_event' was not declared in this scope


OS UBUNTU 7.04 wxgtk2.6.3

Nightly or SVN?

This will be fixed as soon as berlios comes back up.

PsYhLo

[url="http://img529.imageshack.us/img529/822/3664286vy.png"]http://img529.imageshack.us/img529/822/3664286vy.png[/url]

Pecan

#4
Use this codesnippets-unix.cbp to recompiler CodeSnippets.


<?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>


PsYhLo

i build codeblocks in console not in already builded codeblocks
./configire --prefix=/usr --enable-contrib
and so on
[url="http://img529.imageshack.us/img529/822/3664286vy.png"]http://img529.imageshack.us/img529/822/3664286vy.png[/url]

cybik

Killer, do YOU have the automated with you? (I am a total noob to this forum)

If you don't, may I ask if you can send me the latest one over email? I need an IDE and I'd rather have Code::Blocks than Dev-Cpp... :)

ed: rrrright, i didn't specify my platform. Windows it is ^^;

killerbot

I'll upload the latest one tomorrow on my private webspace, in case berlios is not fixed by then

bughunter2

Quote from: PsYhLo on April 22, 2007, 03:18:49 PM
i build codeblocks in console not in already builded codeblocks
./configire --prefix=/usr --enable-contrib
and so on

I'm having the exact same problem on my Slackware 11 box.

Do we need to specify an extra argument to ./configure to tell it where to exactly find GTK+ ?
(Note that I've installed GTK to /opt/gtk instead of the default directory)