I've patched the 0.75 branch to fix the problem with newer versions of
gcc.

  Try:

'svn co http://svn.gerf.org/leocad/tags/leocad-0.75'
'cd leocad-0.75'
'make config'
'make'

  Don't skip the 'make config' step, you need to regenerate your build
config file to fix your error.

Leonardo



On Tue, Jul 22, 2008 at 12:40 AM, Atte André Jensen <[EMAIL PROTECTED]>
wrote:

> Henrik Sundberg wrote:
>
> > I followed the instructions http://www.ldraw.org/GetStarted-Linux.html
>
> Ok, I'll try to follow that.
>
> > I had a problem with boost-thread at some stage, but solved that with a
> symlink.
> > I think I skipped step 3, 7 and 8.
> > I am able to use the 0.75 release of Leocad, except for the piece
> > manager and terrain editor.
>
> 0.75 doesn't compile here (ubuntu 7.10):
>
> [EMAIL PROTECTED]:~/software/lego/leocad/leocad-0.75$ 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   -O2 -Wall -Ilinux
> -Icommon -DLC_LINUX -g  -c -o linux/profile.o linux/profile.cpp
> In file included from common/file.h:7,
>                  from linux/profile.cpp:11:
> linux/config.h:27:2: error: #error need to define lcint16 and lcuint16
> linux/config.h:28:2: error: #error need to define lcint32 and lcuint32
> common/file.h:43: error: 'lcint32' has not been declared
> common/file.h:45: error: 'lcuint32' has not been declared
> common/file.h:45: error: 'void File::ReadInt(int*)' cannot be overloaded
> common/file.h:43: error: with 'void File::ReadInt(int*)'
> common/file.h:49: error: 'lcint32' has not been declared
> common/file.h:51: error: 'lcuint32' has not been declared
> common/file.h:51: error: 'void File::WriteInt(int)' cannot be overloaded
> common/file.h:49: error: with 'void File::WriteInt(int)'
> make: *** [linux/profile.o] Error 1
>
>
> --
> peace, love & harmony
> Atte
>
> http://atte.dk       | http://myspace.com/attejensen
> http://anagrammer.dk | http://modlys.dk
>  _______________________________________________
> 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