PSP自作ソフト開発スレ ver.10
■ このスレッドは過去ログ倉庫に格納されています
0155名無しさん@お腹いっぱい。
2009/11/02(月) 10:46:21ID:w4Su3yOmint template_call(const char *str)
{
pspDebugScreenPrintf("str = %s\n",str);
return 0;
}
その中のtemplate_call関数を上記のように変更して生成したライブラリを
//他省略
#include "template.h"
int main(int argc, char* argv[])
{
SetupCallbacks();
pspDebugScreenInit();
pspDebugScreenClear();
test("Lib Link OK");
sceKernelExitGame();
return 0;
}
*Makefile
LIBDIR = ./生成したテストLibへの相対パス
という感じで使おうとしたのですが
>undefined reference to `template_call'
>collect2: ld returned 1 exit status
というエラーが出て正常にリンクされません
間違っている箇所を教えて下さい
■ このスレッドは過去ログ倉庫に格納されています