I'm trying to get into NDS Homebrew,
and have installed devkitPro and PALib, and linked it with Visual Express 2008.
But When I try to compile the Hello World example code that is automatically generated when you start a new NDS project, I get the following error:
1>------ Build started: Project: newtest, Configuration: Release Win32 ------
1>Performing Makefile project actions
1>Linking...
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x1c0): undefined reference to `__libnds_mpu_setup'
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x210): undefined reference to `initSystem'
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x21c): undefined reference to `__libnds_exit'
1>collect2: ld returned 1 exit status
1>make[1]: *** [/c/DSProjects/newtest/newtest/Release/newtest.elf] Error 1
1>make: *** [build] Error 2
1>Build log was saved at "file://c:\DSProjects\newtest\newtest\Release\BuildLog.htm"
1>newtest - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
so obviously something is missing or wrong in devkitPro, but can't figure out exactly what and how to fix it.
PAlib is not supported, you broke devkitARM by installing it.
The only advice we have is to uninstall devkitARM completely then reinstall without PAlib. Once you've done that you should ask questions on the devkitPro forums, the gbadev forums, or, if you prefer realtime answers then there's always the IRC channels
Avoid PAlib, PAlib users and PAlib tutorials at all costs.
Obviously something is missing or wrong from PAlib. devkitARM works perfectly fine for me. PAlib is old and very poorly written.
Related
I was following this guide: https://github.com/omichel/naoqisim/blob/master/README.md
I installed msys64 and Vistual Studio. In msys I proceeded with the pacman commands as stated in the installation guide, which in turn donwloaded a bunch of stuff.
Now the next step in the Github guide proceeds with the Build.
I executed the commands:
$ WEBOTS_HOME='/c/Program Files/Webots'
$ cd /c/Users/Pawel/Desktop/NAOqi/naoqisim-master
$ make
After it finished downloading I got this:
simulator-sdk-2.1.4 100%[===================>] 379.16M 346KB/s in 31m 31s
2019-02-07 23:11:10 (205 KB/s) - ‘simulator-sdk-2.1.4.1-win32-vs2010.zip’ saved [397574953/397574953]
# extracting simulator-sdk-2.1.4.1-win32-vs2010.zip
make[1]: unzip: Command not found
make[1]: *** [Makefile:63: simulator-sdk] Error 127
make: *** [Makefile:7: default] Error 2
It looks like you need to install unzip.
I don't know if this is resolved. But for whoever else may have the same problem. I have had similar problem installing naoqi and stuff. This Github was actually quite helpful (and now it finally works on webots, i mean naoqi is found at least).
https://github.com/sunzhida/COMP4461_2017Fall_Lab4
I'm customizing u-boot for beagle bone black. I cloned u-boot git and checkout to v2015.07. When I ran make command,
make CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
It shows error like this:
/u-boot((HEAD detached at v2015.07))$ make CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
scripts/kconfig/conf --silentoldconfig Kconfig CHK
include/config.h GEN include/autoconf.mk In file included from
./include/common.h:18: include/config.h:5:10: fatal error: configs/.h:
No such file or directory #include
^~~~~~~~~~~~ compilation terminated. scripts/Makefile.autoconf:72: recipe for target 'include/autoconf.mk'
failed make[1]: *** [include/autoconf.mk] Error 1
Did anyone get the same error like mine? Please help me solve this. Thank you in advance.
To build U-Boot you first have to create file .config:
make omap3_beagle_defconfig
The next step is to actually build U-Boot.
CROSS_COMPILE=arm-linux-gnueabihf- make
The current release of U-Boot is v2019.01 and compatible with GCC 6, 7, and 8.
I suggest you build a more current release than v2015.07.
I am new to opencv and i am trying to install opencv-3.0.0-beta on ubuntu 14.04. When running make command, I get an error at 54%.I followed the same steps mentioned in http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html. but I still get an error.
Below is the error message I'm getting.
/usr/bin/ld:
../../../3rdparty/ippicv/unpack/ippicv_lnx/lib/ia32/libippicv.a(jmp_ippiResizeGetBufferSize_16s_as.s.o):
relocation R_386_GOTOFF against undefined symbol
`ippicvJumpIndexForMergedLibs' can not be used when making a shared
object /usr/bin/ld: final link failed: Bad value collect2: error: ld
returned 1 exit status make[2]: * [lib/libopencv_imgproc.so.3.0.0]
Error 1 make1: [modules/imgproc/CMakeFiles/opencv_imgproc.dir/all]
Error 2 make: ** [all] Error 2
Please help in solving it.
Thanks
It looks like your IPP configuration bugs. If you don't need IPP, you might want to rerun the cmake command with this option WITH_IPP=OFF.
Further reading here about deactivate IPP and here to properly configure IPP.
I'm trying to compile a simple program (program.c) on micaz mote.
compile commands : make hello-world.elf TARGET=micaz
I have this message error :
make: *** no rule to make target 'program.elf'. stop
Process returned error code 2
I'm using InstantContiki2.6.1
Does someone know how to fix the problem ?
PS: I compile exemple programs in the exemple directory successfully.
Probably the problem is in your Makefile. It seems that the "CONTIKI" variable in the Makefile is not correct. Try to set CONTIKI=/home/user/contiki2.6 or CONTIKI=/home/user/contiki
Following this link. I am stuck in the last two steps during setting up my workstation.
As a compiler I use Code:Block MinGW; I have already generated the compiled opencv files, now I need to build the sln file in Windows. I use Code Block to build this OpenCV Project File in the path D:\OpenCV\Build\Opencv, where I put the generated bin file after using Cmake.
During the building, it stopped at 40%, saying;
Linking CXX executable ....\bin\opencv_perf_core.exe
c:/codeblock/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:
warning: auto-importing has been activated without
--enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from
auto-imported DLLs. Cannot export _ZN12_GLOBAL__N_13ROp3allEv: symbol
not found Cannot export _ZN12_GLOBAL__N_17CmpType3allEv: symbol not
found collect2: ld returned 1 exit status mingw32-make.exe[2]: *
[bin/opencv_perf_core.exe] Error 1 mingw32-make.exe1: *
[modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
mingw32-make.exe: * [all] Error 2 Info: resolving vtable for
cv::_OutputArray by linking to imp_ZTVN2cv12_OutputArrayE
(auto-import) Info: resolving vtable for cv::_InputArray by linking to
imp_ZTVN2cv11_InputArrayE (auto-import) Info: resolving vtable for cv::Exception by linking to imp_ZTVN2cv9ExceptionE (auto-import)
Creating library file: ....\bin\libopencv_perf_core.dll.a Process
terminated with status 2 (14 minutes, 29 seconds) 0 errors, 3 warnings
How can I solve this problem?
Unfortunately, there's not much you can do, according to http://code.opencv.org/issues/2523.
You will have to use a recent version of MinGW. It builds fine using the latest MinGW shipping with GCC 4.7.2.
This issue seems to have been introduced in OpenCV 2.4.3 as it is said version 2.4.2 builds fine.