User forums > Using Code::Blocks

Problems with wxWidgets Applications

<< < (3/6) > >>

RKCole:
Well, I thought I had it working but apparently I was wrong.  It was working perfectly fine, but now I am not sure what is going on.  I only receive this message during the compilatin process:

--- Code: ---lb.exe     cannot find -lwxmsw26

--- End code ---

Not exactly sure what is going on because it was working just fine earlier.

Thankss for all of the help; I'm definitely doing a lot better with this than I was earlier.

Take care.

Michael:

--- Quote from: RKCole on January 27, 2006, 05:03:12 pm ---Well, I thought I had it working but apparently I was wrong.  It was working perfectly fine, but now I am not sure what is going on.  I only receive this message during the compilatin process:

--- Code: ---lb.exe     cannot find -lwxmsw26

--- End code ---

--- End quote ---

It is more the linking process rather than the compiling process. The problem is that it cannot find the mentioned library. Why? It is not so easy to find out. Check if all your pathes are set correctly. You can also try with a clean and then re-build.

Michael

RKCole:
Thanks for the response, Michael.

I checked my directories in Code::Blocks Settings->Compiler->Directories.  I made sure that C:\wxWidgets-2.6.2\include\ was set as a directory.  In the Linker directory I set a path for C:\wxWidgets-2.6.2\lib\.  I am not sure if there is anything else I need to do pertaining to that.

I also went even farther and (I am sure this probably did not have to be done...) I uninstalled C::B and wxWidgets, deleted all registry keys, then reinstalled both and rebuilt wxWidgets using the Wiki Guide.  Unfortunately I am still receiving the same message.

Is there anything else I should do or look for?

Thanks for the help; it is much appreciated.

Take care.

tiwag:

--- Quote from: RKCole on January 27, 2006, 09:56:52 pm ---...
Is there anything else I should do or look for?

Thanks for the help; it is much appreciated.

--- End quote ---
please post your project as attachement here, i'll look at it and if i find something, i'll correct it.

RKCole:
tiwag,

While looking through the project folder I created (the project is just the wxWidgets template from Code::Blocks) I noticed there was a file named wx_pch.h.gch which is about 38.1MB in size.  Would this have something to do with the situation at all?

I will still post the project if you would like.  It is just the wxWidgets template with no changes.  I was going to try to compile the template to see if it would work; I was just planning on manipulating it if it compiled/linked correctly so that I could begin teaching myself wxWidgets.

Thanks for the help.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version