Hi,
I'm attempting to cross compile the windows binaries on Linux (latest 32
bit Ubuntu desktop running in a VM). I'm somewhat new to compiling, and I
was able to compile and run a Linux binary without too much trouble.
However, I am very new to cross compiling for Windows, and am not sure why
I'm encountering these problems.
I installed the packages from
https://launchpad.net/~tobydox/+archive/mingw/+packages
After that I created a build directory and tried to run build_ming32 from
there. I'm pasting my output at the end of the email, but before that I
would like to clarify that some of the packages it's looking for are
actually installed:
pkg-config:
Installed: 0.26-1ubuntu2
portaudio19-dev:
Installed: 19+svn20111121-1build1
libsdl1.2-dev:
Installed: 1.2.15-5ubuntu1
libflac++-dev:
Installed: 1.2.1-6build1
libfluidsynth-dev:
Installed: 1.1.5-2
librdf0-dev:
Installed: 1.0.15-1
libzip-dev:
Installed: 0.10.1-1.1
Is anyone able to help me fix these errors?
Thanks,
David
-------------------- output of build_ming32 --------------------
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Check for working C compiler: /opt/mingw32/bin/i686-w64-mingw32-gcc
-- Check for working C compiler: /opt/mingw32/bin/i686-w64-mingw32-gcc --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/mingw32/bin/i686-w64-mingw32-g++
-- Check for working CXX compiler: /opt/mingw32/bin/i686-w64-mingw32-g++ --
works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /opt/mingw32/bin/i686-w64-mingw32-pkg-config (found
version "0.26")
PROCESSOR: i686
-- Target host is 32 bit
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - not found.
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - not found.
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - not found.
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - not found.
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - not found.
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - not found.
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found.
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - not found.
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file process.h
-- Looking for include file process.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found OpenGL: opengl32
-- Found ZLIB: /opt/mingw32/lib/libz.dll.a (found version "1.2.7")
-- Found PNG: /opt/mingw32/lib/libpng.dll.a (found version "1.5.13")
-- Found JPEG: /opt/mingw32/lib/libjpeg.dll.a
-- Found Qt4: /opt/mingw32/bin/qmake (found suitable version "4.8.5",
required is "4.6.0;COMPONENTS;QtCore;QtGui;QtXml;QtNetwork")
-- Found Qt translations in /opt/mingw32/share/qt4/translations
-- checking for module 'sndfile>=1.0.11'
-- found sndfile, version 1.0.25
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Found Threads: TRUE
-- Could NOT find SDL (missing: SDL_INCLUDE_DIR)
-- Could not find libzip
-- Could not find libflac++
-- Found STK: /opt/mingw32/lib/libstk.a
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) (found
version "0.26")
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis:
/opt/mingw32/lib/libogg.dll.a;/opt/mingw32/lib/libvorbis.dll.a;/opt/mingw32/lib/libvorbisfile.dll.a;/opt/mingw32/lib/libvorbisenc.dll.a
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:319
(message):
pkg-config tool not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333
(_pkg_check_modules_internal)
CMakeLists.txt:309 (PKG_CHECK_MODULES)
-- Looking for include file lv2.h
-- Looking for include file lv2.h - not found.
-- Looking for include file slv2/scalepoints.h
-- Looking for include file slv2/scalepoints.h - not found.
-- Looking for slv2_world_new in slv2
-- Looking for slv2_world_new in slv2 - not found
-- Looking for librdf_new_world in rdf
-- Looking for librdf_new_world in rdf - not found
-- Looking for wine_init in wine
-- Looking for wine_init in wine - not found
-- Looking for C++ include windows.h
-- Looking for C++ include windows.h - found
-- Performing Test HAVE_LRINT
-- Performing Test HAVE_LRINT - Success
-- Performing Test HAVE_LRINTF
-- Performing Test HAVE_LRINTF - Success
-- Performing Test CPU_CLIPS_POSITIVE
-- Performing Test CPU_CLIPS_POSITIVE - Failed
-- Performing Test CPU_CLIPS_NEGATIVE
-- Performing Test CPU_CLIPS_NEGATIVE - Success
Installation Summary
--------------------
* Install Directory : /usr/local
* Use system's libsamplerate :
Supported audio interfaces
--------------------------
* ALSA : <not supported on this platform>
* JACK : <not supported on this platform>
* OSS : <not found or not supported on this
platform>
* PortAudio : not found, please install portaudio19-dev
(or similiar, version >= 1.9) ;if you require PortAudio support
* PulseAudio : <not supported on this platform>
* SDL : not found, please install libsdl1.2-dev (or
similiar) ;if you require SDL support
Supported MIDI interfaces
-------------------------
* ALSA : <not supported on this platform>
* OSS : <not found or not supported on this
platform>
* WinMM : OK
Supported file formats for project export
-----------------------------------------
* WAVE : OK
* OGG/VORBIS : OK
* FLAC : not found, install libflac++-dev (or
similar) ;if you want flac as an export format
Optional plugins
----------------
* SoundFont2 player : not found, libfluidsynth-dev (or
similiar);is highly recommended
* Stk Mallets : OK
* VST-instrument hoster : OK
* VST-effect hoster : OK
* LV2 hoster : LV2 (RDF) devel packages not found : need
librdf0-dev, redland-devel or similiar
* CALF LADSPA plugins : OK
* CAPS LADSPA plugins : OK
* CMT LADSPA plugins : OK
* TAP LADSPA plugins : OK
* SWH LADSPA plugins : OK
* FL .zip import : not found, install libzip-dev (or similar)
;if you want to import FL .zip files
-----------------------------------------------------------------
IMPORTANT:
after installing missing packages, remove CMakeCache.txt before
running cmake again!
-----------------------------------------------------------------
-- Configuring incomplete, errors occurred!
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel