Ticket #95 (closed defect: worksforme)

Opened 4 years ago

Last modified 2 years ago

Can not cross compile using nmake

Reported by: Bill Jeffreys <wjeffreys@…> Owned by: elmex
Priority: blocker Milestone: 0.8.1
Component: build system Version: 0.8
Keywords: Cc:

Description

I am trying to cross compile for WindowsCE running on a ARMV4i. I am using Microsoft eMbedded Visual C++ 4.0. Since CMake will not generate project files for this IDE I am trying to use the generated "nmake Makefile". The file ws4d_eprfile.c would compile because of the missing header "process.h" - which does not exist in eMbedded Visual C++ 4.0 (see CompileError?.txt). Then I commented out the include of "process.h" and tried again. This time it compiled but would not link (see LinkError?.txt). Has anyone ever tried to use ws4d-gsoap in this environment?

Attachments

LinkError.txt Download (3.4 KB) - added by Bill Jeffreys <wjeffreys@…> 4 years ago.
CompileError.txt Download (2.8 KB) - added by Bill Jeffreys <wjeffreys@…> 4 years ago.
LinkError.2.txt Download (3.4 KB) - added by Bill Jeffreys <wjeffreys@…> 4 years ago.

Change History

Changed 4 years ago by Bill Jeffreys <wjeffreys@…>

Changed 4 years ago by Bill Jeffreys <wjeffreys@…>

Changed 4 years ago by Bill Jeffreys <wjeffreys@…>

Changed 3 years ago by elmex

  • status changed from new to assigned

Hi Bill,

I never tested ws4d-gsoap in visual studio embedded. So it seems that in WindowsCE there is no process.h - but you fixed this.

The next problem is about linking. I'm actually not sure if it is possible to use cmake with vc4.0. After googling a little bit i didn't find much information. I don't have vc4.0 to reproduce the problem. So I first have to find more information about the status of vc4.0 support in cmake.

Regards, Elmar

Changed 3 years ago by Bill Jeffreys <wjeffreys@…>

Elmar,

I had to create project files using Visual Studio 2008 and heavily edit them. I also had to make changes to include and remove certain header files for Windows CE. I now have it building. But it should be noted that, by default, it does not build for Windows CE.

Bill

Changed 2 years ago by elmex

  • milestone set to 0.8.1

Changed 2 years ago by elmex

  • status changed from assigned to closed
  • resolution set to worksforme

Created ticket to track windows ce support #123

Add/Change #95 (Can not cross compile using nmake)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.