Code not running

Pages: 12
I'm just swinging wild here but "Callbacks" are generally functions that communicate with the OS and "init" sounds like shorthand for "initiate", so @ the OP what OS do you have? Which version of wxDev-C++ did you download? Which compiler did you choose?
Who's the OP here? I'm still kind of new to this site... I use a few different OS's. The PC with internet isn't mine, and doesn't have a compiler. I did load Code::Blocks with MinGW which is the g++ compiler, but what I normally use is emacs, xemacs, or a text exitor (like gedit or something) on my linux box and I have a windows box with Visual C++ 2005. I try new things too though. I did load Dev-C++ to test it out, it seems to work after a little tweaking.

I would guess the same thing "__cpu_features_init" is the initialization of the cpu features, and "__dyn_tls_init_callback" is for the initialization of a callback function for dynamic TLS or something...

.. what might be happening, is that it's using a Dev-C++ library over something else and not linking those in like it should, hence deleting them...

-- edit... or rather the link to them
Last edited on
do you mean, Albatross?
did the "delete file location as suggested"

So, now when I want it to run, it says "source code not compiled"

So I go to execute, compile within a few seconds it says "done" doesn't look like there are any errors. So now I click run and it still says "source code not compiled"

>.<I ain't gonna let these computer beat me!
hold on... I have to open it again...

hmm, don't know.. seems to run to me .... did you try compile this file?... compile and run worked for me last I used it. it worked at the time.
sorry, had a prob with my console, so couldn't see anything... works now.. yeah, seems fine to me

.. what is the code you are using? the one on page 1?
Last edited on
yes. I deleted the library thing like the guy said.

here is what the compile log said

"Compiler: Default GCC compiler
Executing g++.exe...
g++.exe "C:\Users\tomr\C++ programming\hey now brown cow.cpp" -o "C:\Users\tomr\C++ programming\hey now brown cow.exe" -I"C:\Program Files\Dev-Cpp\lib\gcc\mingw32\3.4.5\include" -I"C:\Program Files\Dev-Cpp\include\c++\3.4.5\backward" -I"C:\Program Files\Dev-Cpp\include\c++\3.4.5\mingw32" -I"C:\Program Files\Dev-Cpp\include\c++\3.4.5" -I"C:\Program Files\Dev-Cpp\include" -I"C:\Program Files\Dev-Cpp\" -I"C:\Program Files\Dev-Cpp\include\common\wx\msw" -I"C:\Program Files\Dev-Cpp\include\common\wx\generic" -I"C:\Program Files\Dev-Cpp\include\common\wx\html" -I"C:\Program Files\Dev-Cpp\include\common\wx\protocol" -I"C:\Program Files\Dev-Cpp\include\common\wx\xml" -I"C:\Program Files\Dev-Cpp\include\common\wx\xrc" -I"C:\Program Files\Dev-Cpp\include\common\wx" -I"C:\Program Files\Dev-Cpp\include\common"
g++.exe: Files\Dev-Cpp\include\common\wx\msw -IC:\Program: Invalid argument
g++.exe: Files\Dev-Cpp\include\common\wx\generic -IC:\Program: Invalid argument

g++.exe: Files\Dev-Cpp\include\common\wx\html -IC:\Program: Invalid argument
g++.exe: Files\Dev-Cpp\include\common\wx\protocol -IC:\Program: Invalid argument
g++.exe: Files\Dev-Cpp\include\common\wx\xml -IC:\Program: Invalid argument

g++.exe: Files\Dev-Cpp\include\common\wx\xrc -IC:\Program: Invalid argument
g++.exe: Files\Dev-Cpp\include\common\wx -IC:\Program: Invalid argument
g++.exe: Files\Dev-Cpp\include\common : No such file or directory

Execution terminated
Compilation successful"

compilation successful? doesn't look like that to me
first off, go to project->project options->general... and make it console... uh, what's with all the wx stuff... are you on wxDev-C++?... if that's the case, then we'll need to add those libs back in
I'm the one that said delete the libs, but that was for Dev-C++.. trying to make the old work... if you are on the new, then that was unnecessary.
oh dear.

Hmmmm I think I am using the new one. How do I get the libs bacK?

If I can't get it sorted out, I might try codeblocks
Last edited on
Topic archived. No new replies allowed.
Pages: 12