logo

Thread

logo
the fair gds editor

Introduction
Screenshots
License
Download
Userinterface
Function Index
White Papers
Community
Contact

Use your OpenID:

getopenID

mouse left
no help

Installation for Windows XP

by anonymous - 21 Aug 2009, 9:28 CEST

Hi,
can anyone give me a detailled description on how to install the layouteditor in Win XP? I have installed QT, freetype and copied zlib.dll into the system32 folder so far.
In which folder do I have to run qmake now because in the layout folder nothing happens.
I would be very glad if anyone can help me with a step by step instruction (what do I have to enter and what output should I expect). Unfourtunately, the instructions on the homepage are not helfpful.

Many thanks in advance!

Sebastian

by Juergen Thies - 21 Aug 2009, 9:56 CEST

If qmake terminates without any message, everything is ok and a 'Makefile' was created in that folder. You will get only a message, if there is any problem. Please see also the qmake documentation: http://doc.trolltech.com/4.5/qmake-manual.html

Just start you compiler (e.g 'nmake' for vcc) to compile. A 'layout.exe' will be created in the 'bin' subfolder.

For compiling LayoutEditor you not just need the zlib.dll, but you also need the zlib header files.

by anonymous - 21 Aug 2009, 10:26 CEST

qmake ran without an error, but after runnig make, I got an error "mingw32-make: *** [sub-src-make_default] Error 2", and no file was written in the \\bin folder. What is going wrong?
Thanks!

by Juergen Thies - 21 Aug 2009, 10:31 CEST

There must be a message before. If this message appears during the linking, the bin folder can be write protected or the disk is full.

by anonymous - 21 Aug 2009, 11:04 CEST

There are some error messages while runnig make:
for example "FT_library does not name a type", "FT_Bitmap has not been declared, "ISO C++ forbids declaraton of 'b' with no type" and the error messages like the one described above.
Indeed, the whole folder is wirte protected, but I can not get rid of this protection, neither in the explorer nor in the shell. Diskspace should be sufficient.
Any further hints?

by Juergen Thies - 21 Aug 2009, 11:17 CEST

Even before "FT_library does not name a type" there should be a message like this "include file not found 'ft2build.h'"
You problem is that the freetype header files are not found by the compiler. Add the correct path to the compiler include folders or copy the freetype header files to the default include folders. How to do this depend on the compiler.

As you are using mingw this link may help: http://www.mingw.org/wiki/IncludePathHOWTO

by anonymous - 21 Aug 2009, 12:30 CEST

I now got rid of the errors concernung ft2build.h. by simply copying the freetype header files in the mingw32 include directory. The only errors remaining now are the (new) ones: zlib.h no such file or directory, and the error s_stream_s does not name a type. I tried (as you said) to copy the zlib header files in the directory, but it did not help.
Seems as if I come closer and closer. Any next and final suggestions?

by Juergen Thies - 21 Aug 2009, 12:38 CEST

Please check the hierarchy of the zlib include file. May be move it from include/zlib/zlib.h to include/zlib.h, etc. The error message say the exact/expected name/location.

by anonymous - 21 Aug 2009, 12:59 CEST

Now it ran through, but following errors occur:
"mingw32-make[2]: ***[..\\bin\\layout.exe] Error1", and "mingw32-make: *** [sub-src-make_default] Error 2" (see above). No layout.exe was written in \\bin.

by Juergen Thies - 21 Aug 2009, 13:36 CEST

The error is named before that lines.

by anonymous - 21 Aug 2009, 13:37 CEST

collect2: ld returned 1 exit status, and for the last error: leaving directory ...\\layout\\src

by Juergen Thies - 21 Aug 2009, 13:43 CEST

ld is the linker. Before that line there should be something like 'undefined reference' or 'library not found'. The reason could be a to old version (freetype1 instead of freetype2) or a missing library file (*.dll or *.lib).

by anonymous - 21 Aug 2009, 13:49 CEST

it states: cannot find -llibfreetype. I try to find it and copy it in the directory where is is looked for

by anonymous - 21 Aug 2009, 14:00 CEST

I have no a layout.exe and, after copying alle dlls that are needed (zlib1, mingwm10, freetype6, qtgui4, qtcore4) a message pops up: entry point "?insert@?$QVector@VQPointF@@@@QAEXHABVQPointF@@@Z" in qtcore4.dll not found.

by Juergen Thies - 21 Aug 2009, 14:16 CEST

It seems that there is a version mixing of qt. During compilation and execution different versions of qt4 was used. The reason could be, that a other installed program used an older version of qt. Copy all qt*.dll next to the layout.exe. These dll will be preferred to all other dll installed in the system.

by anonymous - 21 Aug 2009, 14:25 CEST

many many thanks! Now it works.


Please log in to post!