compilation

Visual Studio 2010 is Eating My DLLs! - referenced third party dlls missing after build

 ̄綄美尐妖づ 提交于 2019-12-06 00:03:39
Please help I am pulling my hair out over this: I have a Visual Studio ASP.NET MVC solution in which a project references a third party DLL, log4net in this case. My solution tree is as follows: GenericLibrary MyApp.NHibernate MyApp.Library MyApp.WebUI MyApp.WebUI is the main start-up MVC web project and has references to GenericLibrary , MyApp.NHibernate and MyApp.Library . MyApp.NHibernate has references to all the NHibernate bits including log4net. Now the problem is when I compile my solution the log4net dlls seem to appear and disappear from the MyApp.WebUI project's /bin directory, so

Python distutils gcc path

℡╲_俬逩灬. 提交于 2019-12-05 23:52:58
问题 I'm trying to cross-compile the pycrypto package, and I'm getting closer and closer however, I've hit an issue I just can't figure out. I want distutils to use the cross-compile specific gcc- so I set the CC env var and it seems to respect the setting for the first invocation of the compiler, but thats it. export CC="/opt/teeos/buildroot/output/host/usr/bin/i586-linux-gcc" /opt/teeos/buildroot/output/host/usr/bin/i586-linux-gcc -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std

Prevent ASP.NET Website project from building certain directories by using Web.config?

爷,独闯天下 提交于 2019-12-05 22:43:00
问题 While programming, the longest part is a build on my ASP.NET Website project is the "Building directory" process seen below. (Note: I don't have the liberty to turn this into a Web Application with a .csproj build file. Wish I did.) The contents of the directories seen below are not changing although there might be some dependencies in the App_Code/ subfolders that do change. Is there any way for me to stop some directories from building using Web.config , to shorten a compile of my dev copy?

Compiling GTK+ applications on windows?

♀尐吖头ヾ 提交于 2019-12-05 22:19:05
I was following this thread in order to learn gtk but I cant seem to get it to compile. I've downloaded the GTK all in one bundle and extracted it to c:\gtk (have also set bin as a path variable), but when I try gcc foo.c %VAR% it says gcc: %VAR%: No such file or directory , what am I missig here?. this is my VAR.bat file set VAR = -mms-bitfields -IC:/gtk/include/gtk-2.0 -IC:/gtk/lib/gtk-2.0/include -IC:/gtk/in clude/atk-1.0 -IC:/gtk/include/cairo -IC:/gtk/include/pango-1.0 -IC:/gtk/include /glib-2.0 -IC:/gtk/lib/glib-2.0/include -IC:/gtk/include -IC:/gtk/include/freety pe2 -IC:/gtk/include

compiling vim with python support on Ubuntu

非 Y 不嫁゛ 提交于 2019-12-05 22:14:56
问题 I am trying to compile vim from source with python interpreter on Ubuntu. I have installed the dependencies for vim, installed python2.7-devel and python2.7-dbg packages on Ubuntu and do the configure step like this ./configure --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config The config directory does contain the config.c file. The make step fails with the following error. ... objects/py_config.o:(.data+0xcc): undefined reference to `initcStringIO' objects/py_config.o:

Ionic 2 RC0 And Angular 2 latest Error on Build android (ngc: Error: Error encountered resolving symbol values statically)

冷暖自知 提交于 2019-12-05 21:58:16
Error Appear when i build android using ionic build android command ngc: Error: Error encountered resolving symbol values statically. Reference to a local (non-exported) symbol 'dictionary'. Consider exporting the symbol (position 14:8 in the original .ts file), resolving symbol TRANSLATION_PROVIDERS My code in translation.ts file export const TRANSLATIONS = new OpaqueToken('translations'); // all traslations const dictionary : any = { [LANG_EN_NAME]: LANG_EN_TRANS, [LANG_AR_NAME]: LANG_AR_TRANS, [LANG_FR_NAME]: LANG_FR_TRANS }; // providers export const TRANSLATION_PROVIDERS : any = [ {

What is an efficient workflow with C? - Makefile + bash script

ぃ、小莉子 提交于 2019-12-05 21:52:36
I'm working on one of my first projects that will span more than one C file. For my first couple practice programs, I just wrote my code in main.c and compiled using gcc main.c -o main . This worked for me as I was learning. Now, I'm working on a much bigger project on my own. I want to continue doing compilation on my own (or at least setting it up manually) so I can understand the process. After reading a bit, I decided to make a Makefile. Note: I'm also using GTK+, so I had to look up how to add that into the compile command. This is what it looks like after a bit of research: main: gcc

What is the default PHP configuration?

南笙酒味 提交于 2019-12-05 21:52:27
What are the default PHP --configure flags, that are set when doing a standard LAMP install via tasksel? I have to recompile PHP to include process control for my buddy, but I haven't been able to find a list of all flags that come by "default". You can do php -i | grep config -i this should return what are the configure used by taskel. Backup your php.ini before you proceed with re-compilation... PS: you might need to download PHP source for compilation If you're trying to recreate a previous compile so as to activate new modules, the phpinfo() output contains the exact ./configure args used

is it better to register dll's to GAC or reference them from bin folder in ASP.NET

女生的网名这么多〃 提交于 2019-12-05 21:30:57
and if the answer is "it depends", could you provide a short explanation why ? GAC is meant to contain assemblies that are shared across multiple applications . If that is the case, you should strong-name the assembly and register it with the GAC. If not, keep the assembly as a private assembly and reference it as a project/dll reference. PS: Didn't really get the reference from bin folder part of your question - which bin folder is this? At the risk of drawing downvotes I'm going to fly in the face of popular opinion and say that the GAC should only be used as a last resort (one example I can

FSC recompiles every time

烈酒焚心 提交于 2019-12-05 21:23:50
FSC recompiles my .scala files every time even there is no need - I can compile it twice without editing anything between attempts and it recompiles them! For example, I have 2 files Hello.scala class Hello{ print("hello") } And Tokens.scala: abstract class Token(val str: String, val start: Int, val end: Int) {override def toString = getClass.getSimpleName + "(" + "[" + start + "-" + end + "]" + str + ")"} class InputToken(str: String, start: Int, end: Int) extends Token(str, start, end) class ParsedToken(str: String, start: Int, end: Int, val invisible: Boolean) extends Token(str, start, end)