A tool returned an error code from performing makefile project actions

1>------ Build started: Project: makedata, Configuration: Debug Win32 ------ 1>Performing Makefile project actions 1>Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>ICU data make path is c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedata 1>ICU root path is c:Documents and SettingsniranjanyDesktopICU_TESTicu 1>ICU data source archive is c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedatainicudt38l.dat 1>Building icu data from c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedatainicudt38l.dat 1> cd "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38l" 1> "c:Documents and SettingsniranjanyDesktopICU_TESTicubinicupkg" -x * --list "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedatainicudt38l.dat" > "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudata.lst" 1> "c:Documents and SettingsniranjanyDesktopICU_TESTicubinpkgdata" -f -e icudt38 -v -m dll -M"PKGDATA_LDFLAGS=/base:0x4ad00000" -c -p icudt38l -T "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmp" -L icudt38 -d "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38l" -s . "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudata.lst" 1>Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>NMAKE : fatal error U1073: don't know how to make '".!!!!!"' 1>Stop. 1># ICUROOT is c:Documents and SettingsniranjanyDesktopICU_TESTicubin 1># Reading c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudata.lst.. 1># Output .dll file: c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38licudt38.dll 1># Output file: c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38licudt38l.dat 1>nmake -f "c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudt38l_dll.mak" PKGDATA_LDFLAGS=/base:0x4ad00000 1>NMAKE : fatal error U1077: '"c:Documents and SettingsniranjanyDesktopICU_TESTicubinpkgdata.EXE"' : return code '0x2' 1>Stop. 1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions" 1>Build log was saved at "file://c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpDebugBuildLog.html" 1>makedata - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 33 up-to-date, 0 skipped ==========
  • Remove From My Forums
  • Question

  • 1>—— Build started: Project: makedata, Configuration: Debug Win32 ——

    1>Performing Makefile project actions

    1>Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

    1>Copyright (C) Microsoft Corporation. All rights reserved.

    1>ICU data make path is c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedata

    1>ICU root path is c:Documents and SettingsniranjanyDesktopICU_TESTicu

    1>ICU data source archive is c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedatainicudt38l.dat

    1>Building icu data from c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedatainicudt38l.dat

    1> cd «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38l»

    1> «c:Documents and SettingsniranjanyDesktopICU_TESTicubinicupkg» -x * —list «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedatainicudt38l.dat» > «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudata.lst»

    1> «c:Documents and SettingsniranjanyDesktopICU_TESTicubinpkgdata» -f -e icudt38 -v -m dll -M»PKGDATA_LDFLAGS=/base:0x4ad00000″ -c -p icudt38l -T «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmp» -L icudt38 -d «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38l» -s . «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudata.lst»

    1>Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

    1>Copyright (C) Microsoft Corporation. All rights reserved.

    1>NMAKE : fatal error U1073: don’t know how to make ‘».!!!!!»‘

    1>Stop.

    1># ICUROOT is c:Documents and SettingsniranjanyDesktopICU_TESTicubin

    1># Reading c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudata.lst..

    1># Output .dll file: c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38licudt38.dll

    1># Output file: c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataoutbuildicudt38licudt38l.dat

    1>nmake -f «c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpicudt38l_dll.mak» PKGDATA_LDFLAGS=/base:0x4ad00000

    1>NMAKE : fatal error U1077: ‘»c:Documents and SettingsniranjanyDesktopICU_TESTicubinpkgdata.EXE»‘ : return code ‘0x2’

    1>Stop.

    1>Project : error PRJ0019: A tool returned an error code from «Performing Makefile project actions»

    1>Build log was saved at «file://c:Documents and SettingsniranjanyDesktopICU_TESTicusourcedataouttmpDebugBuildLog.html»

    1>makedata — 3 error(s), 0 warning(s)

    ========== Build: 0 succeeded, 1 failed, 33 up-to-date, 0 skipped ==========


    Audio/Video Implementation

Answers

  • There’s a bug in your makefile, you’ll have to fix it.  Nmake.exe errors suck, good luck.


    Hans Passant.

    • Marked as answer by

      Friday, May 15, 2009 4:14 AM

Question: Is there any manual/steps on how to build Apache for windows? The official documentation isn’t sufficient.

I’ve tried to compile Apache HTTP Server 2.4 on windows using Visual Studio 2008 Professional on Windows 7 Service Pack 3, but with no hope at all!!
Already tested same steps with Apache HTTP Server 2.2 and had successful build process.

I don’t know what’s wrong, or what’s missing. Here it is followed steps:

Visual Studio 2008 Command Prompt:

"C:Program FilesMicrosoft Visual Studio 9.0VCbinvcvars32.bat"

cd C:pathtohttpd-2.4.2

perl srclibaprbuildlineends.pl

perl srclibaprbuildcvtdsp.pl -2005

cd srclibzlib
nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"
MT -manifest zlib1.dll.manifest -outputresource:zlib1.dll;2

cd ....srclibopenssl
perl Configure VC-WIN32 enable-camellia disable-idea
msdo_nasm
nmake /f msntdll.mak

Open Apache.dsw with VS9 "Yes to All" to the "convert projects" question, Select relase win32
Now build InstallBin
Test your build

Required libraries already in place:

srclibapr
srclibapr-iconv
srclibapr-util
srclibopenssl
srclibpcre
srclibzlib

As I said, all Apache HTTP Server 2.2 compilations are successful, while all Apache HTTP Server 2.4 is NOT.

This is the most occuring error, repeated over 100 times:

fatal error LNK1181: cannot open input file '....releaselibhttpd.lib'

Other errors:

fatal error LNK1181: cannot open input file '..releasemod_proxy_balancer.lib'
fatal error LNK1181: cannot open input file '..corereleasemod_watchdog.lib'
fatal error C1083: Cannot open include file: 'pcre.h': No such file or directory    
fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0Common7idedevenv.COM"' : return code '0x1'
error PRJ0019: A tool returned an error code from "Performing Makefile project actions"

Note: I’ve noticed that there’s multiple .mak file missing from the Apache 2.4 package, including the httpd.mak & others. I think that’s big part of the problem.

Any suggestions?

Environment: Windows 7 | Visual Studio 2008 | Cygin | Apache HTTP Server 2.4 Source | APR/APR-UTIL/APR-ICONV/ZLIB/OPENSSL

i have devkit arm and libnds, and i tried to integrate it with visual studio 2008, and this is the error:

error PRJ0019: A tool returned an error code from «Performing Makefile project actions»

so i tried programmer’s notepad, but i have no clue on how to use this app.
plz help. thx

oh wait, i just noticed that in palib it has an addon that easily integrates.

problem solvd

Not to be a semantics dick, but that wasn’t a dilemma.

Oh, guess I am being a semantics dick after all, isn’t that ironic, don’t you think?

Not to be a semantics dick, but that wasn’t a dilemma.

Oh, guess I am being a semantics dick after all, isn’t that ironic, don’t you think?

I concur, you damn semantics dick.

Never, ever stop learning.
— Me

[quote name=’Serapth’ timestamp=’1313093526′ post=’4847877′]
Not to be a semantics dick, but that wasn’t a dilemma.

Oh, guess I am being a semantics dick after all, isn’t that ironic, don’t you think?

I concur, you damn semantics dick.
[/quote]

Actually, you used the verb form, to be semantically correct you should have used the adjective form «damned».

Hey, if I am going to embrace semantic dickery, I’m going all in! :)

[quote name=’Joe P’ timestamp=’1313097984′ post=’4847931′]
[quote name=’Serapth’ timestamp=’1313093526′ post=’4847877′]
Not to be a semantics dick, but that wasn’t a dilemma.

Oh, guess I am being a semantics dick after all, isn’t that ironic, don’t you think?

I concur, you damn semantics dick.
[/quote]

Actually, you used the verb form, to be semantically correct you should have used the adjective form «damned».

Hey, if I am going to embrace semantic dickery, I’m going all in! :)
[/quote]

:wacko:

Never, ever stop learning.
— Me

ignoring the above spams, i attempted to install the visual studio plugin, but there was an error saying that i need to run with admin privileges. so i did. then, the same error happened again. and that makefile errror still occurs

If you’re willing to try Programmer’s Notepad again… have you seen this page? http://palib-dev.com/wiki/doku.php?id=installation

What specifically don’t you know how to do in Programmer’s Notepad? If you ask a specific question, I might be able to help.

If you’re willing to try Programmer’s Notepad again… have you seen this page? http://palib-dev.com…id=installation

What specifically don’t you know how to do in Programmer’s Notepad? If you ask a specific question, I might be able to help.

i dont understand how to compile my program.

and as for visual studio, i can’t figure out how to add the vctemplate included with palib quickfix.

[font=»arial, verdana, tahoma, sans-serif»]
Programmer’s Notepad uses Makefiles to build. Instead of creating a new project from scratch, I suggest copying an existing project and changing its properties. For example:[/font]

1. Go to C:devkitProexamplesndsGraphics3Dnehe
2. Copy the lesson01 folder to a desired workspace location (like C:ds_workspace)
3. Go to C:ds_workspace and rename the lesson01 folder to anything you want (like «myproject»)
4. Go inside myproject folder and rename lesson01.pnproj to anything you want (like «»myproject.pnproj»)
5. Double-click myproject.pnproj. Programmer’s Notepad should open.
6. Rename the project to whatever you want by right-clicking on the project name (originally «NeHe Lesson 01») and clicking on Rename in the popup menu.
7. Your source files should have a particular location (because of the current Makefile). Source files (.cpp, .c) should go in the «source» folder, and header files (.hpp, .h) should go in the «include» folder.
8. To build the project, go to the «Tools» menu, then click on «make». To clean the project, go to the «Tools» menu, then click on «clean». «run» probably doesn’t do anything yet, but you can set it up.
9. If you would like to change settings for source/header file location, or to add pre-build or post-build steps, you’ll have to change the Makefile.

Hope this helps.

EDIT: btw, there’s a GBA/DS specific forum where you may find additional help: http://forum.gbadev.org/viewforum.php?f=18&sid=ed923734eaec47c4eb6c82a59f4001c3

Iam testing Pro/Toolkit with the help of Protoolkit_GSG.pdf which is available in the protoolkit installation. when i execute the make_install file in VC++, iam getting the error as listed below,

1>—— Rebuild All started: Project: ProTOOLKITInstall, Configuration: Debug Win32 ——

1>Performing Makefile project actions

1>Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>NMAKE : fatal error U1073: don’t know how to make ‘dll_clean’

1>Stop.

1>Project : error PRJ0019: A tool returned an error code from «Performing Makefile project actions»

1>Build log was saved at «file://d:ToolKitProTOOLKITInstallProTOOLKITInstallDebugBuildLog.htm»

1>ProTOOLKITInstall — 2 error(s), 0 warning(s)

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Can any one please help me in solving this issue.

This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use «Start a topic» button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

  • #1

I’m very new at this, so please be patient with me if this is a silly error.

I followed this guide on how to compile the source code correctly. The only difference between that guide is that I’m using VS 2008.

For reference, I’m using RevDCM’s source code and Makefile, and I tried merging this Global Warming Mod. However, when I try to compile the source code, I get this error:

What exactly am I doing wrong?

phungus420

phungus420

Deity

Joined
Mar 1, 2003
Messages
6,296


  • #2

I’m not very good at this, as I’ve never had a problem compiling, other then actual errors in my code (which throw completely different errors). This though:

NMAKE : fatal error U1073: don’t know how to make ‘clean’
Stop.
NMAKE : fatal error U1052: file ‘Final_Release’ not found

Leads me to believe you set up the compilation wrong. Go back and start from scratch. And when you initially set it up, try to compile a pure RevDCM build first, and then try to merge in the new source (you will need a fresh compile from scratch, because I’m sure the merge requires changes in header files), the reason to do this is just to make sure you’ve set up MSV 2008 properly, without any changes in code.

If I had to guess based on those errors you plugged in the wrong commands in the wrong spots, or have a simple typo. At least that’s what it looks like to me.

  • #3

When someone else was having these problems they were trying to use the built-in VS 2008 make utility. They skipped installing VC++ 2003 Toolkit hoping to get a better compiler. After installing VC++ 2003 they were getting the error about Final_Release not existing, and IIRC it was a permissions thing, but I’m not 100% positive.

I suggest trying the make commands at the command-line. You need to make sure the bin folder of VC++ 2003 is on your path. Then issue «nmake Final_Release» in the folder where the makefile is.

Viewing 3 posts — 1 through 3 (of 3 total)

  • Author

    Posts

  • May 24, 2010 at 22:36

    #194

    If I create a VisualDDK driver project and have it include sample sources for a WDM driver, it does not build.

    1>

    Build started: Project: test, Configuration: Debug Win32

    1>Performing Makefile project actions
    1>Launching OACR monitor
    1>OACR NOTE : Not starting monitor (oacr running in job that doesn’t allow break-away)
    1>path contains nonexistant c:program files (x86)microsoft visual studio 9.0common7toolsbin, removing
    1>BUILD: Compile and Link for x86
    1>BUILD: Loading c:winddk7600.16385.1build.dat…
    1>BUILD: Computing Include file dependencies:
    1>BUILD: Start time: Mon May 24 15:31:14 2010
    1>BUILD: Examining c:usersadmindocumentsvisual studio 2008projectstesttest directory for files to compile.
    1> c:usersadmindocumentsvisual studio 2008projectstesttest
    1>BUILD: Saving c:winddk7600.16385.1build.dat…
    1>BUILD: Compiling and Linking c:usersadmindocumentsvisual studio 2008projectstesttest directory
    1>Configuring OACR for ‘root:x86chk’ –
    1>OACR NOTE : Not starting monitor (oacr.dll running in job that doesn’t allow break-away)
    1>1>errors in directory c:usersadmindocumentsvisual studio 2008projectstesttest
    1>1>c:winddk7600.16385.1binmakefile.new(7117) : error U1087: cannot have : and :: dependents for same target
    1>1>nmake.exe /nologo BUILDMSG=Stop. -i /nologo /f c:winddk7600.16385.1binmakefile.def BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= failed – rc = 2
    1>BUILD: Finish time: Mon May 24 15:31:25 2010
    1>BUILD: Done
    1> 0 files compiled – 1 Warning – 2 Errors
    1>Project : error PRJ0019: A tool returned an error code from “Performing Makefile project actions”
    1>Build log was saved at “file://c:UsersadminDocumentsVisual Studio 2008Projectstesttestobjchk_win7_x86BuildLog.htm”
    1>test – 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    July 1, 2010 at 11:57

    #1442

    @asicsauce wrote:

    If I create a VisualDDK driver project and have it include sample sources for a WDM driver, it does not build.

    ...

    1>BUILD: Examining c:usersadmindocumentsvisual studio 2008projectstesttest directory for files to compile.<br />

    ...<br />

    1>1>c:winddk7600.16385.1binmakefile.new(7117) : error U1087: cannot have : and :: dependents for same target<br />

    ...

    Here as you see you got an error U7117. The problem probably in spaces in path to VS project. Try to create project in folder which won’t have spaces in it’s path and all will compile.


    Best wishes,
    r4zzz4k.

    April 14, 2011 at 11:36

    #1443

    Another way to solve this problem is to check “Use Visual Studio project system” instead “Use BUILD system” in project properties. In this way your project will be compiled using VS tools, which isn’t good for making drivers, so the choice is yours.


    Best wishes,
    r4zzz4k.

  • Author

    Posts

Viewing 3 posts — 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Как собрать GDAL самому в Windows.

При написании этой статьи были использованы рекомендации со страницы компиляции GDAL (с официального сайта GDAL).

Содержание

  • 1 Подготовка
  • 2 Получение кода GDAL
  • 3 Сборка и установка
    • 3.1 Примечание 1
    • 3.2 Примечание 2
  • 4 Ссылки по теме

[править] Подготовка

Сначала необходимо выполнить первичную настройку сборочной среды. Этот процесс подробно описан в соответствующей статье.

[править] Получение кода GDAL

Загрузите исходный код GDAL версии 1.6.1 http://download.osgeo.org/gdal/gdal161.zip или более свежий выпуск
http://trac.osgeo.org/gdal/wiki/DownloadSource.

Распакуйте архив.

[править] Сборка и установка

Запустите Visual Studio и выберите «File → Open → Project/Solution». Найдите в каталоге с распакованными исходными кодами GDAL файл makegdal80.vcproj и откройте его. Не предложение сконвертировать проект отвечаем утвердительно.

После импорта проекта, попробуйте щелкнуть правой кнопкой мыши на название проекта makegdal и выбрать «Build».

Если появится следующая ошибка, перейдите к примечанию 1.

1>------ Build started: Project: makegdal, Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>Project : error PRJ0003 : Error spawning 'cmd.exe'.
1>Build log was saved at "file://c:tempgdal-compilegdal-1.5.1DebugBuildLog.htm"
1>makegdal - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

А если ошибка такая, то к примечанию 2:

1>LINK : fatal error LNK1104: cannot open file 'atlthunk.lib'
1>NMAKE : fatal error U1077: 'link' : return code '0x450'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://c:tempgdal-compilegdal-1.5.3DebugBuildLog.htm"
1>makegdal - 3 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 

[править] Примечание 1

Откройте VCE, выберите «Tools → Options → Projects and Solutions → VC++ Directories». Убедитесь, что одно из значений для «Executable Files» указывает на папку WindowsSystem32. Если такой строчки нет, необходимо её добавить.

Vce-compile-01.gif

[править] Примечание 2

Отредактируйте atlwin.h (C:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2Includeatlatlwin.h). В строке 1725 добавьте

после

BOOL SetChainEntry(DWORD dwChainID, CMessageMap* pObject, DWORD dwMsgMapID = 0)
{
// first search for an existing entry

Должно получиться:

BOOL SetChainEntry(DWORD dwChainID, CMessageMap* pObject, DWORD dwMsgMapID = 0)
{
int i;
// first search for an existing entry

Затем отредактируйте atlbase.h (c:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2Includeatlatlbase.h). Закомментируйте строки 287-293

//PVOID __stdcall __AllocStdCallThunk(VOID);
//VOID __stdcall __FreeStdCallThunk(PVOID);
 
//#define AllocStdCallThunk() __AllocStdCallThunk()
//#define FreeStdCallThunk(p) __FreeStdCallThunk(p)
 
//#pragma comment(lib, "atlthunk.lib")

И добавьте новый макрос сразу после закоментированных строк:

/* NEW MACROS */
#define AllocStdCallThunk() HeapAlloc(GetProcessHeap(),0,sizeof(_stdcallthunk))
#define FreeStdCallThunk(p) HeapFree(GetProcessHeap(), 0, p)

После выполнения действий, описанных в примечаниях, снова запустите процесс компиляции («Build»). Теперь операция должна выполниться успешно, при этом вывод будет приблизительно такой:

c:DevToolsgdalgdal-1.6.1ogrogrsf_frmts>copy pgeodrv_*.html "C:warmerdabld"html
pgeodrv_pgeo.html
Скопировано файлов:         1.
 cd ....
Build log was saved at "file://c:DevToolsgdalgdal-1.6.1DebugBuildLog.htm"
makegdal - 0 error(s), 3125 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Чтобы скомпилированными файлами можно было пользоваться, переместите gdal16.dll из корневой папки с исходным кодом GDAL в папку apps, в которой после компиляции должны были появиться исполняемые файлы.

Проверить инструменты можно запустив и папки apps один из них, например так:

gdalinfo --version

[править] Ссылки по теме

  • Can I build GDAL with MS Visual C++ 2008 Express Edition?
  • Подготовка к компиляции ПО ГИС используя Visual C++ Express Edition 2008 и компоненты OSGeo4W
  • Сборка QGIS используя Visual C++ Express Edition 2008 и компоненты OSGeo4W
  • Использование GDAL для перепроектировки данных на базе эллипсоида на сферу
  • Использование GDAL для привязки растровых материалов

Понравилась статья? Поделить с друзьями:
  • Aapt error resource android attr dialogcornerradius not found
  • Aapt error resource android attr colorerror not found
  • Aapt error not well formed invalid token
  • Aapt error is incompatible with attribute src attr reference color
  • Aapt error is incompatible with attribute background attr reference color