To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10432
10431  |  10433
Subject: 
Re: Unable to compile LDGLite 1.0.7 from Source on SuSe Linux
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 28 May 2006 08:01:58 GMT
Viewed: 
2664 times
  
I could compile on Fedora Core4 with this patch:

--- ../ldglite/main.c   2003-08-15 03:26:15.000000000 +0200
+++ main.c      2006-01-09 19:22:08.000000000 +0100
@@ -1388,7 +1388,7 @@
     int lineheight = 14.0;
     int charwidth = 9.0;

-    extern void translate_color(int c, ZCOLOR *zcp, ZCOLOR *zcs);
+    //extern void translate_color(int c, ZCOLOR *zcp, ZCOLOR *zcs);

     s = str;
     y = Height-(lineheight*2)-2;
--- ../ldglite/makefile.linux   2003-08-08 20:23:16.000000000 +0200
+++ makefile.linux      2006-01-09 20:12:30.000000000 +0100
@@ -11,8 +11,8 @@
 TR_SRC=tr.c

 # UnComment this to build in support for Mesa Offscreen rendering
-OFFSCREEN_FLAGS=-DOSMESA_OPTION
-OFFSCREEN_LIBS= -lOSMesa
+#OFFSCREEN_FLAGS=-DOSMESA_OPTION
+#OFFSCREEN_LIBS= -lOSMesa
 # NOTE: Mesa Offscreen lib is not required in some older? version of Mesa?

 # Comment these out to disable the test GUI made with MUI.


After setting the LDRAWDIR variable to the LDRaw directory, the model was rendered.



Message has 1 Reply:
  Re: Unable to compile LDGLite 1.0.7 from Source on SuSe Linux
 
I'd use the "daily snapshot". It should match the latest Windows and Mac releases. I just never got around to testing linux build of of version 1.1.8, as you can see. Anyhow, main.c should include the bumpy case "StdAfx.h". I stuck a few linux stubs (...) (18 years ago, 30-May-06, to lugnet.cad.dev)

Message is in Reply To:
  Unable to compile LDGLite 1.0.7 from Source on SuSe Linux
 
Having downloaded and unzipped the 1.0.7 source from SourceForge (and having had similar errors trying the version recommended on the LDraw getting started guide), I am having difficulty getting it to build. At first, when I was building, it was (...) (18 years ago, 27-May-06, to lugnet.cad.dev, FTX)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR