Hi,

  Thanks for the interest on the program and the patches, I've applied them
to the trunk.

  I usually implement new features on the Windows version first as it's the
OS I use primarily nowadays but since some files are shared between all
platforms I sometimes end up breaking the other versions. I've just checked
in fixes to the Linux version and now I'm able to compile and run the trunk
version on ubuntu 8, sorry about that.

  Keep in mind the trunk version is usually unstable as it often has new
features (in this case multiple submodels and flexible pieces) so if you
just want to compile something to use I'd recommend the last stable version
instead. Unfortunately the last stable version was only tested with gcc 3 so
you ended up having those compiler errors with gcc 4.

  I believe the Pieces Library Manager wasn't implemented for the Linux
version, most functions are cross platform but I never had time to add the
dialog itself. I wish I had used QT or wxWidgets instead of GTK and have the
GUI code shared between all platforms so this wouldn't be an issue.

Leonardo


On Sun, Jul 20, 2008 at 10:43 AM, Henrik Sundberg <[EMAIL PROTECTED]>
wrote:

> Hello again,
>
> I've tried to compile the trunk (I thought of looking into the problem
> I had with the piece manager in 0.75).
>
> jpeg/zlib/png are installed, I fixed that first.
>
> I gave up in the end (see below). Is the trunk only partly committed?
>
> Would it take a lot to make the trunk compilable?
>
> /$
>
>
> $ make config
> Automatic configuration
> checking size of char... 1
> checking size of short... 2
> checking size of long... 4
> checking size of int... 4
> checking size of void *... 4
> checking size of long long... 8
> Determining endianess... little endian
> Checking if GLIB and GTK+ are installed... ok
> Checking for jpeg support... no (libjpeg optional)
> Checking for zlib support... no (zlib optional)
> Checking for png support... no (libpng optional)
>
> By clearing ERROR_SETTING, I get:
> $ make config
> Automatic configuration
> checking size of char... 1
> checking size of short... 2
> checking size of long... 4
> checking size of int... 4
> checking size of void *... 4
> checking size of long long... 8
> Determining endianess... little endian
> Checking if GLIB and GTK+ are installed... ok
> Checking for jpeg support... no (libjpeg optional)
> Checking for zlib support... no (zlib optional)
> Checking for png support... no (libpng optional)
> [EMAIL PROTECTED]:/usr/local/src/exp-trunk$
> [EMAIL PROTECTED]:/usr/local/src/exp-trunk$ make config
> Automatic configuration
> checking size of char... conftest.c: In function 'main':
> conftest.c:3: warning: incompatible implicit declaration of built-in
> function 'exit'
> 1
> checking size of short... conftest.c: In function 'main':
> conftest.c:3: warning: incompatible implicit declaration of built-in
> function 'exit'
> 2
> checking size of long... conftest.c: In function 'main':
> conftest.c:3: warning: incompatible implicit declaration of built-in
> function 'exit'
> 4
> checking size of int... conftest.c: In function 'main':
> conftest.c:3: warning: incompatible implicit declaration of built-in
> function 'exit'
> 4
> checking size of void *... conftest.c: In function 'main':
> conftest.c:3: warning: incompatible implicit declaration of built-in
> function 'exit'
> 4
> checking size of long long... conftest.c: In function 'main':
> conftest.c:3: warning: incompatible implicit declaration of built-in
> function 'exit'
> 8
> Determining endianess... endiantest.c: In function 'main':
> endiantest.c:2: warning: incompatible implicit declaration of built-in
> function 'exit'
> little endian
> Checking if GLIB and GTK+ are installed... ok
> Checking for jpeg support... In file included from <command-line>:0:
> ./linux/config.h:7:1: error: unterminated #ifndef
> no (libjpeg optional)
> Checking for zlib support... In file included from <command-line>:0:
> ./linux/config.h:7:1: error: unterminated #ifndef
> no (zlib optional)
> Checking for png support... In file included from <command-line>:0:
> ./linux/config.h:7:1: error: unterminated #ifndef
> no (libpng optional)
>
> By changing "main" to "int main" and exit to return in CONFTEST and
> the endianess check, I get:
> $ make config
> Automatic configuration
> checking size of char... 1
> checking size of short... 2
> checking size of long... 4
> checking size of int... 4
> checking size of void *... 4
> checking size of long long... 8
> Determining endianess... little endian
> Checking if GLIB and GTK+ are installed... ok
> Checking for jpeg support... In file included from <command-line>:0:
> ./linux/config.h:7:1: error: unterminated #ifndef
> no (libjpeg optional)
> Checking for zlib support... In file included from <command-line>:0:
> ./linux/config.h:7:1: error: unterminated #ifndef
> no (zlib optional)
> Checking for png support... In file included from <command-line>:0:
> ./linux/config.h:7:1: error: unterminated #ifndef
> no (libpng optional)
>
> The problem is that config.h isn't done yet. I worked around that by
> changing Makefile to have another set of flags without the include
> statement, and used those flags instead in the jpeg/zlib/png tests in
> config.mk. This made make config pass.
>
> After this I found out that I needed common/array.* and
> common/message.* from the earlier release, so I added them and got:
> $ make
> g++ -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   -O2 -Wall -Ilinux -Icommon -DLC_LINUX -g
> -include linux/config.h  -c -o linux/dialogs.o linux/dialogs.cpp
> In file included from common/project.h:4,
>                 from linux/dialogs.cpp:25:
> common/lc_message.h:9: error: conflicting declaration 'LC_MSG_COUNT'
> common/message.h:12: error: 'LC_MSG_COUNT' has a previous declaration
> as 'LC_MSG_TYPES LC_MSG_COUNT'
> linux/dialogs.cpp: In function 'int propertiesdlg_execute(void*)':
> linux/dialogs.cpp:2392: error: 'LC_MAXCOLORS' was not declared in this
> scope
> linux/dialogs.cpp:2393: error: 'totalcount' was not declared in this scope
> linux/dialogs.cpp:2394: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'lines'
> linux/dialogs.cpp:2396: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'count'
> linux/dialogs.cpp:2424: error: 'col' was not declared in this scope
> linux/dialogs.cpp:2426: error: 'colornames' was not declared in this scope
> linux/dialogs.cpp:2437: error: 'row' was not declared in this scope
> linux/dialogs.cpp:2439: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'lines'
> linux/dialogs.cpp:2444: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'count'
> linux/dialogs.cpp:2449: error: 'row' was not declared in this scope
> linux/dialogs.cpp:2449: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'names'
> linux/dialogs.cpp:2454: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'count'
> linux/dialogs.cpp:2455: error: 'col' was not declared in this scope
> linux/dialogs.cpp:2455: error: 'struct LC_PROPERTIESDLG_OPTS' has no
> member named 'count'
> linux/dialogs.cpp:2462: error: 'row' was not declared in this scope
> linux/dialogs.cpp:2468: error: 'col' was not declared in this scope
> linux/dialogs.cpp: In function 'void modifydlg_create()':
> linux/dialogs.cpp:3081: error: 'messenger' was not declared in this scope
> make: *** [linux/dialogs.o] Error 1
>
> At this point I gave up.
>
> _______________________________________________
> Leocad mailing list
> [email protected]
> https://list.gerf.org/listinfo/leocad
>
>
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to