Windows Compilation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows Compilation

lasconic
Administrator
Hi !
I know that the build process for windows is still in early stage. But I try to execute it :). Here are my findings and some questions.
First, I use an Ubuntu 8.04 installation.
- I install the mingw32 package and I copy from my qt 4.4 installation from windows computer the "include" "lib" and "src" directories to /home/ws/.wine/drive_c/Qt/4.4.0/ (as specified in mscore/cmake/mingw32.cmake).
- I also discover that this mingw32.cmake file can't be used by the current cmake version of ubuntu (2.4.7) so I install cmake 2.6 from cmake website and put it in my path.
- Check out the mscore source
- run make win32
- The compilation begins. The compiler seems to be the good one (/usr/bin/i586-mingw32msvc-g++), Q_WS_WIN is found.
- First issue, I got :
Qt QTSCRIPT library not found.
Qt QTSVG library not found.
Qt QTUITOOLS library not found.
Qt QTGUI library not found.
Qt QTXML library not found.
Qt QTNETWORK library not found.
Qt QTCORE library not found.

Do you have the same ? or should I worry ?

- Second issue : I got a lot of warnings :  warning: âuint qHash(const QBitArray&)â redeclared without dllimport attribute: previous dllimport ignored
Same question : should I worry about that ?

- Third issue (I definately worry about that one ;-)). I got an errors during the compilation of "osdabzip", more specifically zip.cpp.
Here is the trace. Is the problem know to you or do I miss something ?


/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp: In constructor âZipPrivate::ZipPrivate()â:
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:526: error: âget_crc_tableâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp: In member function âZip::ErrorCode ZipPrivate::createEntry(const QString&, QIODevice&, QDateTime, bool, bool, Zip::CompressionLevel)â:
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:776: error: âZ_NULLâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:776: error: âcrc32â was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:804: error: âz_streamâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:804: error: expected `;' before âzstrâ
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:807: error: âzstrâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:817: error: âZ_DEFLATEDâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:818: error: âMAX_WBITSâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:820: error: âZ_RLEâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:820: error: âZ_DEFAULT_STRATEGYâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:821: error: âZLIB_VERSIONâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:823: error: âdeflateInit2_â was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:823: error: âZ_OKâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:833: error: âZ_NO_FLUSHâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:845: error: âdeflateEndâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:853: error: âBytefâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:853: error: expected primary-expression before â)â token
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:853: error: expected `;' before âbuffer1â
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:854: error: âuIntâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:854: error: expected `;' before âreadâ
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:858: error: âZ_FINISHâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:864: error: expected primary-expression before â)â token
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:864: error: expected `;' before âbuffer2â
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:867: error: âdeflateâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:879: error: âdeflateEndâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:893: error: âZ_FINISHâ was not declared in this scope
/root/mscore/mscore/trunk/mscore/osdabzip/zip.cpp:898: error: âdeflateEndâ was not declared in this scope


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Windows Compilation

wschweer
Administrator
On Mittwoch 28 Mai 2008, Lasconic wrote:

> Hi !
> I know that the build process for windows is still in early stage. But I try
> to execute it :). Here are my findings and some questions.
> First, I use an Ubuntu 8.04 installation.
> - I install the mingw32 package and I copy from my qt 4.4 installation from
> windows computer the "include" "lib" and "src" directories to
> /home/ws/.wine/drive_c/Qt/4.4.0/ (as specified in
> mscore/cmake/mingw32.cmake).
> - I also discover that this mingw32.cmake file can't be used by the current
> cmake version of ubuntu (2.4.7) so I install cmake 2.6 from cmake website
> and put it in my path.
> - Check out the mscore source
> - run make win32
> - The compilation begins. The compiler seems to be the good one
> (/usr/bin/i586-mingw32msvc-g++), Q_WS_WIN is found.
> - First issue, I got :
> Qt QTSCRIPT library not found.
> Qt QTSVG library not found.
> Qt QTUITOOLS library not found.
> Qt QTGUI library not found.
> Qt QTXML library not found.
> Qt QTNETWORK library not found.
> Qt QTCORE library not found.
>
> Do you have the same ? or should I worry ?

i have the same, so don't worry

>
> - Second issue : I got a lot of warnings :  warning: âuint qHash(const
> QBitArray&)â redeclared without dllimport attribute: previous dllimport
> ignored
> Same question : should I worry about that ?

no

>
> - Third issue (I definately worry about that one ;-)). I got an errors
> during the compilation of "osdabzip", more specifically zip.cpp.
> Here is the trace. Is the problem know to you or do I miss something ?

you have to install a windows binary (and header files) for zlib. I installed the
files in wine/drive_c/MinGW/(bin,lib,include) so they are found at an already
known path

Werner



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Windows Compilation

lasconic
Administrator

Hi!
Thanks for your very helpful answer. Everything compile :) Now linking :)
I got an error with portaudio. More specifically :
ld: cannot find -lportaudio

Is portaudio built during mscore compilation ? or should I have windows version of portaudio ?

Thks again for your help !

Lasconic
2008/5/28 Werner Schweer <[hidden email]>:
On Mittwoch 28 Mai 2008, Lasconic wrote:
> Hi !
> I know that the build process for windows is still in early stage. But I try
> to execute it :). Here are my findings and some questions.
> First, I use an Ubuntu 8.04 installation.
> - I install the mingw32 package and I copy from my qt 4.4 installation from
> windows computer the "include" "lib" and "src" directories to
> /home/ws/.wine/drive_c/Qt/4.4.0/ (as specified in
> mscore/cmake/mingw32.cmake).
> - I also discover that this mingw32.cmake file can't be used by the current
> cmake version of ubuntu (2.4.7) so I install cmake 2.6 from cmake website
> and put it in my path.
> - Check out the mscore source
> - run make win32
> - The compilation begins. The compiler seems to be the good one
> (/usr/bin/i586-mingw32msvc-g++), Q_WS_WIN is found.
> - First issue, I got :
> Qt QTSCRIPT library not found.
> Qt QTSVG library not found.
> Qt QTUITOOLS library not found.
> Qt QTGUI library not found.
> Qt QTXML library not found.
> Qt QTNETWORK library not found.
> Qt QTCORE library not found.
>
> Do you have the same ? or should I worry ?

i have the same, so don't worry

>
> - Second issue : I got a lot of warnings :  warning: âuint qHash(const
> QBitArray&)â redeclared without dllimport attribute: previous dllimport
> ignored
> Same question : should I worry about that ?

no

>
> - Third issue (I definately worry about that one ;-)). I got an errors
> during the compilation of "osdabzip", more specifically zip.cpp.
> Here is the trace. Is the problem know to you or do I miss something ?

you have to install a windows binary (and header files) for zlib. I installed the
files in wine/drive_c/MinGW/(bin,lib,include) so they are found at an already
known path

Werner




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer