Jump to content



Photo
- - - - -

Problem of building an Add-in

fx-9860G

  • Please log in to reply
1 reply to this topic

#1 diaowinner

diaowinner

    Newbie

  • Members
  • Pip
  • 8 posts

  • Calculators:
    CASIO fx-991CN X

Posted 08 March 2020 - 02:32 PM

I have a problem for build an Add-in using fx-9860G's SDK, when I click Project menu → Build, I saw this...

Executing Hitachi SH C/C++ Compiler/Assembler phase

set SHC_INC=F:\fx9860g_sdk_100\software\OS\SH\include
set PATH=F:\fx9860g_sdk_100\software\OS\SH\bin
set SHC_LIB=F:\fx9860g_sdk_100\software\OS\SH\bin
set SHC_TMP=G:\aaaaaaaaa\a\Debug
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 92
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 109
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 126
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 143
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 160
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 177
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 194
	WARNING: The following dependant file(s) do not exist: "dl2_all.h" "fxchslib.h". Line: 211

Executing Hitachi OptLinker04 phase

"F:\fx9860g_sdk_100\software\OS\SH\bin\Optlnk.exe" -subcommand=C:\Users\ADMINI~1\AppData\Local\Temp\hmkFC50.tmp

** L2300 (E) Duplicate symbol "_AddIn_main" in "G:\aaaaaaaaa\a\Debug\Revolill.obj"

Optimizing Linkage Editor Abort

HMAKE MAKE UTILITY Ver. 1.1
Copyright (C) Hitachi Micro Systems Europe Ltd. 1998
Copyright (C) Hitachi Ltd. 1998 


	ERROR: Process failed with return code: 1
Build was not successful.

Then nothing happened! Can someone help me? :iwstupidl:



#2 TBit

TBit

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:Germany
  • Interests:C/C++, Assembly, Demoscene

  • Calculators:
    FX-9860 GII
    FX-9750 GII
    ClassPad 330 PLUS

Posted 08 March 2020 - 04:36 PM

Where is your function definition of AddIn_main? Is it in a single source file or a header? You have to make sure the symbol

is only exported from one object file.

I think it would help if you posted the contents of your Debug/*something*.map file, too.


Edited by TBit, 08 March 2020 - 04:42 PM.




Also tagged with one or more of these keywords: fx-9860G

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users