06-04-2012 02:55 AM - edited 06-04-2012 03:01 AM
Hi,
I followed the steps which is describe in this link to import a c/c++ project.
but it gives me this error :
make: *** [all] Error 2 solver C/C++ Problem
make[1]: *** [all] Error 2 solver C/C++ Problem
make[2]: *** [C:/BB10/solver/x86/o-g/solver] Error 1 solver C/C++ Problem
i import the sudoku game which is written in c.c++.
When i create empty application using c/Makefile build it gives me above 3 errors. So after this i think it is not a project related error it is something missing in IDE or i missed some steps to import the project.
Solved! Go to Solution.
06-05-2012 05:30 PM
Hey Meghasanghvi,
If I build an empty project I still need to add a main.cpp, with a main funciton, or else I get similar errors. Not sure if this is the cause of your problem, but that step isn't mentioned in the documentation.
06-06-2012 12:50 AM
Hi,
Thanks for your reply. When i download the project from net which have main.cpp with a main function but still i get this error.
And i also tried to make a empty application with main.cpp added which have a main function included into that.
Then also it gives this error.
06-06-2012 10:05 AM
Hey Meghasanghvi,
Which ndk are you trying to build with? If you could attach the simple project that isn't building I can try to get more information for you.
Tim
06-08-2012 04:46 PM
hey Meghasanghvi,
Any luck getting your application building?
06-11-2012 03:26 AM
Hi timvito,
I am using installer-bbndk-BB10_0_04-win32-186-201204250810-2
06-11-2012 04:50 PM
hey Meghasanghvi,
Are you able to import and build any of the BB10 sample apps https://developer.blackberry.com/cascades/sampleap
06-12-2012 12:30 AM
Hi timto,
I am successfully import the cascade sample which is provided by blackberry. But when i tried to import exsitting c/c++ application which i download from the internet.
Thanks,
Megha
06-12-2012 01:41 AM
Hi timto,
I attach the zip folder of application which i downloaded from the net.
Please help me on this regards,
Megha
06-12-2012 03:13 PM
Hey Megha,
I took a look at the code you posted and it seems to be a bunch of small sample programs, many of which have hard coded paths to other source files, as well as very old coding conventions. Is there something specific you want from these files, or are you just looking to import some code? If you are just attempting an exercise in importing code, you may want to consider a more recent sample. If there is a sample in the code you sent that you are interested in, you will have to prune the files so the project just contains the ones required since just about every file contains its own main function.
Tim