User forums > Help

Cannot find resources...

(1/3) > >>

bluesky:
When I try to debug a program compiled(no problem,and executable file generated) with Mingw32 on Code::blocks ,the window following pop:
Cannot find resource...
XXX was configured to be installed in
"..."
Please use command-line switch '--prefix' or set the CODEBLOCKS_DATA_DIR enviroment variable to point when XXX
is installed.
or try re-install the application...

But the same window will pop after adding "--prefix=Destination Directory".

What the problem is , and Could you help me ?
Thanks!

MasterAlexei:
I have now the same problem.
I ll try to compile the CB from sources from Head of SVN. I use the CB 10.05 to compile the sources of CB from SVN.

Where should i put the CODEBLOCKS_DATA_DIR variable?

Do the resources are separate from SVN sources?

Folco:
Environment settings -> environment variables.
Then you could use this variable by editing the project options to enable it.

MasterAlexei:

--- Quote from: Folco on October 12, 2010, 01:29:42 am ---Environment settings -> environment variables.
Then you could use this variable by editing the project options to enable it.

--- End quote ---
Thanks.

I think, that the problem is that update.bat is not quite compatible with existing cygwin environmet, and does not create resources.zip file. It gives a warnings, that there is MS-DOS Pathes are in command, and does not start zip cmd.

I did run the update script from the cygwin shell, and it did it right. And I could start the CB from any directory, where I copied it. :)

MasterAlexei:
Now there is another problem here.

After building the head of CBs SVN, I can start CB, but if I select in menu Settings->Editor..., the CB is crashed with error

The app in 0x69f016ee try to read the mem in 0x00000000.

What can be the problem here?

Thanks in advance,

Alexey

Navigation

[0] Message Index

[#] Next page

Go to full version