Need Help BAD! Please, if you can, I'll be forever greatful! .Net, Gtk+ 2.8.18, & Gtkmm 2.8 8-2 NOT Compiling



Hi all,

I'm in need of some serious help trying to use Gtk+, Gtkmm with .Net 2005 (puke XP Platform! - sorry). Here's my error:

************************************************************************
------ Rebuild All started: Project: Example osganimate, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'Example osganimate', configuration 'Debug|Win32'
Compiling...
osganimate.cpp
C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(146) : warning C4003: not enough actual parameters for macro 'max' C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(146) : error C2226: syntax error : unexpected type 'Glib::RefPtr<T_CppObject>'
       with
       [
           T_CppObject=Pango::Coverage
       ]
C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(146) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(146) : error C2760: syntax error : expected '{' not ';' C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(151) : error C2144: syntax error : 'Glib::ArrayHandle<T>' should be preceded by '}'
       with
       [
           T=unsigned char
       ]
C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(151) : error C2143: syntax error : missing ')' before ';' C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(151) : error C2059: syntax error : ')' C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(151) : error C2143: syntax error : missing ';' before ')' C:\GTKmm\include\pangomm-1.4\pangomm/coverage.h(151) : error C2238: unexpected token(s) preceding ';'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Program Files\OpenSceneGraph\VisualStudio\examples\osganimate\Debug\BuildLog.htm"
Example osganimate - 8 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

************************************************************************


My Include directives w/in my source file

//
// Gtk Header
//
//#include <gtk/gtk.h>


// Gtkmm Headers
//
#include <gtkmm.h>
//#include <libglademm.h>


And yes, whether I include or exclude the <gtk/gtk.h> include, the same error occurs. Here are my includes, lib paths, & libs: Can someone tell me what I'm missing? I sure hope so. I've been fighting this for 3 days now & dont' want to give in to the .Net GUI!!!! & yes, I've tried the Gtk# version of GTK w/ NO success either!

(you'll find the attached jpgs that show my includes, lib dirs, and libs being used.

Thank you so much. I really appreciate any help or advice anyone may give me.

I'm actually trying to Compile OpenSceneGraph in .Net because it WON'T compile in Codeblocks. I've not tried Eclipse as yet for OSG but I know GTK will compile with CodeBlocks. Pretty sure it will with Eclipse too, since both use the MingW32 compiler on an XP Platform.




--
Sincerely, Allen

Gene Allen Saucier, Jr
Senior Software Engineer
CAS, Inc
100 Quality Circle
Huntsville, AL  35806
or
PO Box 11190
Huntsville, AL  35814
(256) 922-6453 (w)
"As for I and my house, we shall follow the Lord"  Joseph

JPEG image

JPEG image

JPEG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]