User forums > General (but related to Code::Blocks)
Cross Linking of a Linux Project in Windows
apaeffgen:
@TDragon:
Thanks, the project is now building.
@Jens:
I use the same target, but cleaned up the project.
The app crashes with an error "....could not be initialized (0xc0000005)....."
I will set up a separate target and try to build it again.
Thanks for the help.
Best regards
Andreas
apaeffgen:
I found the cause of the crashing app.
Even though the app build on windows, the complete project settings were wrong.
At the moment i edited the project-file by hand, setting up targets for the different platforms. The automated project wizard-script puts general compiler, linker... settings not in the target section but below.
I moved and merged all the abstract compiler, linker... settings to special target sections and now the project builds on linux + windows without changing anything.
I set up a user template to reflect the basic settings.
Maybe it would be great to build a cross-platform wxwidgets wizard to simplify building a rudimentary app on every platform (Instead of Debug / Release maybe Platform -> Debug / Release?)
I did not find anything about this topic in the wiki, so maybe it should be added? Maybe as a basic How-To?
Best regards
Andreas
ChiPnGo:
Hi all, I have the same problem:
--- Quote from: apaeffgen on October 12, 2008, 10:25:21 pm ---...
The app crashes with an error "....could not be initialized (0xc0000005)....."
...
--- End quote ---
What was the solution?
stahta01:
--- Quote from: ChiPnGo on December 18, 2008, 06:55:59 pm ---Hi all, I have the same problem:
--- Quote from: apaeffgen on October 12, 2008, 10:25:21 pm ---...
The app crashes with an error "....could not be initialized (0xc0000005)....."
...
--- End quote ---
What was the solution?
--- End quote ---
I traced my last cause of this problem to an wrong strip.exe being in the system path before the right one.
http://forums.codeblocks.org/index.php/topic,8675.0.html
Navigation
[0] Message Index
[*] Previous page
Go to full version