Thread Previous • Date Previous • Date Next • Thread Next |
Hi again,I moved the process to another machine and it seems that almost all is working. The problem is that when I try to compile for Windows, I get these messages runing cmake:
-- Check for installed OpenGL -- found -- Check for installed wxWidgets -- found -- Bazaar version control system version found. -- Check for installed zlib -- found -- Configuring done -- Generating doneCMake Warning: The variable, 'CMAKE_TOOLCHAIN_FILE', specified manually, was not used during the generation. CMake Warning: The variable, 'KICAD_AUIMANAGER', specified manually, was not used during the generation. CMake Warning: The variable, 'KICAD_AUITOOLBAR', specified manually, was not used during the generation.
cmake command used is:cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$mingw_toolchain_file -DCMAKE_INSTALL_PREFIX=$build_dir_win32 -DKICAD_AUIMANAGER=ON -DKICAD_AUITOOLBAR=ON ..
Did anything changed? Milan Dne 22.3.2011 01:14, Brian Sidebotham napsal(a):
Hi Milan, I think your problem probably lies with --enable-monolithic. Under a mingw32 build there is no way for cmake to detect what components of wxWidgets are available in a monolithic build. You can either change the cmake scripts to detect a monolithic build instead, or else disable monolithic building in your configure command and see how you get on from there. Best Regards, Brian. 2011/3/21 Milan Horák<konference@xxxxxxx>:Hi, from build directory of unpacked wxWidgets source: ../configure --enable-unicode --enable-monolithic --enable-shared --enable-aui --with-msw --with-opengl --prefix=/home/milan/Development/toolchain-mingw --host=i586-mingw32msvc --build=x86_64-linux Milan Dne 21.3.2011 16:14, Brian Sidebotham napsal(a):2011/3/10 Milan Horák<konference@xxxxxxx>:Hi gentlemen, I'm trying again to crosscompile Kicad for Windows on Linux. My problem is, that cmake ends with "wxWidgets bot found" message. I ran cmake through strace but everything seems to be the right way. wx is 2.8.11, Kubuntu 10.10 What should I focus on now? Thanks for any advice. MilanCan you post how you are building wxWidgets (the command line)? Are you defining wxWidgets_ROOT_DIR in your cmake options? There are several points of failure for cmake detecting wxWidgets. It's very easy to build on a windows command line if that's possible for you to do. Best Regards, Brian.
Thread Previous • Date Previous • Date Next • Thread Next |