Author Topic: C Run-time error R6034 {SOLVED}  (Read 13553 times)

Offline racin_ny

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 10
  • Karma: 0
C Run-time error R6034 {SOLVED}
« on: June 10, 2011, 09:05:48 PM »
Program will not start I expect it to start but it throws a C run-time R6034 error.


Error Message
An application has made an attempt to load the C runtime library without using a manifest. This is an unsupported way to load Visual C++ DLLs. You need to modify your application to build with a manifest. For more information, see the "Visual C++ Libraries as Shared Side-by-Side Assemblies" topic in the product documentation.

Applications must use a manifest to load the C runtime library. For more information, see Visual C++ Libraries as Shared Side-by-Side Assemblies and Manifest Generation in Visual Studio.

In release builds, the diagnostic message reads: "An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information."
To correct this error

      Rebuild your application with a manifest. Building an application with Visual Studio automatically puts the manifest into the resulting EXE or DLL file. If you are building at the command line, use the mt.exe tool to add the manifest as a resource. Use resource ID 1 if building an EXE, 2 if building a DLL. For more information, see How to: Embed a Manifest Inside a C/C++ Application.

I understand this won't be your first priority. I'm trying to run beersmith 2 using wine on linux. Beersmith 1.4 works like a dream on it and figured Beersmith2 would also do it.
« Last Edit: June 11, 2011, 02:05:13 PM by racin_ny »

Offline Bokonon

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 6
  • Karma: 1
Re: C Run-time error R6034
« Reply #1 on: June 10, 2011, 09:34:29 PM »
I suspect this is the same issue I ran into and one of the runtime DLLs is missing.  My 1.4 worked just fine and I had to install some additional stuff to get it working.

Here is my post about it:

http://www.beersmith.com/forum/index.php/topic,4609.0.html

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 4319
  • Karma: 80
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: C Run-time error R6034
« Reply #2 on: June 10, 2011, 10:31:02 PM »
Hi,
   Under Linux for some reason you will need to install the Visual C++ runtime 2008 - there is a link to download it in FAQ question #12 here:

   http://www.beersmith.com/faq

  These runtimes are in Vista, Windows 7 and I believe XP SP3, but for some reason are not in most Linux builds.

  If you install these you should be back in business.

Brad
Get my new book and podcast from the BeerSmith Blog

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 4319
  • Karma: 80
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: C Run-time error R6034
« Reply #3 on: June 10, 2011, 11:26:54 PM »
I just added a FAQ about the known Linux/Wine limitations here:

  http://www.beersmith.com/beersmith-2-and-linuxwine/

Cheers,
Brad
Get my new book and podcast from the BeerSmith Blog

Offline racin_ny

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 10
  • Karma: 0
Re: C Run-time error R6034
« Reply #4 on: June 11, 2011, 06:48:47 AM »
Thank You Brad and Steve! I appreciate your help with Linux Wine Support .

Offline racin_ny

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 10
  • Karma: 0
Re: C Run-time error R6034 {SOLVED}
« Reply #5 on: June 11, 2011, 02:09:37 PM »
Uninstalled Wine then reinstalled, installed C++ runtime 2008 using wine tricks then installed Beersmith 2. It all works

 

modification