You are here

error after compiling in visual studio c++ express 2008

2 posts / 0 new
Last post
viccos
viccos's picture
error after compiling in visual studio c++ express 2008

Hi, Jose Luis

FOr the Dijkstra sample

I copy the files CMakeLists.TXT and Test.cpp into the folder PruebaCMAKE on the desktop. Then I get into CMAKE and use the following as my source and build:

source code: C:/Users/Victor/Desktop/PruebaCMAKE

build the binaries: C:/Users/Victor/Desktop/Test

I generate for Visual Sutio 9 (2008) with no problem.

Then I go into The Test folder on the Destop, Double Click on the Project Example_dijkstra-example

Takes me to the project on Visual C++ Express 2008

I do Build Solution

I get Build 3 Succeeded, 0 failed

I get into a Window Called Executable for Debug Session and it asks me for the Executable file name and into it I have to options: regsvr32 and Browse.

I browse into C:/Users/Victor/Desktop/Test/Debug/dikstra-example

I get the system error:

The program can't start because libmrpt-base095-dbg.dll is missing from your computer. Try reinstalling the program to fix this problem.

I have tryed a couple of things:

  1. From the desktop, right-click My Computer and click Properties.
  2. In the System Properties window, click on the Advanced tab.
  3. In the Advanced section, click the Environment Variables button.
  4. Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
     

With the procedure above I specified the path C:/Users/Victor/Desktop/Test/Debug

Another thing that I tried was to Specified the Startup project in Visual C++  Express 2008. I t din't not work either.

Please some help... Thanks in advance.

Victor...

viccos
viccos's picture
I solved it the following

I solved it the following way:

 

  1. From the desktop, right-click My Computer and click Properties.
  2. In the System Properties window, click on the Advanced tab.
  3. In the Advanced section, click the Environment Variables button.
  4. Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.

Solution: Route the libmrpt-base095-dbg.dll to C:\Program Files (x86)\mrpt-0.9.5\bin with the above procedure....

 

Thank You

Log in or register to post comments
Subscribe to Comments for "error after compiling in visual studio c++ express 2008"