Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - what is the software build environment?

(you are viewing a thread; or go back to list of threads)

what is the software build environment? (by Richard Foo)
i can only partly compile the source code with vc2005. is there anything else needing pre-installed?
thank you!
Wed Jul 29 2009, 22:38:33
(no subject) (by Jonathan Westhues)
Build from the command line, using make.bat. There's some other tools required; see

http://cq.cx/ladder-forum.pl?action=viewthread&parent=7
Wed Jul 29 2009, 22:57:20
(no subject) (by Richard Foo)
thank you, i will try
Wed Jul 29 2009, 22:59:17
Problems when building (by Goran Stojanovski)
Hello,
I know that this is another tread but I thought that this is the bes please to continue the discussion about the build environment.

I am using Microsoft VS2005, and have installed strawberry Perl (5.10.0.5) and Windows SDK on Windows XP sp2 32-bit.

I am trying to rebuild the source code by using make.bat from command line. And I constantly got the same error (cl not recognized), although I have correct PATH variable.

I hope that someone will give me hints about where should I search my error or should I install some other tools?

My plan is to upgrade this program in order to work with pic18 family processors.
Thu Aug 6 2009, 06:28:06
(no subject) (by Jonathan Westhues)
I would guess that your PATH is wrong. If cl.exe from the command prompt doesn't produce a version message, then that's your problem.

Try running vcvars32.bat (somewhere in the MSVC++ directories), to set up that plus LIB and INCLUDE.
Thu Aug 6 2009, 06:42:38
(no subject) (by Goran Stojanovski)
Thank you for the fast reply.

I have run vcvars32.bat, that didn't fix my problem.

The message that I get is this one:

*************************
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
c:\Documents and Settings\Goran\Desktop\Project\ldmicro>make.bat
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
ldmicro.cpp
ldmicro.cpp : fatal error C1902: Program database manager mismatch; please check
your installation
NMAKE : fatal error U1077: '.\cl.EXE' : return code '0x2'
Stop.
c:\Documents and Settings\Goran\Desktop\Project\ldmicro>
*************************
any help would be appreciated
Thu Aug 6 2009, 07:23:11
(no subject) (by Goran Stojanovski)
Sorry that I didn't explain in the previous mail.
That response is after I manually copied cl.exe to the ldmicro folder.

Before that I got the standard 'cl' is not recognized as an internal or external command,...
NMAKE : fatal error U1077 'cl’ : return code '0x1’

sorry again
Thu Aug 6 2009, 07:28:19
(no subject) (by Jonathan Westhues)
No idea. I'm guessing that something is screwed up with your compiler installation. Perhaps because you have two different versions of the compiler (one from Visual Studio, one from the Platform SDK) and you're getting a mix of tools from both?

My best suggestion would be to re-install VS and the Platform SDK. If you can't run cl.exe then something is badly wrong.
Thu Aug 6 2009, 07:47:30
(no subject) (by Goran Stojanovski)
Thanks for the suggestions,

I will try, and write if it solved my problem
Thu Aug 6 2009, 07:58:38
Compilation errors while doing make.bat (by Ani Bartake)
I don't know if this is the correct place to ask this Q, but I am getting these errors during compilation. What could be the problem?

ldmicro.cpp(876) : error C2065: 'VK_OEM_COMMA' : undeclared identifier
ldmicro.cpp(876) : error C2051: case expression not constant
ldmicro.cpp(959) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
ldmicro.cpp(1101) : error C2664: 'SetTimer' : cannot convert parameter 4 from 'void (struct HWND__ *,unsigned int,unsigned long,
signed long)' to 'void (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,unsigned long)'
None of the functions with this name in scope match the target type
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Thu Aug 6 2009, 10:49:38
My problem is solved (by Goran Stojanovski)
Hi guys.

Just to add that I have solved my problem. I had some problems with the PATH variable... it looked all right but the system didn't search in all folders.
I ended up manually adding the header files from VS\include to another location, but it worked and I managed to compile the program.

Now I am starting to work, and I will post the code as soon as I am finished.

Thanks again
Thu Aug 6 2009, 13:24:05
(no subject) (by Jonathan Westhues)
Ani - I would guess that your Platform SDK install is wrong.
Thu Aug 6 2009, 15:04:46
(no subject) (by Aniruddha Bartake)

Thank you for fast reply. I feel that, i should newly install the Platform SDK.I will try with that and give you the feedback.

Thanks.
Thu Aug 6 2009, 22:19:03
(no subject) (by HaNguyen)
Hi!
I am getting these errors during compilation. Why have this error?
iolist.cpp(575) : error C2065: 'WC_STATIC' : undeclared identifier
iolist.cpp(575) : error C2065: 'WC_LISTBOX' : undeclared identifier
iolist.cpp(575) : error C2065: 'WC_BUTTON' : undeclared identifier
Error executing cl.exe.
I use MS Visual C++ 6.0.How to repair it?
Thu Dec 3 2009, 04:24:45
(no subject) (by Jonathan Westhues)
I would guess that your Platform SDK is wrong, or perhaps _WIN32_WINNT.
Thu Dec 3 2009, 21:36:24
(no subject) (by Ha Nguyen)
I think this problem can be short of iphlpapi.h file on MICROSOFT PLATFORM SDK.
I will retry.
Thank Sir!
Sat Dec 5 2009, 22:37:50
(no subject) (by Petr Svoboda)
To Ha Nguyen - and help it?
Sun Feb 7 2010, 10:15:43
(no subject) (by Napoelon)
Hi,

I am trying to create exe by using your source code. Which software shll i use. Kindly reply.
Thu Aug 12 2010, 00:28:56
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):