Companion 9x compile issues

A fork of eePe. It's aim is to provide one tool that works with ALL firmwares!
Post Reply
User avatar
Mechcondrid
Posts: 222
Joined: Fri Dec 30, 2011 3:53 am
Country: -
Location: ledyard, connecticut, United States
Contact:

Companion 9x compile issues

Post by Mechcondrid »

ok i'm trying to compile companion in VS10 and i'm getting the error below:

Error 8 error C2039: 'd_type' : is not a member of 'Open9xSky9x::simu::dirent' c:\users\mechcondrid\documents\magic briefcase\rc stuff\ersky\roms\companion9x\trunk\opentx\simpgmspace.cpp 504 1 companion9x
Error 9 error C2065: 'DT_DIR' : undeclared identifier c:\users\mechcondrid\documents\magic briefcase\rc stuff\ersky\roms\companion9x\trunk\opentx\simpgmspace.cpp 504 1 companion9x

any ideas?
is the error something to do with the current code or something i did or didnt do?

User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Companion 9x compile issues

Post by Kilrah »

Builds fine here. Did you add dirent.h to your VS install? (see comments on the visual studio build wiki page)
User avatar
Mechcondrid
Posts: 222
Joined: Fri Dec 30, 2011 3:53 am
Country: -
Location: ledyard, connecticut, United States
Contact:

Re: Companion 9x compile issues

Post by Mechcondrid »

yes its there, i also tried to put it in the src directory but i get the same error
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: Companion 9x compile issues

Post by ReSt »

r1907 builds fine for me too.

Only thing is I'm always getting a bunch of warnings, no errors.

unsafe mix of type uint8_t with type bool
macro redefinition of macro....


Reinhard
User avatar
Mechcondrid
Posts: 222
Joined: Fri Dec 30, 2011 3:53 am
Country: -
Location: ledyard, connecticut, United States
Contact:

Re: Companion 9x compile issues

Post by Mechcondrid »

ok i just figured out i have to have it in the src and having the right version of dirent would indeed help lol

User avatar
Mechcondrid
Posts: 222
Joined: Fri Dec 30, 2011 3:53 am
Country: -
Location: ledyard, connecticut, United States
Contact:

Re: Companion 9x compile issues

Post by Mechcondrid »

ok now its says it cant access the CL.read.1.tlog file and it wont let me delete or change owner of the file either
User avatar
Mechcondrid
Posts: 222
Joined: Fri Dec 30, 2011 3:53 am
Country: -
Location: ledyard, connecticut, United States
Contact:

Re: Companion 9x compile issues

Post by Mechcondrid »

ok just rebooted and now the file is readable, man that was weird
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Companion 9x compile issues

Post by Romolo »

a compile process was still running in the background..
compilation under win may be very very long
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: Companion 9x compile issues

Post by ReSt »

around 40 minutes on a 3Ghz system

Reinhard
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Companion 9x compile issues

Post by jhsa »

:o?? So, I guess it would take about a week on the computer I'm using at the moment.. PIII 450Mhz :D

Joao
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Companion 9x compile issues

Post by Romolo »

Well on my one with 8GB ram and 4 cores it takes 15 minutes from scratch vs 2.8min on linux...
Wonder why I mainly develop under linux... :)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Companion 9x compile issues

Post by jhsa »

Now you're showing off.. ;) :mrgreen:
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “companion9x”