new compile error

Added by warmsun almost 8 years ago

el tools
code\nel\tools\

1>------ Build started: Project: message_box, Configuration: Release Win32 ------
1>Compiling...
1>StdAfx.cpp
2>------ Build started: Project: lock, Configuration: Release Win32 ------
2>Compiling...
1>c1xx : fatal error C1083: Cannot open source file: '.\StdAfx.cpp': No such file or directory
1>Build log was saved at "file://g:\ryzom\code\nel\tools\misc\message_box\obj\Release\message_box\BuildLog.htm"
1>message_box - 1 error(s), 0 warning(s)
2>StdAfx.cpp
2>c1xx : fatal error C1083: Cannot open source file: '.\StdAfx.cpp': No such file or directory
2>Build log was saved at "file://g:\ryzom\code\nel\tools\misc\lock\obj\Release\lock\BuildLog.htm"
2>lock - 1 error(s), 0 warning(s)
3>------ Build started: Project: memlog, Configuration: Release Win32 ------
4>------ Build started: Project: extract_warnings, Configuration: Release Win32 ------
3>Compiling...
4>Compiling...
3>StdAfx.cpp
4>StdAfx.cpp
3>c1xx : fatal error C1083: Cannot open source file: '.\StdAfx.cpp': No such file or directory
4>c1xx : fatal error C1083: Cannot open source file: '.\StdAfx.cpp': No such file or directory
3>Build log was saved at "file://g:\ryzom\code\nel\tools\memory\memlog\obj\Release\memlog\BuildLog.htm"
3>memlog - 1 error(s), 0 warning(s)
4>Build log was saved at "file://g:\ryzom\code\nel\tools\misc\log_analyser_plug_ins\extract_warnings\obj\Release\extract_warnings\BuildLog.htm"
4>extract_warnings - 1 error(s), 0 warning(s)
5>------ Build started: Project: multi_cd_setup_fix, Configuration: Release Win32 ------
5>Compiling...
5>StdAfx.cpp
5>c1xx : fatal error C1083: Cannot open source file: '.\StdAfx.cpp': No such file or directory
5>Build log was saved at "file://g:\ryzom\code\nel\tools\misc\multi_cd_setup_fix\obj\Release\multi_cd_setup_fix\BuildLog.htm"
5>multi_cd_setup_fix - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 5 failed, 63 up-to-date, 0 skipped ==========

Nel Samples
\code\nel\samples\
1 fail
1>------ Build started: Project: nel_qt, Configuration: Release Win32 ------
1>Moc'ing undo_redo_binders.h ...
1>系统找不到指定的路径。
1>Project : error PRJ0019: A tool returned an error code from "Moc'ing undo_redo_binders.h ..."
1>Build log was saved at "file://g:\ryzom\code\nel\samples\3d\nel_qt\obj\Release\nel_qt\BuildLog.htm"
1>nel_qt - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 30 up-to-date, 0 skipped ==========

who can help you?

Replies (2)

RE: new compile error - Added by molator almost 8 years ago

You need the MFC, but should be ok if you have VC++ Pro.

You might have to change some path in the code depending on where your MFC is, or in the settings.

Edit:
(10:56:03) kervala: the stdafx.cpp has been removed and it's updated in cmake

So must update the source.
Beware some tools are not maintained anymore.

RE: new compile error - Added by kervala almost 8 years ago

Please follow this tutorial :

http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake

We don't have time to maintain all .sln and .vcproj for all configurations (32/64 bits Release/Debug)

CMake allows you to compile all projects with only one custom generated .sln and it's really easier to maintain because it's used under all platforms (Windows, Linux and Mac OS).

And you don't need to configure VC++ because all options are in generated files :)

(1-2/2)