Author Topic: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll  (Read 9875 times)

Rinner

  • Guest
Hello, I am new to Code::blocks so this may be a simple problem - although I have tried the basics and cannot for the life of me solve this problem.

I downloaded the 10/12 nightly build, along with the supporting Dlls:

mingwm10.dll

wxmsw26u_gcc_cb.dll (unicode).

When I start codeblocks, I get the following error:

"The procedure entry point _ZNK7wxRegEx7MatchesEPKwij could not be located in the dynamic link library wxmsw26u_gcc_cb.dll"

Checking the dll with microsoft depwalker shows this entry point is indeed missing from the dll, there is one almost the same name but without the 'j' on the end.

I also tried the 10/11 version and have exactly the same problem.

Thanks for any help, this product looks fantastic and I cannot wait to start using it =)

Regards,

Matt

Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #1 on: October 13, 2006, 07:27:07 pm »
FYI, I am using Windows 2003 Server.


Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #2 on: October 14, 2006, 12:45:55 am »
Any thoughts? Maybe im asking the wrong question..

has anyone managed to get the 10/12 nightly build to work at all (from a clean install, downloading just the build itself and dll's).

It seems to me that if the export is missing from the dll, it would never work - but I see no other complaints here about this issue so im tearing my hair out trying to figure out what it is =)

Thanks,

Matt

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #3 on: October 14, 2006, 01:04:46 am »
very weird, it kind of points in the direction that it would not b the correct wx dll, but probably many many people already downloaded it and used it, and no complaints.

Do you have the possibility to try it out on another windows version(XP or something), maybe it's an 2003 issue ? (can't think of one, but one never knows) ...

Offline balgior

  • Multiple posting newcomer
  • *
  • Posts: 24
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #4 on: October 14, 2006, 01:32:58 am »
i had a similar problem when trying to use a unicode built when i was using minMe (!), which doesn't support unicode. :D Why don't you try a recent ansi built?
http://forums.codeblocks.org/index.php?topic=4146.0
(download wxmsw26_gcc_cb_wx2.6.3p2.7z, not wxmsw26u_gcc_cb_wx2.6.3p2.7z)
and see if its ok. Though i think win 2003 should not have this problem..
Are you sure you didn't do anything strange with the .dlls?

cpprooky

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #5 on: October 14, 2006, 02:17:51 pm »
The 10/12 NB works fine on my XP SP2 !
This problem (I already experienced a time ago) is certainly due to a bad version of wxmsw26u_gcc_cb.dll.

Try to download again the NB and the 2 dlls that comes with it.

Also, make sure the dlls are not somewhere in your path. They should both be in the root unzip directory of the Nb, that is, in the same folder than the "codeblocks.exe"

C++ Rooky

Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #6 on: October 16, 2006, 07:02:03 pm »
Well I have no idea what it is - very strange. I downloaded the 10/14 build, and the Unicode version of wxmsw26u_gcc_cb.dll.

I made sure I have no other versions of these files anywhere else in my system, and I get the same exact error.

What is so wierd is this entry point does not exist in the DLL! Can someone else possibly confirm this for me? The entry point it is looking for is:

_ZNK7wxRegEx7MatchesEPKwij

And I can confirm it is looking in the dll named 'wxmsw26u_gcc_cb.dll' - if I remove/rename the dll it complains the dll is not found.

Also, when I view dependancies for codeblocks.dll, I get the error:

'Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.'

And it points to WXMSW26U_GCC_CB.DLL -- and shows the function name as:

'_ZNK7wxRegExMatchesEPKwij' - so it expects this function also. But it is not present.

The only thing I can think of is somehow the version of the wxWidgets DLL I have is 'bad' - but it's the very latest one, and I have downloaded all these files many times over so I'm sure they are not corrupted. Maybe the link to the file is incorrect - maybe points to an old version, im not sure. The date on the dll is:

'1/2/2006 8:05am' so it does seem quite old as compared to codeblocks.dll. (which is 10/14/2006).


Thanks for any help!

--Matt
« Last Edit: October 16, 2006, 08:24:48 pm by Rinner »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2874
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #7 on: October 16, 2006, 08:31:18 pm »
It could be an out of date plugin. Have you tried turning off all plugins and running CB?

Edit:
_ZNK7wxRegEx7MatchesEPKwij was found in my
wxmsu dll.
« Last Edit: October 16, 2006, 08:39:15 pm by Pecan »

Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #8 on: October 16, 2006, 08:35:09 pm »
It could be an out of date plugin. Have you tried turning off all plugins and running CB?

I moved all plugin dll's to a different directory, and get the same problem when launching.

Interesting:wxscintilla.dll does NOT attempt to import that named function, so when I view dependancies its fine. Only 'codeblocks.dll' attempts to resolve it, resulting in the error because codeblocks.exe loads codeblocks.dll.

I just don't get it, unless there is something else I am missing.. I have downloaded the packages serveral times, with the exact same error. The RC2 version works perfect - also the 10/16 version is doing the same thing error on the missing export.

Matt
« Last Edit: October 16, 2006, 08:37:48 pm by Rinner »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2874
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #9 on: October 16, 2006, 08:43:20 pm »
The RC2 version works perfect - also the 10/16 version is doing the same thing error on the missing export.

Check your paths. It must be picking up the wrong dll.

Use a .bat or .cmd to specify the path to CB and the .dll, excluding all other paths. eg. set path=c:\mypath.to.codeblocks.only
 

Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #10 on: October 16, 2006, 09:46:38 pm »
It could be an out of date plugin. Have you tried turning off all plugins and running CB?

Edit:
_ZNK7wxRegEx7MatchesEPKwij was found in my
wxmsu dll.


Did make your own build? Because I do not have a 'bin' directory, and my DLL name does not have 'custom' at the end.

I searched my entire drive, and found no other DLL's with that name, also like I said if I remove the dll it complains. Also looking in the exact file that is in my codeblocks dir (alongside codeblocks.exe) does not have that export.

Im stumped. =)

Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #11 on: October 17, 2006, 01:02:17 am »
So to test, I installed Code::blocks on a brand new Windows XP SP2 install - nothing else installed except all required updates. I get the same error, so I am assuming I somehow have a bad version of the wxWidgets dll.

What I obviously need to do is build my own version from source, or somehow get an updated DLL. I am still confused as to how it is working for others who may have downloaded the DLL's as I have, but this test does confirm the error is not my machine or OS installation.

Thanks again for all the tips, its great to at least be able to discuss this problem =)

Matt

Rinner

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #12 on: October 17, 2006, 10:11:06 pm »
** UPDATE **

Was able to get codeblocks running with a Nightly Build from some time ago - so I grabbed the source from SVN and did a full unicode build. After compiling, I was able to run the latest nightly build just fine. I noticed the resulting wxWidgets DLL *DOES* export the function I was previously missing.

So I don't know what the deal is, it appears that the link I was using to grab the wxWidgets DLL was bad - it was an older version of the DLL with a missing function.

Anyway, works perfect now. Thanks for all the help, tips etc. I cannot wait to start doing GP2x development with this fantastic product!

Regards,

Matt

Doomsday

  • Guest
Re: Problem starting Nightly Build 10/12 - Missing Entry Point in Dll
« Reply #13 on: November 14, 2006, 10:06:01 pm »
Since June 09, 2006 CodeBlocks need an updated version of wxWidgets DLL (from sticky post "Important changes to the nightly builds").

Then, users must download wxmsw26u_gcc_cb_wx2.6.3p2.7z instead wxmsw26u_gcc_cb.7z.
It extracts the same filename, but obviously it's not the same DLL :lol:


NB: I have no more hair on my head....