Introduction
Screenshots
License
Download
Userinterface
Function Index
White Papers
Community
Contact


no help |  | How to compile GNU version on Mac OS? by anonymous - 25 May 2009, 21:37 CEST
hello,
the INSTALL file says "refer to docs/install.html", which doesn't appear to exist in the file I downloaded: layout-20090512-mac-osx.tar.bz2
there's no MakeFile. I tried some random guesses as to how to compile it (I'm no serious programmer) like "g++ -o LayoutEditor main.cpp" and also with layout.cpp etc, none of which work. What's the layout.pro file, and am I supposed to use that somehow?
Anyone know what I'm missing here? are the instructions included in the ZIP, I'm just too obtuse/rushed to see them?
You help would be much appreciated, Thanks. by anonymous - 25 May 2009, 21:39 CEST
Some more info as to where I'm coming from: I opened up layout.app (which I downloaded), and clicked "GNU Version", which then saved the "LayoutEditor-gpl-src.zip" file to the drive, and that's where I'm searching for instructions and doc/install.html. by Juergen Thies - 25 May 2009, 22:32 CEST
Please see http://www.layouteditor.net/compile.html for the compiling instructions.
The same documentation you will find in the downloaded package at layout.app/doc/install.html by anonymous - 2 Jun 2009, 6:28 CEST
oh thanks, I found it in the other "install" file, as you pointed out. thanks very much for your response.
I hope you do not mind if I post my continued problems with compilation here
[Mac OS X 10.5.7, Apple Mac Mini Intel Core Duo]
I installed Qt 4.5.1 via the downloaded installer,
installed freetype 2.3.5 from freetype.org, with the commands specified on compile.html: (as root because got a permission error even with sudo), the ./configure up to the ln's. no errors, GNU Make 3.81
installed zlib with "make test" & "make install", no errors
however, the "make" for layout fails. I'm using the src that the layout.app spits out when you click the "GPL Version" button. See the below print, it is the last bunch of output from the final g++ call during the "make". I may have installed the PPC arch version of freetype? would that cause this failure? I don't understand why ./configure would proceed to compile for the wrong architecture.
Any help would be appreciate, and thanks. I would love to use a native Mac OS *.CIF/*.gdsii viewer, instead of the Parallels/L-Edit setup I'm using now (and also just want to see what a GPL'd mask layout editor is like! it's cool that it exists.)
errors at the end of the failed "make" command for layout: ------------------------------- ld warning: in /usr/local/lib/libfreetype.dylib, file is not of required architecture Undefined symbols for architecture ppc: "_FT_Init_FreeType", referenced from: textRender::libraryInit() in textrender.o textRender::initFace() in textrender.o "_FT_New_Face", referenced from: textRender::initFace() in textrender.o "_FT_Render_Glyph", referenced from: layoutImagePainter::drawText(QString, int, QPoint, strans, unsigned int)in layoutimagepainter.o "_FT_New_Memory_Face", referenced from: textRender::initFace() in textrender.o "_FT_Set_Pixel_Sizes", referenced from: layoutImagePainter::drawText(QString, int, QPoint, strans, unsigned int)in layoutimagepainter.o "_FT_Load_Glyph", referenced from: layoutImagePainter::drawText(QString, int, QPoint, strans, unsigned int)in layoutimagepainter.o textRender::renderText(QString, int, int, QPoint, strans)in textrender.o "_FT_Done_Face", referenced from: textRender::~textRender()in textrender.o textRender::initFace() in textrender.o "_FT_Get_Char_Index", referenced from: layoutImagePainter::drawText(QString, int, QPoint, strans, unsigned int)in layoutimagepainter.o textRender::renderText(QString, int, int, QPoint, strans)in textrender.o "_FT_Set_Transform", referenced from: layoutImagePainter::drawText(QString, int, QPoint, strans, unsigned int)in layoutimagepainter.o layoutImagePainter::drawText(QString, int, QPoint, strans, unsigned int)in layoutimagepainter.o "_FT_Done_FreeType", referenced from: textRender::~textRender()in textrender.o ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cclT91u8.out (No such file or directory) make[1]: *** [../bin/layout.app/Contents/MacOS/layout] Error 1 make: *** [sub-src-make_default] Error 2
----------------------------- initial info printed suring the freetype ./configure: platform unix compiler cc configuration directory ./builds/unix configuration rules ./builds/unix/unix.mk
[sorry for the massive post of computer gibberish] by anonymous - 2 Jun 2009, 6:32 CEST
oh, of course I used the following to compile layout: qmake -spec macx-g++ make
and zlib is version 1.2.3
also, Dev tools & X11 are installed. Let me know if you want me to find any versions or anything else if you're interested in helping me out. merci. by anonymous - 2 Jun 2009, 6:34 CEST
also, the freetype ./configure says this: checking build system type... i686-apple-darwin9.7.0 checking host system type... i686-apple-darwin9.7.0 checking target system type... i686-apple-darwin9.7.0 (still fiddling to see if I made some mistake) by Juergen Thies - 2 Jun 2009, 8:08 CEST
For reporting/solving problems the forum is made for!
By default the LayoutEditor is compiled as universal binary. So the executable will run on intel and ppc. To achieve this you need universal library as well. Mac libraries and the qt library is universal by default. Your freetype library is not universal build.
To solve the problem there are three different ways: - compile freetype universal: some options for configure freetype are required, configure --help and google will help here,
- download a compiled universal build of freetype: I have lost the URL, but google may help as well.
- compile LayoutEdtior for intel only: modify src/src.pro and remove 'ppc' from the 'CONFIG' line
Please log in to post! The LayoutEditor™ is a program to design and edit layouts for MEMS/IC fabrication and CMOS IC design .Designing these layouts require a high precision. In IC design a sufficient resolution and a possibility of a high scaling is required. The resolution of the LayoutEditor can be set in a wide range and is normally set to 1 nano meter. A higher resolution makes no sense due to atomar structures. With this resolution the LayoutEditor can draw elements up to 4 meters. In many IC design houses this is enough for IC/MEMS which extend usually less than 0.1 meters.
The productions of MEMS/IC is done in many layers. For each of these physical CAD layers a belonging layer had to exist in the drawing. Additional logical layers are required for describing/naming purpose. So a lot of layers are needed. By default the LayoutEditor is limited to 128 layers. But it can easily be adjusted, if more layers are required.
IC Designs often contain a plenty of repeating structures. Essential for micro fabrication of these designs is therefor a hierarchical design. This means, that the complete repeating structure only exists once in a single cell. These cell is then referred multiple times in the main drawing.
Beside the above mems packaging mentioned IC design fundaments it is important to have sophisticated functions to handle all drawing elements. The layout handler has all required functions: all basic design functions, all angle elements, boolean operations, macros, fontgenerator, design rule checker, mems tools, supported format: GDSII, DXF, OASIS, CIF. If you still missing a function, you are free to write a feature request
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |  |

|