problem with compiling
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
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
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
You need the proper include file so the compiler knows the definition (direct.h)
Edited by - ChrisE on June 6, 2001 9:53:23 AM
Edited by - ChrisE on June 6, 2001 9:53:23 AM
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
--------------------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
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-
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
- Ed
Ed, in the PR beta 6.1 documentation Chris states that he hasn''t ported either of the multimon examples.
Gary
Gary
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement