東京辺境地区で構築したCuriosity環境を、都心部で再構築するために、MPLABなどのツールをインストールして、プロジェクトを都心部からオープンしてみると・・・エラーが出たので、念のため全く同じことを新規プロジェクトとして作ってMCCからGenerateしてみても・・・同じエラーが出た。これ。
赤い箇所を入れてみたけど、エラーは変わらず。前に作ったプロジェクトをオープンしても、新しいプロジェクトからやってみても、同じエラーが出るという。それは結構謎。
ここで詰まってしまい、仕方がないので今度はMCCを使わないこちら様のサイトの内容をそのままやってみる。
やはりエラーでした。で、一応プロジェクト・プロパティでXC8をC99からC90に変更してみる。
その結果・・・やはりダメであった。(^^♪ 作った環境の移動どころか、別の場所に新しく環境を構築することすら失敗。先は長いな~。まー、PICをやめるという選択肢もあるか。あ、でも、いろいろ部品を買ったあとに止めるのは良くないですなwww(^^)/
※追記 せっかくなので、エラーメッセージをゆっくり眺めてみる。これ。あ、一番基本的な、こちらのサイト様をやってみたんですよ。
Could not generate makefiles for configuration default.
ConfigurationMakefileWriter::writeMakefileConf, Could not open file D:/Dropbox/PIC/Curiosity_DM164137/CLC.X/nbproject/Makefile-default.mk
Errors have occurred while loading one or more configurations.
If a specific error is not shown above, this may happen when you import a project from another computer.
+ You can add language tools in Tools->Options embedded tab.
+ You can change which language tool to use in the project properties dialog.
下のほうの+はやってみたので、そもそも最初の文。
Could not open file D:/Dropbox/PIC/Curiosity_DM164137/CLC.X/nbproject/Makefile-default.mk
とかなんとか言ってるのでそれを開いてみる。え、オープンできないとか言ってるけどオープン出来るじゃん。結果はこれ。
#
Generated Makefile – do not edit!
#
Edit the Makefile in the project folder instead (../Makefile). Each target
has a -pre and a -post target defined where you can add customized code.
#
This makefile implements configuration specific macros and targets.
Include project Makefile
ifeq “${IGNORE_LOCAL}” “TRUE”
do not include local makefile. User is passing all local related variables already
else
include Makefile
Include makefile containing local settings
ifeq “$(wildcard nbproject/Makefile-local-default.mk)” “nbproject/Makefile-local-default.mk”
include nbproject/Makefile-local-default.mk
endif
endif
Environment
MKDIR=gnumkdir -p
RM=rm -f
MV=mv
CP=cp
Macros
CND_CONF=default
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
IMAGE_TYPE=debug
OUTPUT_SUFFIX=elf
DEBUGGABLE_SUFFIX=elf
FINAL_IMAGE=${DISTDIR}/CLC.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
else
IMAGE_TYPE=production
OUTPUT_SUFFIX=hex
DEBUGGABLE_SUFFIX=elf
FINAL_IMAGE=${DISTDIR}/CLC.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
endif
ifeq ($(COMPARE_BUILD), true)
COMPARISON_BUILD=-mafrlcsj
else
COMPARISON_BUILD=
endif
Object Directory
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
Distribution Directory
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
Source Files Quoted if spaced
SOURCEFILES_QUOTED_IF_SPACED=mcc_generated_files/device_config.c mcc_generated_files/mcc.c mcc_generated_files/clc1.c main.c mcc_generated_files/pin_manager.c
Object Files Quoted if spaced
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/mcc_generated_files/device_config.p1 ${OBJECTDIR}/mcc_generated_files/mcc.p1 ${OBJECTDIR}/mcc_generated_files/clc1.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/mcc_generated_files/pin_manager.p1
POSSIBLE_DEPFILES=${OBJECTDIR}/mcc_generated_files/device_config.p1.d ${OBJECTDIR}/mcc_generated_files/mcc.p1.d ${OBJECTDIR}/mcc_generated_files/clc1.p1.d ${OBJECTDIR}/main.p1.d ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d
Object Files
OBJECTFILES=${OBJECTDIR}/mcc_generated_files/device_config.p1 ${OBJECTDIR}/mcc_generated_files/mcc.p1 ${OBJECTDIR}/mcc_generated_files/clc1.p1 ${OBJECTDIR}/main.p1 ${OBJECTDIR}/mcc_generated_files/pin_manager.p1
Source Files
SOURCEFILES=mcc_generated_files/device_config.c mcc_generated_files/mcc.c mcc_generated_files/clc1.c main.c mcc_generated_files/pin_manager.c
CFLAGS=
ASFLAGS=
LDLIBSOPTIONS=
####### Tool locations
If you copy a project from one host to another, the path where the
compiler is installed may be different.
If you open this project with MPLAB X in the new host, this
makefile will be regenerated and the paths will be corrected.
#
fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
FIXDEPS=fixDeps
.build-conf: ${BUILD_SUBPROJECTS}
ifneq ($(INFORMATION_MESSAGE), )
@echo $(INFORMATION_MESSAGE)
endif
${MAKE} -f nbproject/Makefile-default.mk ${DISTDIR}/CLC.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
MP_PROCESSOR_OPTION=16F1619
————————————————————————————
Rules for buildStep: compile
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
${OBJECTDIR}/mcc_generated_files/device_config.p1: mcc_generated_files/device_config.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/device_config.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/device_config.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=pickit3 -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/device_config.p1 mcc_generated_files/device_config.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/device_config.d ${OBJECTDIR}/mcc_generated_files/device_config.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/device_config.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/mcc_generated_files/mcc.p1: mcc_generated_files/mcc.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/mcc.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/mcc.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=pickit3 -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/mcc.p1 mcc_generated_files/mcc.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/mcc.d ${OBJECTDIR}/mcc_generated_files/mcc.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/mcc.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/mcc_generated_files/clc1.p1: mcc_generated_files/clc1.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/clc1.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/clc1.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=pickit3 -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/clc1.p1 mcc_generated_files/clc1.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/clc1.d ${OBJECTDIR}/mcc_generated_files/clc1.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/clc1.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}”
@${RM} ${OBJECTDIR}/main.p1.d
@${RM} ${OBJECTDIR}/main.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=pickit3 -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c
@-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d
@${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/mcc_generated_files/pin_manager.p1: mcc_generated_files/pin_manager.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=pickit3 -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/pin_manager.p1 mcc_generated_files/pin_manager.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/pin_manager.d ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
else
${OBJECTDIR}/mcc_generated_files/device_config.p1: mcc_generated_files/device_config.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/device_config.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/device_config.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/device_config.p1 mcc_generated_files/device_config.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/device_config.d ${OBJECTDIR}/mcc_generated_files/device_config.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/device_config.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/mcc_generated_files/mcc.p1: mcc_generated_files/mcc.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/mcc.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/mcc.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/mcc.p1 mcc_generated_files/mcc.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/mcc.d ${OBJECTDIR}/mcc_generated_files/mcc.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/mcc.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/mcc_generated_files/clc1.p1: mcc_generated_files/clc1.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/clc1.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/clc1.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/clc1.p1 mcc_generated_files/clc1.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/clc1.d ${OBJECTDIR}/mcc_generated_files/clc1.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/clc1.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}”
@${RM} ${OBJECTDIR}/main.p1.d
@${RM} ${OBJECTDIR}/main.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c
@-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d
@${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/mcc_generated_files/pin_manager.p1: mcc_generated_files/pin_manager.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} “${OBJECTDIR}/mcc_generated_files”
@${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d
@${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp=”${DFP_DIR}/xc8″ -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -std=c90 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/mcc_generated_files/pin_manager.p1 mcc_generated_files/pin_manager.c
@-${MV} ${OBJECTDIR}/mcc_generated_files/pin_manager.d ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d
@${FIXDEPS} ${OBJECTDIR}/mcc_generated_files/pin_manager.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
endif
だって。プレーンテキストで貼り付けたのに、なんで変な書体の装飾が出るのよ??
まあそれは置いておいても、Makefile-default.mkがオープンできないとか言ってるけど、オープンできてるけど・・・。で、これをどうしろとwww(^^)/
日本語で2行以内に書いてくれないかな???
まあ、ソフト関係はやめるwwという選択肢もあるわけで。別に仕事じゃないし。(爆 (^^
コメント