Build errors following Windows build procedure.

44 views
Skip to first unread message

Petsagourakis George

unread,
Oct 3, 2008, 6:12:29 AM10/3/08
to Wildcat CAD
I have Visual C++ 2008 downloaded.
I grabbed latest svn trunk and followed the instructions on

http://code.google.com/p/wildcat-cad/wiki/CompilingVS2008Express

The wxWindows build their dlls ok. I copied them over to the local
wildcat trunk location.

I opened the wildcat vc9 project and I got the mess below,...

1>------ Build started: Project: Wildcat, Configuration: Release Win32
------
1>Compiling...
1>converter_stl.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>constraint_vertical_controller.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>constraint_vertical_actions.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>constraint_vertical.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
[...]
1>feature.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>drawing_mode.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>Compiling...
1>document.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>action.cpp
1>e:\wildcat-cad\Source\Utility/types.h(86) : fatal error C1083:
Cannot open include file: 'atltime.h': No such file or directory
1>Build log was saved at "file://e:\wildcat-cad\Build\Win32\Release
\BuildLog.htm"
1>Wildcat - 202 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

from what I can figure out atltime.h is part of the ATL (Active
Template Library) that is supported only in the paid versions of MS
Visual Studio,...

Is there any way to overcome this ?

Georgios Petsagourakis

unread,
Oct 3, 2008, 6:36:40 AM10/3/08
to Wildcat CAD
OK, I found the way out of the errors and I am building right now.

It was the 'VC9' project I was opening ,.. I had to open the 'wxVC9'.
Also I needed to logoff and login to windows so that the WXWIN environmental variable works.

I am gonna try wildcat in a while... ;) Thanks

Best Regards,...
George Petsagourakis

Petsagourakis George

unread,
Oct 3, 2008, 7:14:07 AM10/3/08
to Wildcat CAD
... the build process failed. Probably the source in the trunk is
broken,..

The error that came up is:

1>e:\wildcat-cad\Source\Workbenches\PartDesign/part_pad_types.h(86) :
error C2440: 'type cast' : cannot convert from 'float' to
'Wildcat::PartPadType'
1> Conversions between enumeration and floating point values
are no longer allowed

Dan Heeks

unread,
Oct 13, 2008, 1:26:44 PM10/13/08
to Wildcat CAD
Yes, I get this build error too.

I have changed
(PartPadType)WCSerializeableObject::GetFloatAttrib
to
(PartPadType)(int)WCSerializeableObject::GetFloatAttrib

for now.
Reply all
Reply to author
Forward
0 new messages