Hi Scott, normally, the only thing you need to have is libapr-1.dll and libapriconv-1.dll in your PATH, in Windows/system32 or in the same directory as your exe file and the APR_ICONV_PATH variable set according to the instructions.
The error which you are getting means that your executable wants to load a library in a certain version that is not available on your system. VC90 is Visual Studio 2008, VC80 is 2005. It could be that the Microsoft Visual C++ 2008 Redistributable Package is missing. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en The dependencies which go into the executable when linking are listed in e.g. examples\helloworld\target\etch-c-helloworld-client.dir\Debug\helloworld-client.exe.intermediate.manifest Guess you have multiple entries there for DebugCRT. The 2008 dependency is propably there because of the Etch lib being built using VS 2008. I have got the same library dependency version for debugcrt (9.0.21022.8) in the manifest on my machine, it runs here, but I got VS 2008 installed, too... DLL Hell... side-by-side stuff is really a pain in win32, esp. win7. Cheers, Holger -----Original Message----- From: scott comer [mailto:[email protected]] Sent: Montag, 11. Oktober 2010 15:14 To: [email protected] Subject: Re: trying to build c example helloworld... oh, from the application event log (that's where i'd put useful debugging output). Activation context generation failed for "C:\Program Files (x86)\Apache Software Foundation\apache-etch-1.1.0\examples\helloworld\target\debug\helloworld-client.exe". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis. isn't vs 2008 also known as VC80? then how am i linking with vc90? and given that i am, why isn't it found at runtime? scott out On 10/11/2010 8:05 AM, scott comer wrote: > ok, so with the vs 2005 patches it built. but it won't run. and > looking around for dll or library or whatever and i cannot find. so it > is statically linked? > > C:\Program Files (x86)\Apache Software > Foundation\apache-etch-1.1.0\examples\helloworld\target\debug>start > helloworld-server.exe > The application has failed to start because its side-by-side > configuration is incorrect. Please see the application event log or > use the command-line sxstrace.exe tool for more detail. > > is something else supposed to be copied in, such as apr? > > scott out > > On 10/11/2010 7:10 AM, Scott Comer wrote: >> Ok, i got started on a rison parser for java while vs 2008 and the vs >> 2005 patches were downloading and never got back to try. I'll do that >> this morning. >> >> thanks >> Scott out >> >> Sent from my iPhone >> >> On Oct 11, 2010, at 6:13 AM, Holger >> Grandy<[email protected]> wrote: >> >>> Hi Scott, >>> >>> I checked this again at my box. Installing the patch for VS 2005 SP1 >>> from >>> http://support.microsoft.com/kb/949009/ solved the issue for me. We >>> should add >>> this to the build information on the website. >>> >>> Cheers, >>> Holger >>> >>> -----Original Message----- >>> From: Holger Grandy [mailto:[email protected]] >>> Sent: Sonntag, 10. Oktober 2010 20:32 >>> To: [email protected] >>> Subject: Re: trying to build c example helloworld... >>> >>> Hi Scott, >>> >>> interesting. it seems the debug info flies (*.pdb) are not working >>> correctly >>> on your machine. My first quick guess would be >>> http://support.microsoft.com/kb/949009/ >>> >>> The module you used was buillt on the apache win32 build server, >>> which is >>> running Microsoft Visual Studio Version 9.0.30729.1, which is 2008. >>> This would >>> fit to the KB article above. Could you try the fix? >>> >>> If it does not work and if you just want to try out, remove the *.pdb >>> files (you will >>> get warnings then of course when linking) or build "release". >>> >>> Cheers, >>> Holger >>> >>> >>> On Sun, Oct 10, 2010 at 5:50 PM, scott comer<[email protected]> wrote: >>>> ok, so i've downloaded the release distribution and installed it. >>>> >>>> i'm using ms visual studio 2005 >>>> >>>> i've run cmake to get vs project and solution files. >>>> >>>> NOTE: when running under windows 7, you have to start a cmd tool in >>>> administrator mode to do that. >>>> >>>> i've set the environment variables ETCH_HOME and APR_ICONV_PATH. >>>> >>>> i've opened visual studio (again, as administrator). >>>> >>>> opened the solution etch-c-helloworld. >>>> >>>> solution configuration: debug >>>> solution playform: win32 >>>> >>>> picked build/build solution. >>>> >>>> build fails, here's the log: >>>> >>>> 1>------ Build started: Project: etch-c-helloworld-client, >>>> Configuration: >>>> Debug Win32 ------ >>>> 2>------ Build started: Project: etch-c-helloworld-server, >>>> Configuration: >>>> Debug Win32 ------ >>>> 2>Compiling... >>>> 1>Compiling... >>>> 2>helloworld_remote.c >>>> 1>helloworld_remote.c >>>> 2>helloworld_valufact.c >>>> 1>helloworld_valufact.c >>>> 1>helloworld_server.c >>>> 2>helloworld_server.c >>>> 1>helloworld_remote_server.c >>>> 2>helloworld_remote_server.c >>>> 2>helloworld_remote_client.c >>>> 1>helloworld_remote_client.c >>>> 1>helloworld_client_stub.c >>>> 2>helloworld_client_stub.c >>>> 1>helloworld_helper.c >>>> 2>helloworld_helper.c >>>> 2>helloworld_server_stub.c >>>> 1>helloworld_server_stub.c >>>> 1>helloworld_client.c >>>> 2>helloworld_client.c >>>> 2>helloworld_interface.c >>>> 1>helloworld_interface.c >>>> 2>helloworld_listener_main.c >>>> 1>helloworld_client_main.c >>>> 2>helloworld_server_impl.c >>>> 1>helloworld_client_implx.c >>>> 2>helloworld_server_implx.c >>>> 1>helloworld_client_impl.c >>>> 2>Generating Code... >>>> 1>Generating Code... >>>> 1>Compiling manifest to resources... >>>> 2>Compiling manifest to resources... >>>> 1>Linking... >>>> 2>Linking... >>>> 1>etch.lib(etch_arraylist.obj) : fatal error LNK1103: debugging >>>> information >>>> corrupt; recompile module >>>> 2>etch.lib(etch_arraylist.obj) : fatal error LNK1103: debugging >>>> information >>>> corrupt; recompile module >>>> 1>Build log was saved at "file://c:\Program Files (x86)\Apache >>>> Software >>>> Foundation\apache-etch-1.1.0\examples\helloworld\target\etch-c-helloworld-client.dir\Debug\BuildLog.htm" >>>> >>>> >>>> 1>etch-c-helloworld-client - 1 error(s), 0 warning(s) >>>> 2>Build log was saved at "file://c:\Program Files (x86)\Apache >>>> Software >>>> Foundation\apache-etch-1.1.0\examples\helloworld\target\etch-c-helloworld-server.dir\Debug\BuildLog.htm" >>>> >>>> >>>> 2>etch-c-helloworld-server - 1 error(s), 0 warning(s) >>>> 3>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32 >>>> ------ >>>> 3>Project not selected to build for this solution configuration >>>> ========== Build: 0 succeeded, 2 failed, 1 up-to-date, 1 skipped >>>> ========== >>>> >>>> >
