ssh 发表于 2003-7-29 14:44:00

为什么编译部通过?.pch是什么东西?

为什么我的arx编译室出现这个:e:\objectarx\learning\test\testcommands.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/test.pch': No such file or directory
Error executing cl.exe.

testcommands.cpp内容如下:
//
// ObjectARX defined commands

#include "StdAfx.h"
#include "StdArx.h"

// This is command 'HELLOWORD'
void Asdkhelloword()
{
        // TODO: Implement the command
        acutPrintf("\nHello World!");
}

goldenshin 发表于 2003-7-29 16:40:00

Try to "rebuild all"

ssh 发表于 2003-7-29 16:48:00

搞定了,可能是vc没能设置好,按照objectarx wizard的帮助设置了一下从新编译就可以了

funlxming 发表于 2003-7-31 14:21:00

應該是預編譯頭設置有誤.
页: [1]
查看完整版本: 为什么编译部通过?.pch是什么东西?