When trying to compile GTK+ with target for DirectFB, it throws:
configure: error: conditional "XINPUT_NONE" was never defined.
Usually this means the macro was only invoked conditionally.
Any ideas?
Thanks.
When creating a mixed mode class, on compilation the header file complains that it needs to be complied with the /clr switch as it is a mixed mode class, however, I can't see any option to specifically compile that header with /clr from visual studio, and I don't want to set the entire project with a /clr flag,
Does anyone know how I can specify that this header file is compiled correctly with /clr?
Thanks in advance!
Hi,
I'd like to set a property in my pom to a classpath containing all the project's dependencies. The ant plugin does something like this, so I know it's definitely possible.
I basically want to use ${maven.compile.classpath} wherever I like in my pom and have it 'just work'. I don't mind using plugins or anything else to achieve this.
Many thanks,
Nick
Is there any way to create a hash of string at compiletime using the C/C++ preprocessor (or even template-metaprogramming)?
e.g. UNIQUE_SALT("HelloWord", 3DES);
The idea is that HelloWorld will not be present in the compiled binary, just a hash.
I'm trying to convert a asp.net website to asp.net web application. I need to change the build action for every file from "content" to "compile". How can i do this site width. I have a too many files to do this manually.
It is possible to use Java class files which includes annotations that are not present at runtime?
Example: I want to write a class with the JPA @Embeddable annotation, which would be present at compiletime (maven scope: "provided"). But the annoatation definition could be absent at runtime, if the class is used outside a JPA application.
Something weird that I've been seeing, a web application written in ASP.Net (C#) that got the source code on the production server and compile that way. So when I deploy to the server I deploy the source code.
Why does .Net have this functionality? Doesn't make sense.
i am trying to compile a c-based forms api program on Linux x86_64
using command
gcc -m32 -I"$ORACLE_HOME/forms/api" -L"$ORACLE_HOME/forms/lib" -L"$ORACLE_HOME/lib" -ld2f fapi.c
it fails with a bunch of undefined references.
$ORACLE_HOME/lib/libd2f.so: undefined reference to `sifom'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `idfrsti'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `simmal'
etc...
does anyone know the list of all the library files i need to add?
Is it possible to specify compiletime "purity" checks in C++?
I.e.:
this function does not read from anything other than it's arguments
this function does not write to anything; it only returns the return value
I used code:blocks as the C++ IDE on Windows. I switched to netbeans 6.8 (with C/C++ plugin, MinGW, MSYS) recently, because netbeas have the nice feature of "checking syntax errors when typing" (same as working on Java or PHP projects).
But the painful thing is that, it takes 2 seconds to compile a simple hello world project in netbeans. Any trick to make it as fast as code:blocks, or at least make the compiling time no more than 0.5 second?
Is it really possible, with Google's V8 Engine, to compile JavaScript into Native Code, save it as a binary file, and execute it whenever I want through my software envorinment, on any machine?
Hi Everyone,
I am new in Unix
I m doing some changes in .cshsc file, It is shell script which is hidden
So how can i compile this file
Can anyone help me for that Or Give some idea ?
Thanks in advance!!
Riddhi
I was asked of this question when mentor an entry-level programmer, I was thinking of this compile + link process so official and usual that I never think about why.
One thing I could think of is to improve the development productivity, but should there be any other more compiler-related reasons?
i'm wondering about this possibility. Is it possible to make our code written in code and string compile and make it become Executable and can operate without the use of server such as Apache.
The OS environment will be Windows family.
When we modify a JSP , we can just overwrite the jsp and tomcat autmatically recompile the servelt asociated to it ,
but if we want to modify a servlet is enough to modify the .java or we need to deploy the .class too? ( I mean is tomcat capable of compiling the .java into a .class if a .clss is not found or is outdated)
The question is if just deploying the .java from svn to the server and restarting tomcat imply that tomcat compile the .java in a .class or we need to deploy the .class too ( and having it in svn too)
Does a .cs(C#) file compile under a .vbproj(VB.NET project) ? (VS 2005, .NET 2)
Say I have Animals.vbproj (namespace Animals)
I have Wolf.vb, Tiger.vb, Cat.vb, and a Human.cs
Could I use Animals.Human from a external AnimalsForm.vb form? Why?
Can someone explain this behaviour?
test.c:
#include <stdio.h>
int main(void)
{
printf("%d, %d\n", (int) (300.6000/0.05000), (int) (300.65000/0.05000));
printf("%f, %f\n", (300.6000/0.05000), (300.65000/0.05000));
return 0;
}
$ gcc test.c
$ ./a.out
6012, 6012
6012.000000, 6013.000000
I checked the assembly code and it puts both the arguments of the first printf as 6012, so it seems to be a compiletime bug.
Java is striving to be backward compatible. It is to such an extent that it crippled its generics for that (off-topic).
But are there situations when old code would not compile on newer versions (more importantly Java 5, and the forthcoming Java 7)
Java is striving to be backward compatible. (It is to such an extent that it crippled its generics for that).
But are there situations when old code would not compile on newer versions (more importantly Java 5, and the forthcoming Java 7)
Event.DISPLAYING
Why this event wont work when i try to compile the flashe (CTRL+ENTER)
Flash gives me error
1119: Access of possibly undefined property DISPLAYING through a reference with static type Class.
I wrote a wrapper DLL for some native c++ functions and compiled it in c++/CLI, then I added a reference to C# project, functions indicates there, but when I try compile project I get this error:
"Additional information: Could not load file or assembly 'lib, Version=1.0.3742.39593, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. "
What's the problem ?
Thanks.
I am trying to build an aspx page at runtime (by another aspx page which finally redirects to the new one). As far as I understand, aspx pages MUST be precompiled before a user can view them. In other words, the aspx page must be compiled to the DLL in the /bin folder.
Is there a away to tell IIS, or to order it by VB.NET code, to compile a page before I am redirecting my user to the page?
Any help would be greatly appriciated.
Hi, I'm trying to learn java from bottom up, and I got this great book to read http://www.amazon.com/o/ASIN/0071591060/ca0cc-20 . Now I found example in the book about declaring Enums inside a class but outside any methods so I gave it a shot :
Enum CoffeeSize { BIG, HUGE, OVERWHELMING };
In the book its spelled enum and I get this compile message Syntax error, insert ";" to complete BlockStatements
Are the Enums that important at all?I mean should I skip it or its possible that I will be using those some day?