Archived

This topic is now archived and is closed to further replies.

problem with compiling

This topic is 6029 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i always get: warning C4013: ''chdir'' undefined; assuming extern returning int when compiling. it doesn''t seem to affect my program (chdir still works). how can i get rid of this warning when i compile? -Rich

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Link with whatever library contains the implementation of the ''chdir'' function.

If you already do this it might be some sort of compiler bug.
And since you say it works despite the warning, you must be linking to something containing a ''chdir'' function.

Strange indeed

Share this post


Link to post
Share on other sites
Hi guys! While we''re on the topic of compiling problems, I''m having problems with one of the examples (ex03). VC++ 6 gives me the following when building the project:

--------------------Configuration: ex03 - Win32 Debug--------------------
Compiling resources...
Compiling...
devdlg.c
Ex03.c
Winutil.c
Linking...
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library

winex03.exe - 0 error(s), 1 warning(s)



The executable partially works: It gives me the PR screen type dialog window, and then once you select OK, the example runs, except the screen is black and then it exits back to the desktop. Has anyone experienced this?

- Ed

Share this post


Link to post
Share on other sites
Guest Anonymous Poster

LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library

this warning means nothing. (that matters)

the problem you are having is in the debug execution directory in vc.

goto project->settings, choose your project and the build environment (debug/release) then goto the debug tab. the first 2 textboxes are for executable and execution folder. make shure the execution folder is the same that the .exe is in.

if this makes no sense: RTFM : P

Ziggy-

Share this post


Link to post
Share on other sites
Hi guys. Has anyone been successful compiling multimon and multimon2 using PR 4 Beta 6.1? VC++6 would keep complaining that it could not open the include file prgui.h. I tried looking for it in the pr4 include directory, but was unsuccessful. Chris, would using PR3''s prgui.h include work?

- Ed

Share this post


Link to post
Share on other sites