configure

What would be a pratical example of sysroot and prefix options for Qt

混江龙づ霸主 提交于 2019-12-21 03:43:24
问题 I'm looking at all the options that can be run for the configure script provided with Qt. (specifically qt-everywhere-opensource-src-5.2.0). After considerable searching, I've determined this stuff is poorly documented at best so I was hoping I could get some help. When I look at the descriptions for prefix and sysroot configuration options: ~/qt-everywhere-opensource-src-5.2.0$ ./configure -help | grep "sysroot" -extprefix <dir> ... When -sysroot is used, install everything to <dir> ,

Scala sbt: Multiple dependencies in sbt

折月煮酒 提交于 2019-12-21 03:17:20
问题 I am a new user to Scala, following the way to create a scala sbt project. https://www.youtube.com/watch?v=Ok7gYD1VbNw After adding libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test" to build.sbt , and refreshed the project, I got this msg. [warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version: [warn] * org.scala-lang:scala-reflect:(2.11.2, 2.11.7) [warn] * org.scala-lang.modules:scala-xml_2.11:(1.0.2

iOS Compiling (armv7, i386) of several libs. Configure Script: C preprocessor fails sanity check

人盡茶涼 提交于 2019-12-20 23:22:43
问题 I've been doing a lot of cross-compiling of different libraries for iOS and until iOS5 there was no problem. Ok, apparently my problem is, that the iOS5 SDK does not include the GNU gcc compiler any more. Only llvm and clang are available. My problem is, that I cannot finish to run the 'configure' script of any library any more. It always fails with: configure: error: C preprocessor "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" fails sanity check gcc only is a symbolic link

Creating makefile

不想你离开。 提交于 2019-12-20 05:38:16
问题 I am trying to create the makefiles and configure for my library which its directory structure is like following: $projectroot ├── lib ├── src └── test this library has 3 different parts (part1, part2 and part3) and it is a hierarchal library, that means part2 needs part1, part 3 needs part2 and part1: part1 ◁───┐ △ │ │ │ part2 │ △ │ │ │ │ │ part3 ┘ Now, I want to have 4 different targets, as you can see below: all: <MAKE ALL THE 3 PARTS> part1: <MAKE PART1> part2: <MAKE PART2> part3: <MAKE

Android How to add/configure Exchange setting programmatically?

对着背影说爱祢 提交于 2019-12-20 02:13:55
问题 Is it me or I can't find any example of how to add/configure Microsoft Exchange programatically? It seems like AccountManager :: addAccount (String accountType, String authTokenType, String[] requiredFeatures, Bundle addAccountOptions, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) should do the work. However, I can't figure out how for Microsoft Exchange account. Could you point me to a simple working example code? Thank you. 回答1: Seems like it can't be done by

compile ffmpeg with android ndk r5b

大城市里の小女人 提交于 2019-12-18 16:27:44
问题 compile ffmpeg with android ndk r5b. ffmpeg 0.6.1 android ndk r5b cygwin 1.7 build reference url : http://www.cnblogs.com/scottwong/archive/2010/12/17/1909455.html but, ffmpeg ./configure result error! (below config.err file) check_cc BEGIN /tmp/ffconf.GlDiY1P8.c 1 int main(void){ return 0; } END /tmp/ffconf.GlDiY1P8.c /android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/windows/bin/arm-eabi-gcc -fPIC -DANDROID -c -o /tmp/ffconf.1kQLpGaU.o /tmp/ffconf.GlDiY1P8.c arm-eabi-gcc.exe: /tmp/ffconf

What configure options were used when building gcc / libstdc++?

微笑、不失礼 提交于 2019-12-18 12:07:30
问题 After reading about the problem of passing empty std::string objects between DLLs and EXEs, I am concerned about the configure options used to build my gcc / libstdc++. More specific I want to know if --enable-fully-dynamic-string was used during ./configure . I'm using MinGW 4.4.0 on Windows XP. Does anybody know the configuration used to build this release? Is there a general way to find this information for any installation of GNU gcc? The gcc manual gives me no hint on this topic. Thanks

Can't configure pyQt

孤者浪人 提交于 2019-12-18 04:48:10
问题 When I compile pyQt on Windows 7 it returns an error saying: Traceback (most recent call last): File "configure.py", line 32, in <module> import sipconfig ImportError: No module named sipconfig I have configured sip but the error still occurs. Can anyone help? 回答1: The same happened to me on OSX. As @Janne Karila suggested, you need to download and build SIP first. In the extracted sip source folder issue these commands in a terminal: python configure.py make sudo make install After that (in

How to add include and lib paths to configure/make cycle?

我的未来我决定 提交于 2019-12-17 21:28:01
问题 I need a place to install libraries in a linux box I have no su access to. I'm using ~/local[/bin,/lib,/include], but I don't know how can I tell ./configure to look for libraries there (particularly, I'm trying to compile emacs, which needs libgif, which doesn't come in my distro). I tried adding export PATH=$PATH:~/local/bin export LD_LIBRARY_PATH=~/local/lib export C_INCLUDE_PATH=~/local/include export CPLUS_INCLUDE_PATH=~/local/include to .bashrc but it doesn't seem to work. 回答1: You want

Running a java applet from netbeans?

爱⌒轻易说出口 提交于 2019-12-17 20:19:35
问题 I am trying to run a Java applet from NetBeans, and in trying to run it, I get a 'main class not found' error. I can avoid this by doing SHIFT+F6, but that'll only work if I am currently writing in the main class. I will be working on a somewhat large project, and it's going to have multiple files, and eventually it will be quite cumbersome to always navigate back to the main class to the 'main' file and run it from there. Is there any sort of configurations I can edit to tell NetBeans that I