Hello.
I'm using Cygwin as a shell, and MinGW as a compiler. I'm experiencing a
weird build problem with CMake.
Steps to reproduce the problem.
1. Install Cygwin with standard packages.
2. Download and unpack the following MinGW archives into C:/MinGW:
- [binutils-2.21-2-mingw32-bin.tar.lzma
h
Hello.
I'm building an app with Qt4 that uses Horde3D under Linux. This app
only works when -lHorde3D is specified *before* -lGL for linkage. By
default, CMake puts -lGL before -lHorde3D, probably because I link
with -lHorde3D as TARGET_LINK_LIBRARIES(test Horde3D) and -lGL is
added by Qt4 CMake mo
2010/2/9 michael kapelko :
> Hello.
> I'm building an app with Qt4 that uses Horde3D under Linux. This app
> only works when -lHorde3D is specified *before* -lGL for linkage. By
> default, CMake puts -lGL before -lHorde3D, probably because I link
> with -lHorde3D as TARGET
I have the following CMakeLists.txt to create installer of several DLLs
I need to ship with my application:
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
CMAKE_POLICY(VERSION 2.6)
# Variables
SET(SBILIB_TITLE sbiLib)
SET(SBILIB_VERSION 1.0)
# Project name
PROJECT(SBILIB)
# Install
INSTALL(
FI
I found out it's not TARGETS, but DESTINATION that matters for
CPACK_NSIS_MODIFY_PATH to work. When I set DESTINATION to bin rather
than libW32, it's added to Windows PATH without a problem. That's really
strange.
___
Powered by www.kitware.com
Visit
Hello.
add_definitions(-Uflag) does not help. how to #undef then?
Thanks.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FA
Hello.
I'm trying to build Lightfeather:
http://kornerr.alfamoon.com/download/lightfeather.Z_I_P
with the following CMakeLists.txt:
http://kornerr.alfamoon.com/download/CMakeLists.txt
The shared libLightfeather.so builds just fine under Linux. But does not
under Winsows XP with latest MinGW.
I installed Windows XP ENU and finally got the error message. It is "The
parameter is incorrect" for linking.
When I run it as 'mingw32-make VERBOSE=1' the cmd causing error is:
http://kornerr.alfamoon.com/lf/cmake_cmd.txt
Is there anything wrong with that? Or is it cmd line param length
restricti
I tried MSYS and it didn't work. The same error arises:
Linking CXX shared library libLightfeather.dll
/bin/sh: C:/MinGW/bin/c++.exe: Bad file number
make[2]: *** [libLightfeather.dll] Error 126
make[1]: *** [CMakeFiles/Lightfeather.dir/all] Error 2
make: *** [all] Error 2
I'm at a lost what to
version 2.6.4
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link
I've tried "Unix Makefiles", "MSYS Makefiles". Both produced "Bad
argument number" error during linkage.
I cannot use "MinGW Makefiles" within MSYS, because CMake complains,
that MinGW's make won't work when sh.exe is in the PATH. When I remove
sh.exe from the PATH, not a single command works in
I tried to change cmGlobalMSYSGenerator and to use "MinGW Makefiles" in
MSYS the way you suggested. Nothing helped.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please ke
12 matches
Mail list logo