An error that is generated during the compilation phase, often due to problems with invalid syntax and/or types. Compare to [runtime-error].

learn more… | top users | synonyms (5)

0
votes
1answer
16 views

error: ‘logFileObj’ does not name a type

I have a file named global.h whose contents are: #define DEPTH 10 #define LOGGING //to log the progress of the program. #ifdef LOGGING #include <fstream> #include <string> extern ...
0
votes
1answer
18 views

XSD : value not in enumeration

i try to read from a XML document via the CodeSynthesis XSD generated files (.cxx/.hxx) and have this code: 1-> char* xmlFile = "C:\\Work\\MPRawDataExample.xml"; 2-> ...
1
vote
1answer
22 views

CUDA 5.0, compilation error

The following piece of code gives an error and I cannot see any reason for it. Can someone let me know what am I doing wrong. __global__ void thekernel(float *device_a, int CELLS, int LVLS) { int ...
-1
votes
0answers
39 views

java.lang.RuntimeException What does it mean in this case? [duplicate]

I get a exception on the line return TextureLoader.getTexture("PNG", new FileInputStream(new File("res/textures/dirt.png"))); it says... Exception in thread "main" java.lang.RuntimeException: ...
0
votes
2answers
47 views

gcc 4.8 compiling errors on OS X 10.8

I am teaching my son C++ and he wanted to look at new C++ 11 features. I compiled gcc 4.8 as g++-4.8 $ gcc-4.8 gcc-4.8: fatal error: no input files compilation terminated. Running a simple example ...
0
votes
1answer
9 views

sndfile.h C CodeBlocks Windows 7

I'm working on CodeBlocks 12.11 on windows 7 (64 bit). I'm programming in C and i'm using the library: libsndfile (http://www.mega-nerd.com/libsndfile/api.html) to easily read a .wav and convert it ...
0
votes
1answer
39 views

Error when i try launching my android aplication (A viewFlipper)

I have made an app which takes the photos from the SDcard and puts them on a ViewFlipper, but when i launch it, it suddenly stops. I have no errors in eclipse(ițs an android app). Here is the ...
-3
votes
1answer
56 views

Error: redefinition of random and related compiler errors

#import <Foundation/Foundation.h> struct { double x; float yellow; double number; }budget; struct budget random; //error: redefinition of random void color(dollar){ ...
0
votes
1answer
16 views

Error creating a window in windows “undefined reference to 'WinMain@16'”

#ifndef UNICODE #define UNICODE #endif #include <windows.h> LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE ...
0
votes
3answers
34 views

Compilation error involving functions being declared twice and the types being different

When I try to compile my simple starter program, I get the following error: In file included from processcommand.c:1: processcommand.h:5: error: expected '=', ',', ';', 'asm' or '__attribute__' ...
0
votes
0answers
47 views

Intellij suddenly throwing ClassNotFoundException

I'm at a complete loss here. I have a project on an external harddrive called LenseProject. Inside LenseProject, I have .idea, lib, Natives and SRC folders. I also have a number of text files for ...
-2
votes
0answers
28 views

Matlab: Debug “Improper Assignment Error”

I write code about encode ADPCM Then I run the program use this function, error appear like that: "Improper assignment with rectangular empty matrix. Error in ==> adpcmenc at 98 ...
-1
votes
0answers
22 views

template linkedlist implementation eroor: unable to match function definition to an existing declaration

I have been trying to write a template linked list and encountered in a error i can't solve. everything works fine accept for =operator. can anyone see the problem? template<class T> class List ...
-4
votes
2answers
65 views

Calling a method for a class attribute C++

I am creating a custom class pi2cma with an object sigma from another class as an atribute. However, when I try to directly call a method of sigma directly in the cpp file of pi2cma with ...
0
votes
1answer
19 views

Maxscript error: group requires a node or node collection

I've been working in Maxscript for about 3 months now, so I am fairly new, and i recently came across the ability to execute strings inside of ms files like so: str = "print \"hello\"" execute str ...

1 2 3 4 5 287
15 30 50 per page