path enviorement variable

Hi,

I am trying to run a program which is using an external numerical library. I compile it without errors but when I start it, I get the following output:

NLQ_Console Application.exe': Loaded 'E:\empirical1\NLQ_Console Application\Debug\NLQ_Console Application.exe', Symbols loaded.
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Program Files\NAG\CL08\cldll084zl\bin\CLDLL084Z_nag.dll', Binary was not built with debug information.
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\user32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\gdi32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\advapi32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\wsock32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\ws2_32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\nsi.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\IPHLPAPI.DLL'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\dhcpcsvc.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\dnsapi.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\secur32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\winnsi.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\dhcpcsvc6.dll'
'NLQ_Console Application.exe': Loaded 'C:\Program Files\NAG\CL08\cldll084zl\bin\matrix32.dll', Binary was not built with debug information.
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\winspool.drv'
'NLQ_Console Application.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_none_d08d7bba442a9b36\msvcr80.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcp90d.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcr90d.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\imm32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\msctf.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\lpk.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\usp10.dll'
'NLQ_Console Application.exe': Loaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\ntmarta.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\Wldap32.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\psapi.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\samlib.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\ole32.dll'
'NLQ_Console Application.exe': Unloaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
'NLQ_Console Application.exe': Loaded 'C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 2010\mzvkbd3.dll'
'NLQ_Console Application.exe': Loaded 'C:\Windows\System32\acaptuser32.dll', Binary was not built with debug information.
'NLQ_Console Application.exe': Unloaded 'C:\Windows\System32\acaptuser32.dll'
'NLQ_Console Application.exe': Unloaded 'C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 2010\mzvkbd3.dll'
The thread 'Win32 Thread' (0x1130) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf54) has exited with code -1073741510 (0xc000013a).
The program '[612] NLQ_Console Application.exe: Native' has exited with code -1073741510 (0xc000013a).

I think the key is in the lines which say that binary is not built with debug information. I googled I found out that the path enviromental variable must contain the folder with the DLLs.

Does anyone have an idea how to fix it?
in windows xp goto
system properties -> advance tab -> environment variables
then edit the path variable, add the path where your library dll resides.

another way is to just copy the dll where your program.exe is.
Hi,
I found it, but hte PATH variable seems to be OK. The path:
C:\Program Files\NAG\CL08\cldll084zl\bin\
seems to be OK. I thought the errors might be due to the fact that my Windows is in German and the folder is called not "Program Files" but "Programme", however apperantly this was not the problem

I tried also to copy the dll files into the folder with the .exe file but I still got the error...
send me the executable with the dll using filesend.net, then post the link here.. i'll give it a try.
Last edited on
http://www.filesend.net/download.php?f=b895b248f1ceb3ac288ffc8bb2dda7f0

the archive contains:
the exe file
matrix32.dl
CLDLL084Z_nag.dll

10x!
i didnt have the error that you have, instead i have this
http://picturepush.com/public/2820307
I used to have the error you have, but some times later the the error from the my first post appeared...but I am not sure why it is so.
hmm.. does your code manipulates file? hang in there, maybe later someone would help..
Yes the code manipulate files - it reads from txt files.

10x for the help!
can you post some code?
Hi,

hier is piece of the code:
:
:
char mainpath[50] = "E:\\empirical1";

#include "NLS_Q_estimation.cpp"

using namespace std;

int main()
{
:
:
#if defined(WIN32)

sprintf_s(inputdatei_data, 200, "%s\\data\\NLS_Q_data.txt",mainpath);
sprintf_s(inputdatei_parameters, 200, "%s\\data\\parameters.txt",mainpath);
sprintf_s(outputdatei_results, 200, "%s\\results\\NLS_Q_results.txt",mainpath);

err_data = fopen_s(&f_data, inputdatei_data, "r");
err_parameters = fopen_s(&f_parameters, inputdatei_parameters, "r");

#elif defined(__linux__)
:
:
......

I think the error message Binary was not built with debug information. is due to missing breakpoints. So the file which I have is to be modified and I must confess that I removed the breakpoint, because I thought that they were not important... (OK... I am guilty but still I am a beginner...s) Now I want to set back the breakpoints... How can I figure out where is the proper place for the breakpoint in order to avoid the error message Binary was not built with debug information.

10x
Last edited on
Topic archived. No new replies allowed.